ain3sh/.agents/post-review
Claude Code and agent skill by ain3sh/.agents
- community
Checking that the SKILL.md file is still in the repository.
Publish approved PR findings as inline comments and a review verdict.
Install
npx vskill@latest install ain3sh/.agents/post-reviewSKILL.md
The same SKILL.md was published earlier as ain3sh/.agents/post-review.
Post Review
The posting half of the review workflow. Findings come from an upstream /review-pr (typical) or fresh paste. Publish only in §5: §2–§4 reconcile, draft, and check the whole payload first.
Act
Usage: /post-review [<PR-number-or-URL>] [for-dummies]. for-dummies phrases each thread so a literal fixer cannot miss its invariant (§3).
Default (/post-review <PR> alone): post the full approved review, every live finding at its approved tier (gating follows tier) plus a verdict that names every blocker, reconciled against the whole ledger (./.agents/review.md and all of ./.agents/review.notes.md) before the first write. Use trailing text as instructions or pasted findings; only explicit subset selection narrows the default.
Load skills: pr-context, voice, show-me. voice is required here: use its severity taxonomy and craft rules for every posted body instead of rephrasing approved findings into generic review-speak.
Then follow §1–§6 in order.
1. Resolve PR Identity
Resolve the PR and REPO from the supplied ref or current review context via pr-context. Ask for the PR ref via AskUser if neither is available. Fetch the live PR head as HEAD_SHA, even when context already holds a SHA.
2. Reconcile the Findings
Default scope. /post-review <PR> publishes the full final review at its approved tiers, plus the verdict. Invoking it after the final presentation is explicit confirmation; do not ask again. Trailing text supplies instructions or pasted findings; only an explicit subset narrows the default.
Read the ledger whole, first. Before drafting anything, read ./.agents/review.md and every chunk of ./.agents/review.notes.md start to end (layout in the review-pr skill's references/systems/dossier.md) -- not the tail, not a search, not a summary. Verify both belong to the target repo and PR; a mismatched or missing ledger is a gap, not permission to use chat memory. Skip only for pasted findings with no upstream review session: use that list for the same per-finding coverage check without inventing a ledger.
Build the coverage table for every F<id> appearing in either file, including notes-only findings. It is a temporary view over existing state, never a new file, dossier field, or status:
| Column | Source | |
|---|---|---|
F<id>, current tier, status | reconcile the dossier with the full event history for that id | |
| user decision | latest explicit approval, drop, rewording, retier, scope, or verdict choice | |
| prior thread | comment id when an earlier pass already posted it | |
| outgoing body | the draft's inline thread, thread reply, or verdict passage carrying it (§3); otherwise the exclusion reason |
Reconciliation rules:
- Live =
confirmedand approved at the gate.killed,folded→Fn, user-dropped, and superseded findings stay out; a well-argued notes entry is not a reason to resurrect one. - Explicit user decisions win. Apply the latest instruction, including this invocation, over earlier decisions; record new decisions using the existing
gate/retiernotes events. Chat memory is not a competing source. - Approved means presented. The gate approved the findings shown to the user, never
candidateentries that stayed in the notes. Aconfirmedfinding the presentation omitted is a conflict (below), not a bonus post. - Already posted (
postedstatus / thread id) is never sent again. If it still gates (statusresolvedordeferredmeans it doesn't), the verdict names it and links the thread; if follow-up reclassified it, it gets a thread reply (§5). - Grouping keeps every claim. One comment may carry several findings; each independent claim and ask survives the merge.
- Tier fixes gating, and both are fixed here. Gating follows voice (the tier, plus its rejected-decline exception), so changing whether a finding gates means a
retierat the gate. Never recast a gating finding as optional or fast-follow to soften or shorten. - Stale substance is not reposted as fresh. A current head (§1) that differs from the dossier's
reviewed_head, or materially new evidence, sends the finding back through/review-prfollow-up for revalidation and re-approval. This step never rewrites substance. - Gaps block publication. Missing evidence, missing approval, or a genuine unresolved conflict requires one plain-chat decision message naming the gap, in AGENTS.md's decision shape. Resume only after resolution or explicit user scope reduction; never silently post a subset or ask again about settled approval.
Each live finding needs a voice severity (do not invent or remap tiers), body prose, and a destination. Inline comments need a file path and line(s), optionally a replacement snippet. Every finding with a changed line to sit on gets its own thread, a broad one on its most representative line (voice); only a finding with no anchor in the diff lives in the verdict alone, and a verdict mention never substitutes for a thread. Pasted findings need the same information; missing or ambiguous material follows the gap rule above.
Full means final. Post each finding whole: claim, mechanism and impact, the evidence that backs it, the required action, and any remaining uncertainty. Not the raw candidates, not the investigation diary behind them.
3. Draft Every Body
Bodies are written at the review-pr approval gate into ./.agents/review.draft.md (layout in its references/systems/dossier.md) under this section, and the user approves that text. At post time, post the draft as written. Change it only for a user instruction given after approval or a §4 gap, editing the draft first and telling the user what changed. With no draft (pasted findings), draft here under the same rules.
Plain comment vs. suggestion block
Decided while drafting, after the findings are settled, so review judgment is never biased toward apply-clickable issues.
Attach a suggestion block only when all hold:
- Fix is small (~1-5 lines), mechanical, unambiguous -- no naming/ordering/design judgment.
- Local: no ripple edits to imports, types, or other regions.
- Targeted lines lie inside the PR's diff hunks (GitHub only renders Apply on changed/adjacent regions).
- Indentation matches the file (tabs vs spaces).
Otherwise post the prose as a plain comment. Don't downgrade severity because a suggestion isn't attachable.
for-dummies threads
A phrasing gate for each thread, for an author (often an agent) that answers a comment's words rather than its invariant. It changes how a thread is written and nothing else in the review. Each thread states, plainly and in order:
- Invariant: what must hold, as behavior, in one sentence.
- Fix: the owning locus and the change there, and what must not appear in the fix (a new helper, retry, flag, or branch, or a second path beside the one named).
- Verification test, on a gating thread whose invariant a test can state: complete code under its exact path, built on that file's fixtures, asserting through the production entry point so a fix of only the cited case fails. Include it only after it fails on
HEAD_SHAat the finding's assertion (worktree-setup for dependencies; an untracked file deleted afterwards, per review-pr'sreferences/systems/workers.md), quote the failure line, and end with "Add this test unedited; done means it passes." Without a test, name the sibling case a correct fix must also cover.
Verdict body
The verdict body is the standalone judgment from the review-pr skill's references/workflows/first-pass.md §6 (an @author ruling paragraph, then ## Architecture, a ## section per remaining gating area with continuously numbered asks, ## Non-gating, and unanchored pre-existing defects, with evidence woven into the claims it backs) -- not a recap of the threads you post; GitHub renders those inline. If the upstream handoff omitted one, draft it against that structure -- don't fall back to "Posted N comments on X, Y, Z."
Views appear only where they carry part of the ruling (first-pass §6, "Views"); a verdict with none is complete. Each is one polished uploaded image (show-me surfaces, Image). A drop, retier, or rewording made after the gate only removes or re-marks the view's affected nodes and edges, and a view left carrying nothing is cut.
It names every still-gating finding, numbered, each with its concrete ask, including linked threads for already-posted blockers. There is no count limit. The GitHub event (§5) does not make these asks optional.
Deslop pass -- mandatory, before the draft is presented
The user approves the prose as well as the findings, so cut before presenting, never after. Re-read every body against voice and cut wholesale:
- Event-token prefix: a verdict opening with "COMMENT." / "APPROVE." duplicates the badge GitHub renders from
event; start with the why sentence instead. - Internal deliberation: the approval-gate chat never leaks. Draft history, severity re-calibrations, "my earlier draft over-weighted X", what the user reworded or dropped -- the PR author sees none of that conversation and must not learn it existed. Post the final position as if it were the only one you ever held.
- Persuasion on standard asks: blockers that are ordinary due diligence (test coverage, ticket reference, meeting a CI gate) are flat imperative requirements with their concrete mechanism -- never hedged, argued for, or defended against imagined pushback ("worth satisfying rather than labeling away", "the gate is genuinely red"). The real-vs-flake triage call stays as a stated fact backing the disposition, not woven into the ask as a plea. Asking for standard protocol needs no apology; spend justification only on genuinely discretionary calls.
- Command narration: the CLI invocations, tool names, and worker dispatches behind a probe (
gh run view, vitest flags,slop-scan delta, typechecker choice). Report the observed fact -- "the new tests fail on base for the stated reason" -- never the transcript that produced it. How you learned something is your business; what's true is the review. - Methodology paragraphs: "Checks run:", "Also verified:", CI pass counts, sweep inventories. If a probe backs a claim, it's already inline in that claim; standalone it's an essay about your process.
- Fast-follow / "worth a ticket" framing: pre-existing defects are findings with their own threads (review-pr's
references/workflows/first-pass.md§6); cut any "worth a ticket", "fast-follow", or "separate PR" framing around them. - Decorative views: cut a view that restates an ask or a line comment, or carries no part of the ruling (review-pr's
references/workflows/first-pass.md§6, "Views"); if that leaves none, post without one.
This applies to line-comment bodies too: findings state the defect and the fix, never the commands run to find it.
Deslop removes ceremony, not substance. It never changes a tier or a claim; a body that reads shorter because a mechanism, caveat, or ask vanished fails §4.
Lead with the ruling and gate in the first two sentences; use the remaining space needed for the complete review.
4. Coverage Check Before the First Write
Before any external write, walk the §2 coverage table against the draft:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/post-review/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ain3sh/.agents/post-review)