agentleFS
drafthqdrafthq/draft/skills/assist-review/SKILL.md

assist-review

Skill40 starsChanged 4 months agoMITView on GitHub

Reviewing someone else's PR for handoff/sign-off. Isolates structural changes from trivial edits, flags HLD/LLD drift and guardrail violations, points the reviewer at what to scrutinize. Use when prepping to review another engineer's work — NOT for first-pass self-review (use review / quick-review).

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Instead of a traditional bug hunt, generate an executive summary containing a Risk Assessment.

    line 31
  2. Very specific:

    Verify if any pattern implemented violates the draft/guardrails.md learned anti-patterns.

    line 37
  3. Very specific:

    Verify the diff is consistent with hld.md/lld.md commitments.

    line 38
  4. Very specific:

    If so, specifically direct the human reviewer to veto the change unless an ADR is created via /draft:adr.

    line 39

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Draft Assist Review: Human-in-the-Loop Gateway

Help human reviewers effectively review an executed track without shifting the entire cognitive burden onto them.

Red Flags - STOP if you're

  • Conducting standard unit tests; use /draft:review for that.
  • Fixing code rather than explaining logic and risk profiles to the human.
  • Reviewing output without first summarizing the source spec.md intent.

Workflow Constraints

  1. Context Extraction:
    • Load the track's spec.md and plan.md.
    • Load the track's hld.md and lld.md if present — extract Key Design Decisions, Alternatives Considered, and (LLD) class invariants and error policies.
    • Re-summarize the Intent of what this track was supposed to achieve in exactly two sentences.
  2. Blast Radius Isolation:
    • Scan the git diff generated by the target track.
    • Separate trivial edits (naming, routing adjustments, formatting) from Structural Edits (schema updates, concurrency alterations, middleware auth changes, API surface changes).
    • Present structural edits first — these are where review time should be spent.
  3. Generate the Human Helper Guide:
    • Instead of a traditional bug hunt, generate an executive summary containing a Risk Assessment.
    • For each structural edit, cite the originating decision: "I chose [Pattern] for [File/Function] because hld.md §Key Design Decisions / Alternatives Considered selected it over [rejected alternative]. You should specifically scrutinize lines X–Y because they touch [global state / auth boundary / shared schema]." Fall back to architecture.md only when no HLD exists.
    • Highlight any code that violates an LLD §Classes and Interfaces invariant (thread safety, idempotency, ordering) or contradicts an HLD §Checklist claim (e.g., "code introduces a new shared mutex but HLD declared single-writer").
    • Highlight any code that touches shared state, auth boundaries, data persistence, or concurrency.
  4. Knowledge Base Verification:
    • Verify if any pattern implemented violates the draft/guardrails.md learned anti-patterns.
    • Verify the diff is consistent with hld.md/lld.md commitments. If the diff makes structural changes not reflected in HLD §Detailed Design or LLD §Classes/Interfaces: flag for the reviewer that HLD/LLD must be amended (/draft:change) before merge.
    • If so, specifically direct the human reviewer to veto the change unless an ADR is created via /draft:adr.
  5. Output Format:
    • Track Intent (2 sentences)
    • HLD/LLD Decision Trace (per structural edit: which §Key Design Decision or §Alternatives Considered row drove this code; or "no HLD justification — reviewer must request one")
    • Structural Edits (table: file, change type, risk level, review guidance)
    • Trivial Edits (collapsed list — skim only)
    • HLD/LLD Drift (diff makes claims that HLD/LLD does not document — recommend /draft:change)
    • Guardrail Violations (if any — with ADR recommendation)
    • Suggested Review Order (which files to review first, based on blast radius)

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.