agentleFS
cano721cano721/ai-harness/.agents/skills/review/SKILL.md

review

Skill1 starsChanged 4 months agoMITView on GitHub

Start a project-local change review workflow. Use for a PR, local diff, completed feature, bug fix, migration, or release candidate; not for exploratory code reading without a change to assess.

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

Files
SKILL.md

Review Change

This is a project adapter, not the source of project policy. Read these files in order before reviewing:

  1. AGENTS.md
  2. .ai-harness/workflows/review.md
  3. .ai-harness/workflows/review-graph.json
  4. The reviewer persona and .ai-harness/docs/ files selected by the workflow

The project workflow and graph are authoritative. They define review scope, risk checks, finding severity, repair ownership, required verification, re-review, and escalation conditions.

When the change alters what users see or operate and the graph has a ui_review node, list the affected screens as UI scenarios (with the mockup source — file, frame, or node — when a mockup exists) and, after the code review has no blocking findings, verify them with the project ui-review skill (.agents/skills/ui-review/SKILL.md or .claude/skills/ui-review/SKILL.md) and .ai-harness/docs/ui.md: render and operate each scenario in the render target ui.md declares for that screen (chromium when none; never another engine in its place) without changing the working tree. A blocking UI issue is a blocking finding. If the screens could not be rendered or operated, report the UI as unverified, not the change as done.

Perform the initial review read-only. Report the workflow-required findings with evidence; do not report completion while a blocking finding remains. Modify files only in an authorized repair the graph routes to.

Repair approval follows HM_APPROVAL_REPOS > HM_APPROVAL > default human in ~/.ai-harness/config; ignore legacy manifest approval and tell the user once to move it to personal settings. The runner records the resolved mode and source in run state. Committing and pushing a repair follows git_policy in .ai-harness/harness.json: pr-only (the older value merge reads the same) — commit and push the reviewed change's work branch with a normal push (a review never merges, whatever the delivery level); direct — commit and push the current branch with a normal push; missing or any other value — do not commit or push unless separately authorized. Do not open a new PR from a review, and never merge, force-push, or change project policy without separate authorization. The repair limit is limits.max_repair_attempts in the graph. The runner picks the node runtime from --runtime, then HM_RUNTIME_REPOS (matching repository), then HM_RUNTIME in ~/.ai-harness/config, then the calling CLI and integrations; pass --runtime only when the user asks for a specific CLI.

Graph runner

When .ai-harness/workflows/workflow-driver.sh exists, run the review through it instead of following the graph yourself. The runner executes review-graph.json outside the model: scope and inspect run without changing the working tree (ui_review runs the app before any agreement, so run untrusted branches in an isolated environment), classify routes the findings, a repair starts only after the person agrees to it (or by policy under HM_APPROVAL=auto), verify is the checks the runner executes itself, and re_review and ui_review follow.

To stop a running run, use only bash .ai-harness/workflows/workflow-driver.sh stop [--run <id>] [--reason "<why>"]: it ends just the processes that run recorded (the runner and its node session group, TERM then KILL after 5 seconds) and records stopped with the node, time, and reason. Never kill the runner or agent sessions by pattern (pkill, killall, pgrep -f); the same pattern matches other runs and sessions on the machine. status shows a stopped run and a run cut off outside the runner (stale); continue either with resume. resume, approve, and revise refuse a run whose runner is still alive (exit 2).

  1. bash .ai-harness/workflows/workflow-driver.sh start --workflow review --request "<the PR, branch, or diff to review>" runs scope, inspect, and classify. Exit 0 means no blocking findings remain; report the review. Exit 10 means blocking findings could be repaired: show the findings and the checks as printed and ask whether to repair them. Exit 20 means a finding needs a product or scope decision; show it.
  2. When the user types 승인 or approve to the repair, run resume --workflow review. The runner accepts only a message the user typed after the findings were shown, read from the session transcript. Never write, quote, or simulate an approval yourself. If the user does not want a repair, the printed findings are the review result. The agreement covers the findings shown; when a re-review or the UI check finds one outside them, the runner stops again with exit 10 and shows it, and the same rule applies.
  3. Report the outcome by exit code as above; 30 incomplete (show the cause, then resume after it is fixed); 40 invariant violation (stop and show it). status --workflow review shows the current node and history.

The runner leaves repairs uncommitted. After it reports done, commit and push them as git_policy says above. If the runner is missing, follow the graph in this conversation as described above.

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.