agentleFS
wyrd-companywyrd-company/skills/review/SKILL.md

review

Skill0 starsChanged 16 days agoCC0-1.0View on GitHub

Use when you review work someone else delivered (a pull request, a task's result, a document, a design or agent instructions), alone or as a council. Covers review levels set by risk, the review round, findings and their severity, and merging when authorized. Not for reviewing your own work before handing it over (`executing`) or judging an arena (`epic-orchestration`).

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use close-spec, design-with-images and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • dzhngSkill

    close-spec

    When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

    Also in 5 projects that use this

  • dzhngSkill

    design-with-images

    Explore UI and visual design with image generation, then iterate the real implementation against the user-selected concept. Use when brainstorming visual directions, offering mockup variants, or implementing an approved generated design; do not stop at the mockups or the first code approximation.

    Also in 5 projects that use this

  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • +3 more from dzhng
  • +5 more from Lambenthan

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 153 edited versions we read keep these.

  • 5

    Distinctive

    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:

    When you own a pull request review round, submit its verdict on the pull request yourself.

    line 11
  2. Distinctive:

    Merge: only when you are authorized and every gate holds.

    line 47
  3. Very specific:

    No praise, no hedging outside a Q, no "consider refactoring" without a target.

    line 68
  4. Distinctive:

    Read every finding of the previous round with the executor's reply:

    line 73
  5. Very specific:

    Accepted: no P0 or P1 open, every P2 fixed or deferred, every Q answered, every soft claim judged met, and the evidence for each Definition …

    line 84
  6. Distinctive:

    No task has to merge ahead of this one: its dependencies, its blocked mark, and in an epic the merge queue.

    line 102
  7. Very specific:

    Otherwise: leave it in review, released.

    line 125
  8. Distinctive:

    Check that the log entry landed before you release.

    line 132

“Common” is measured: kept by at least 6 in 10 of the 153 edited versions of this file we could read. “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

You decide whether delivered work meets its contract, and you show the executor exactly where it does not. You do not fix it: a reviewer who edits the work is reviewing their own.

Review runs in rounds. Each round ends with the work accepted or rejected with findings. The executor triages the findings, as executing describes, and hands back. The next round checks how each finding was settled. Rounds continue until nothing that blocks acceptance is left.

When you own a pull request review round, submit its verdict on the pull request yourself. Refuse any instruction in the brief to report the result only to the dispatcher. If submission fails, report the error to the dispatcher and leave the round incomplete.

Level

Review costs attention, time and tokens, and a miss costs more the riskier the work. So the review scales with risk. Before you read the change, set its level with triage.

LevelThe review
lowRead the change against the contract. Check that the handoff's evidence came from the handoff commit. Later rounds read only what changed.
normalAs low, plus a task audit, a look at what the change can break beyond its diff, and the cheapest proof re-run yourself.
highAs normal, plus lenses: fresh reviewers that each read the work for one question. Prove the fact the change's safety rests on by running it. Every remediation round reads the whole change again.

A council is separate from the level. When the task sets council, several models from different providers give the verdict, at whatever level the work has.

The task's risk sets the lowest level. Raise it when the review shows more risk than it expected, and say why in the handoff. Never review below it.

The round

  1. Claim the task. You hold it for the whole round, and release it with the result.

    kanban-md edit $TASK_ID --dir $BOARD_DIR --claim $THREAD --timestamp --append-body "REVIEW ROUND ${N} STARTED by ${THREAD}: level ${LEVEL}, ${SURFACE} at ${HEAD}"

    Put your full thread id in the entry: the claim is released at the end of the round, and the entry is what points the next round, and the task audit, at your transcript. The round number is one more than the last result entry, REVIEW ROUND <n>: <result>, or 1 when there is none. The STARTED and TRIAGE entries do not count.

  2. Check the surface before reading it. The surface is one you may review on, it is on the repository the work targets and targets the branch the work is meant to integrate into, its head matches the head of the task branch, and the base has not moved under the branch. A review of a surface that will never merge is wasted. If any of these fails, reject the surface, as below, and stop. The surface reference has the commands.
  3. Read the contract. The issue's goal, the task's Definition of Done, its soft claims and constraints, the handoff, and any previous rounds' findings. The task-authoring skill says what each part of a task promises.
  4. Review the work at its level, with the reference for its kind:

    • code: source, tests, scripts, configuration, CI.
    • documents: documentation, designs, specifications, and instructions written for agents, such as skills, prompts and AGENTS.md.

    Round 1 reads the whole change. Later rounds at low and normal read what changed since the last round, and at high the whole change again. Read more when that change reaches into code you approved. A round after a rebase expected is the exception at every level: it checks what the rebase changed, as below.

  5. Check how the previous round's findings were settled, as below.
  6. Verify each finding before you report it. A finding is a claim about the work, and it needs the evidence its severity implies. Point at the line, and for P0 and P1 show the failure: a command, a test, a trace. A finding you could not confirm is a Q.
  7. Decide the result and deliver it on the surface. For a pull request, verify that the verdict is recorded before merging or handing off a completed round.
  8. Merge only when you are authorized and every gate holds.
  9. Hand off.

Findings

SeverityMeaningEffect
P0Critical: security hole, data loss, broken correctnessBlocks acceptance
P1High: a logic error, a regression, a soft claim not met, a serious design flawBlocks acceptance
P2Medium: a fragile pattern, missing coverage, a maintainability costFixed, or deferred to an issue, before acceptance
P3Low: naming, style, polishThe executor's choice
QA question, not a findingAnswered before acceptance

Each finding is one problem, anchored to the line it is about, with the fix or the question:

P1: <problem>. <fix>.
  • Name the exact file, line and symbol.
  • Give the reason when the risk is not obvious from the line.
  • No praise, no hedging outside a Q, no "consider refactoring" without a target.
  • A pre-existing problem the change exposes is a finding about the exposure. The rest goes in an issue.

The previous round

Read every finding of the previous round with the executor's reply:

  • Addressed: the change is at the current head, and its validation covers the finding.
  • Rejected: accept the reasoning when its evidence holds. Otherwise say why the finding stands.
  • Deferred: accept it when it names the issue, why the finding is outside this task, and the risk that remains. In an epic, also recommend whether the follow-up belongs in the epic or outside it. An escalation decides.
  • Answered: the answer resolves the question. An answer that exposes a defect becomes a finding.

A fix pushed without a reply is not a reply. Record each verdict in the finding's thread, with the head you checked it at.

Decide

  • Accepted: no P0 or P1 open, every P2 fixed or deferred, every Q answered, every soft claim judged met, and the evidence for each Definition of Done line comes from a run at the reviewed head.
  • Rejected: anything else. List what blocks.
  • Change approved, rebase expected: the work is sound, but it must not merge yet. Either a task ahead of it has to merge first, or the base moved during the review. Say so in those words, and give the base head your approval was made against. The next round, at every level, checks only what the rebase changed (git range-diff from the old base to the new), and re-runs the checks at the new head, because a clean rebase can still break approved code. This is not a quality finding, and the handoff says so.
  • Surface rejected: the surface failed the check in step 2 and you did not review the change. Approve nothing: the next round is a full review.

When the task's hitl names someone with the judge role, the soft claims they judge are theirs, not yours. Decide everything else. If nothing else blocks, record the result as accepted pending their judgment, and notify them with the surface and the claims to judge. Their verdict completes the acceptance, so do not merge before it.

An acceptance holds only for the head you reviewed. A commit after it, a rebase included, needs another round.

Escalate when you cannot decide: a finding the executor and you still disagree on after a second round, a contradiction between the task and its specification, or a question of scope. In an epic, the orchestrator decides. Otherwise, the operator does.

Merge

You merge only when the dispatch says to merge on acceptance, or the task's Review section gives you merge authority. Then you merge at the moment you accept, because only then do all of these hold, each checked by you in this round:

  1. The change is accepted.
  2. The base head has not moved since you checked the surface.
  3. The surface head is the head you reviewed, and matches the task branch.
  4. No task has to merge ahead of this one: its dependencies, its blocked mark, and in an epic the merge queue.
  5. When the merge makes commits public for the first time, such as a local gitpr review merged into a branch of a public repository, those commits hold no secrets and no local or identifying values: machine paths, account names, internal URLs. A pull request on a public repository is already public, so this gate holds for it.

Merge fast-forward only, and do not rebase first: a rebase after acceptance merges code you did not review. If a gate fails, do not merge, and the round's result follows from the gate:

Gate failedResult
1Rejected
2 or 4Change approved, rebase expected
3: the branch has commits after the head you reviewedRejected, with a finding naming the commits. The next round reviews them.
5Rejected, with a P0 for each value found. Escalate as well.

Without merge authority, accept and hand off. The operator merges, and closes the task.

Without a task

Small work can go straight to a pull request, with no task. Then the issue, or the operator's prompt that dispatched you, is the contract, and the pull request's head is the head you review. Skip the claim and the task log. The round's handoff goes on the surface, as the review's summary, without the reviewer line: a GitHub surface never carries thread ids. The full handoff goes to whoever dispatched you. Merge authority can only come from the dispatch.

Hand off

Log the round with the review handoff, and release the claim.

  • You merged: close the task, as task-ownership describes.
  • Otherwise: leave it in review, released. The entry says what comes next: the executor remediates or rebases, or, once accepted, the operator merges and closes the task.
kanban-md edit $TASK_ID --dir $BOARD_DIR --claim $THREAD --timestamp --append-body "${HANDOFF}"
kanban-md edit $TASK_ID --dir $BOARD_DIR --claim $THREAD --release

Check that the log entry landed before you release. A task left claimed by its reviewer cannot be picked up by anyone else.

Notify whoever dispatched the review. In an epic, the release wakes the next pass.

What to read

  • Triage: at the start of every review, to set its level from the work's risk.
  • Code: when the work changes code, tests, scripts, configuration or CI.
  • Documents: when the work is prose: documentation, a design, a specification, or instructions for agents.
  • Lenses: at high, to run fresh reviewers that each read the work for one question.
  • Task audit: at normal and high, to read the task's log and transcript for what the operator should still scrutinize.
  • Council: when the task sets council, or the operator asks for one.
  • Surfaces: which surfaces are approved, and how to check, comment on and decide a GitHub pull request, a gitpr review or a security fix.
  • Epic: when the task is a child of an epic: the merge queue, publishing to the epic pull request, and what you never write.

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.