agentleFS
donmikdonmik/agent-toolkit/skills/review-ready/SKILL.md

review-ready

Skill1 starsChanged 3 months agoUnlicenseView on GitHub

Finish an agentic coding session in a human-reviewable state. Use at the end of any coding task, before handing off a PR, or when the user wants a compact review packet: what changed, why, what to read first, risks, human decisions, feature proof, and validation. Produces a short review card plus an audit appendix; keeps feature reports proof-only.

The file

Show its rules and text

We split this skill into the rules it gives an agent

25 rules. About 0 are common, 17 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this skill as the final handoff step for every agentic coding session that changes code.

    line 12
  2. Very specific:

    If any required item is missing, do not claim the work is review-ready.

    line 28
  3. Distinctive:

    Create this structure in the project workspace:

    line 32
  4. Very specific:

    Keep the packet ephemeral.

    line 40
  5. Distinctive:

    Use the available local project state and PR metadata:

    line 46
  6. Distinctive:

    Do not paste huge logs into the review card.

    line 57
  7. Distinctive:

    Only when truly low-risk:

    line 85
  8. Very specific:

    If a file could be security- or contract-sensitive, put it in Read first.

    line 92
  9. Distinctive:

    Use one risk label:

    line 96
  10. Distinctive:

    Add one sentence explaining the rating.

    line 103
  11. Very specific:

    If none are found, write None identified.

    line 119
  12. Distinctive:

    Do not include raw subagent transcripts.

    line 178
  13. Distinctive:

    Do not include long command output.

    line 179
  14. Distinctive:

    Do not include the full developer prompt.

    line 180
  15. Distinctive:

    Do not describe every changed line.

    line 181
  16. Distinctive:

    Prefer concrete file paths and behavior over vague summaries.

    line 182
  17. Distinctive:

    If the card is too long, rewrite it shorter before finalizing.

    line 183
  18. Distinctive:

    If a GitHub PR exists:

    line 228
  19. Very specific:

    Always write the body to a project-local temporary file first, then use gh pr edit --body-file <path> or gh pr comment --body-file <path>.

    line 232
  20. Very specific:

    Never pass multi-line Markdown directly to --body.

    line 233
  21. Distinctive:

    Do not merge, close the PR, or close issues unless the current user request explicitly authorizes it.

    line 234
  22. Distinctive:

    If no PR exists, create one only when the current task or prompt asks for PR preparation.

    line 236
  23. Very specific:

    If tmp/feature-reports/<feature-slug>/report.html exists, open it for the user immediately before the final handoff:

    line 240
  24. Very specific:

    Use the actual project-local report path and quote it.

    line 246
  25. Distinctive:

    Do not put audit logs, QA transcripts, developer prompts, or pipeline timelines into the feature report.

    line 252

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Review Ready

Purpose

Make the completed coding session easy for a tired human maintainer to review. The output is not a diary of agent activity. It is a decision surface: what changed, why it changed, what to inspect first, what can be skimmed, and where human judgment is needed.

Use this skill as the final handoff step for every agentic coding session that changes code.

Definition of review-ready

A session is review-ready only when all of these are true, or explicitly marked blocked:

  • An open PR exists when the project uses GitHub PRs, and it is not merged.
  • The PR body or a PR comment contains the review card, posted with gh --body-file rather than an inline multi-line body.
  • A digestible feature report exists when behavior changed: tmp/feature-reports/<feature-slug>/report.html.
  • The feature report demonstrates the behavior itself with fake/fixture data; tests/lint are secondary.
  • A review packet exists: tmp/review-packets/<feature-slug>/review-card.md and tmp/review-packets/<feature-slug>/audit.md.
  • Changed files are grouped into Read first, Skim, and Usually safe to ignore.
  • Human input needed is explicit, even if the answer is None identified.
  • Main risks and validation status are explicit.
  • Temporary report artifacts are not committed unless the user explicitly asks.

If any required item is missing, do not claim the work is review-ready. Set status to Blocked or Needs user input and say what is missing.

Required artifacts

Create this structure in the project workspace:

tmp/review-packets/<feature-slug>/
  review-card.md
  audit.md

Keep the packet ephemeral. Do not commit it unless asked. Preserve tmp/review-packets/<feature-slug>/ and tmp/feature-reports/<feature-slug>/; clean up unrelated temporary files you created.

Workflow

1. Gather inputs

Use the available local project state and PR metadata:

  • Issue URL(s), PR URL, branch, commit range.
  • git status --short.
  • git diff --stat and changed file names/statuses.
  • PR body/comments and CI status when available.
  • Feature report path and headline proof.
  • Validation commands and outcomes.
  • QA/reviewer findings, if subagents ran.
  • Acceptance criteria from the issue or prompt.

Do not paste huge logs into the review card. Store long logs separately only when they are useful for audit.

2. Classify review surface

Group changed files by review priority:

Read first

Files that can change behavior, contracts, data, security, or architecture:

  • Core logic.
  • Public API/routes/commands.
  • Auth, permissions, secrets, billing, payments, data access.
  • Database schemas, migrations, persistence models.
  • Concurrency, queues, retries, caching, background work.
  • Configuration that changes runtime behavior.

Skim

Supporting files that are useful but usually lower risk:

  • Tests that encode acceptance criteria.
  • Types/interfaces that mirror core behavior.
  • Fixtures and small wiring changes.
  • Documentation that explains the change.

Usually safe to ignore

