Pull request ยท @htmlbin/cli

PR #6: ci: add PR explainer workflow (dogfoods @htmlbin/cli cloud + --upsert)

Base main ← HEAD 2 commits 1 file changed, +152 / −0

What changes

Adds one new file: .github/workflows/pr-explainer.yml. No source, no tests, no docs touched. The workflow runs on every pull_request event (opened, synchronize, reopened, closed) and does two things:

Why

Two motivations in one workflow. First, product dogfooding: this repo's own CI now exercises the --upsert + --metadata path that examples/cloud-upsert-workflow.yml teaches users to copy. Bugs in the agent-idempotent bridge surface on this repo's PRs before users hit them.

Second, reviewer ergonomics: PR diffs in a CLI tool are often small but consequential (a flag rename, a new error code, a backend boundary tweak). The explainer gives a 30-second read of what the PR means, hosted at a stable URL that updates in place across pushes.

Public surface impact

SurfaceImpact
CLI flagsnone Uses already-shipped flags only: publish --upsert --metadata, --title, --output json, list --metadata, delete <slug>.
Verbsnone No new verb; no change to publish / update / list / delete semantics.
Error codesnone src/errors.ts untouched.
Backend interfacenone src/backend.ts and all src/backends/* untouched.
Package contentsnone .github/ is excluded from the npm tarball; this does not ship to users.
Breaking change?no CI-only addition.
New repo secretsaction needed Requires HTMLBIN_TOKEN and ANTHROPIC_API_KEY to be set on the repository for the workflow to run.

What to look at carefully

Diff at a glance

+ .github/workflows/pr-explainer.yml  152 lines added
  (no other files changed)