Buckets:
Public Posts — preview before sending
Companion to release-review. That rule covers the release page; this one covers the rest of the same family: anything that posts text to a third-party surface other humans will read.
The rule
Quote the draft body in chat and wait for explicit approval before invoking any command that posts to a public surface. The user's authorisation to do the post ("comment on #4", "open a PR", "draft the release") is not authorisation to send the specific words you came up with — those they still need to see and approve.
Applies to (non-exhaustive):
gh issue comment,gh issue create,gh issue editgh pr comment,gh pr create,gh pr edit(title and body)gh release create,gh release edit(covered also by release-review)- Slack / Discord / email sends
- Any MCP tool that publishes a comment / message / canvas to an external service (Asana, Notion, Linear, Jira, etc.)
Does not apply to:
- Local git operations (
git commit,git tag) — commit messages are reviewable in the diff before push, and the user authorises the push separately. git pushitself — that's covered by the push-preflight skill and per-task authorisation.- Reading public surfaces (
gh issue view,gh pr checks, etc.). - Replies on an automated reviewer's threads (an AI code-review bot's findings) on a PR you are working on, when the reply answers the finding with evidence — e.g. "Not applicable: this repo has no test suite; verified manually, see Testing." These are the PR's working record, addressed to a bot, and a review-triage or CI-autofix flow depends on them. They must stay factual and scoped to the finding. Threads started by humans, and anything on someone else's PR, still need the preview.
Why
A comment, PR description, or release note is a one-way visibility commitment. Once sent it shows up in someone else's notifications, gets indexed by search engines, and stays in the project's history. Editing it later leaves a visible "edited" marker; deleting it leaves a gap.
The cost of pausing to surface the draft is one extra message. The cost of sending the wrong tone, a misattribution, a stale claim, or a typo to a third party is real and not fully reversible.
The failure it prevents is common: a post authorised in concept ("reply to that issue") goes out with wording the user never saw.
How to apply
- Compose the post in chat as a quoted block (the exact body that would be sent, verbatim — not paraphrased).
- Name the command that would send it (
gh issue comment 4 ...,gh pr create ..., etc.). - Wait for explicit approval ("yes", "send it", "looks good", an edit request, etc.). Silence is not approval.
- If the user edits, apply the edit and re-surface — don't ship a guess.
- Only then run the send command.
When to bend the rule
If the user has already pasted the exact body they want sent, or said something like "post this verbatim" / "ship it as-is" / "send my words", the approval is in-band — proceed.
If the post is a trivial mechanical action with no author voice (e.g.
gh pr edit --add-label ready, gh issue close), no preview needed.
The rule is about text Claude wrote hitting a public surface.
Cross-reference
~/.claude/rules/release-review.md— the release-creation specific half of this pattern~/.claude/skills/push-preflight/SKILL.md— pre-push gate (different concern: secrets / forbidden files, not message review)
Xet Storage Details
- Size:
- 3.56 kB
- Xet hash:
- 4348c31671e417558d5e1ac822138e356ae9e54c633eb6c5dc4c946eff65267d
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.