Only when truly low-risk:

  • Generated artifacts.
  • Lockfiles with no dependency changes relevant to the task.
  • Formatting-only files.
  • Snapshot churn, if the reason is explained.

If a file could be security- or contract-sensitive, put it in Read first.

3. Score risk

Use one risk label:

  • Critical — possible security breach, data loss, outage, irreversible migration, or broken auth/payment path.
  • High — public contract change, schema/data model change, broad refactor, concurrency/retry behavior, or large unreviewed surface.
  • Medium — normal feature/bug fix with contained surface but meaningful behavior change.
  • Low — small isolated change with direct proof and focused tests.

Add one sentence explaining the rating.

4. Identify human input needed

Explicitly call out decisions the user may need to make:

  • Product behavior or UX copy.
  • API/CLI contract choices.
  • Feature flag or rollout strategy.
  • Security/privacy tradeoffs.
  • Performance/cost tradeoffs.
  • Data migration/backfill decisions.
  • Ambiguous acceptance criteria.
  • Deferred warnings or suggestions.
  • Missing environment, URL, credentials, or fixtures.

If none are found, write None identified.

5. Create the review card

review-card.md is the artifact the human reads first. Keep it compact: target 30 lines, hard maximum 50 lines. The acceptance-trace table is collapsible (<details>) and does not count against the limit. Put the TL;DR first so the human gets the verdict in one line.

Use this template:

# Review Card: FEATURE_TITLE

TL;DR: ONE_SENTENCE_VERDICT + the 1-3 items that need human attention.

Status: Ready for human review / Needs user input / Blocked
Risk: Low / Medium / High / Critical — ONE_SENTENCE_REASON
PR: PR_URL_OR_NOT_CREATED
Issue: ISSUE_URL_OR_NA
Feature report: tmp/feature-reports/<feature-slug>/report.html

## What changed
- USER_VISIBLE_OR_BEHAVIORAL_CHANGE_1
- USER_VISIBLE_OR_BEHAVIORAL_CHANGE_2
- TEST_OR_DOC_CHANGE_IF_IMPORTANT

## Why
ONE_TO_THREE_SENTENCES_MAX explaining the problem, acceptance criteria, and chosen approach.

<details>
<summary>Acceptance trace</summary>

| Acceptance / requirement | Where to review | Proof / validation |
| --- | --- | --- |
| REQUIREMENT | `path/file` | DEMO_OR_TEST |

</details>

## Read first
1. `path/file` — why this matters
2. `path/file` — why this matters

## Skim
- `path/file` — why

## Usually safe to ignore
- `path/file` — why

## Human input needed
- DECISION_OR_CONFIRMATION_NEEDED, or `None identified`.

## Main risks
- RISK_OR_EDGE_CASE
- RISK_OR_EDGE_CASE

## Validation
- `command` — passed/failed/not run; one-line reason

Rules:

  • Do not include raw subagent transcripts.
  • Do not include long command output.
  • Do not include the full developer prompt.
  • Do not describe every changed line.
  • Prefer concrete file paths and behavior over vague summaries.
  • If the card is too long, rewrite it shorter before finalizing.

6. Create the audit appendix

audit.md is allowed to be longer, but should still be structured for scanning. Use it for traceability, not as the primary handoff.

Include:

# Review Audit: FEATURE_TITLE

## Links
- PR:
- Issue(s):
- Feature report:

## Change inventory
- `git diff --stat`
- Changed files with one-line purpose each

## Full validation
- Commands run
- Results
- Relevant failures and whether fixed/deferred

## QA / reviewer loop
- Iteration summaries
- Findings fixed
- Findings deferred with justification

## Decisions and tradeoffs
- What was chosen and why
- User decisions still needed

## Developer prompt / task framing
- Link or concise pasted prompt only if useful
- Avoid dumping huge prompts unless necessary for audit

## Notes and limitations
- Known caveats
- Follow-up work

7. Publish to the PR when possible

If a GitHub PR exists:

  1. Post the review card as a SINGLE comment titled Review Card. Keep the PR body as the short template (TL;DR + Summary + test evidence) — do NOT paste the review card into the PR body.
  2. Post the card ONCE. On later iterations, do NOT re-post the full card; post a short delta comment (what changed since the last card) instead, or edit the existing card comment.
  3. Always write the body to a project-local temporary file first, then use gh pr edit --body-file <path> or gh pr comment --body-file <path>.
  4. Never pass multi-line Markdown directly to --body.
  5. Do not merge, close the PR, or close issues unless the current user request explicitly authorizes it.

If no PR exists, create one only when the current task or prompt asks for PR preparation. Otherwise, leave the packet and state that PR creation is pending.

8. Open the feature report

If tmp/feature-reports/<feature-slug>/report.html exists, open it for the user immediately before the final handoff:

open "tmp/feature-reports/<feature-slug>/report.html"

Use the actual project-local report path and quote it. If open is unavailable or fails, do not change the review-ready status solely because of that; note the failure in the final handoff.

Relationship to feature-report

feature-report proves the behavior. review-ready compresses the session for human review.

Do not put audit logs, QA transcripts, developer prompts, or pipeline timelines into the feature report. Link from the review card/audit appendix to the feature report instead.

Final response format

End with a short handoff:

Review-ready status: Ready / Needs input / Blocked
PR: <url or not created>
Review card: tmp/review-packets/<feature-slug>/review-card.md
Feature report: tmp/feature-reports/<feature-slug>/report.html
Opened feature report: yes/no, with note if `open` failed
Read first: <2-4 key files>
Human input needed: <one-line summary>
Not merged.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.