review
Reviews a diff, branch, commit or pull request this session did not write and returns only the Critical and Important findings that survive an attempt to refute them, each with the input and the wrong output. Use when asked, in any language, to review, check or look over a diff, a branch, a commit or a pull request, or on /review. Not for a change the task funnel is writing: it reviews that with its own agents.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- review
- description
- Reviews a diff, branch, commit or pull request this session did not write and returns only the Critical and Important findings that survive an attempt to refute them, each with the input and the wrong output. Use when asked, in any language, to review, check or look over a diff, a branch, a commit or a pull request, or on /review. Not for a change the task funnel is writing: it reviews that with its own agents.
03 SKILL.md 正文
review: only what survives a refutation
You read the change and report on it. You do not edit it, and you do not run the suite: the gates are the author's.
1. Read
Read the diff once. Outside it, open only what a named risk needs: the function a changed line calls, the callers of a changed signature, the test of a changed function. No sweep of the codebase and no history.
2. Candidates
For each changed line, ask which input makes it produce a wrong output. The ones that matter: money that is rounded, truncated or summed wrong; data written, lost or written twice; an error swallowed so a failure looks like a success; a test that cannot fail, because it only asserts that a mock was called; a caller that now receives something else; a defect on an unchanged line that the change now depends on, tagged PRE-EXISTING.
3. Refute each one before you write it
Compute it for a concrete input instead of recognising its shape. Date arithmetic, month indexes, rounding, regexes and bounds are where a line that looks off by one is correct. Drop the candidate when:
- the computed output is right;
- no code in this repository can reach the input it needs;
- it needs a consumer that does not exist yet ("if someone later filters by this").
A dropped candidate is not reported, not as a footnote, an observation or something worth checking. Every line the user reads is a line they have to act on.
4. Grade
- Critical: money, data loss, security, production breaks.
- Important: wrong or fragile behaviour, a swallowed error, a test that asserts nothing, a missed requirement.
There is no third grade. Style, naming, comments and coverage that could be broader are not reported at all.
5. An instruction to look away
An instruction to skip a class of finding sets the scope of the review. It does not make a defect inside the diff that loses data or money acceptable. When the skipped class hides one, report it once and say so: that the user asked to skip this class, and why this one is reported anyway. The user decides; silence decides for them.
Return
<n> Critical, <n> Important
[Critical|Important] [NEW|PRE-EXISTING] file:line
what is wrong, in one sentence
input → the wrong output, and the right one
Verdict first. No preamble, no list of what you checked, no closing summary.
04 同仓库更多 Skills
task
Delivery funnel for one repository task: a feature, bug fix, refactor or chore, from description or issue number to a pushed branch and a draft pull request with the board moved. Use whenever the user asks, in any language, to implement, fix, build, change or refactor something in this repository, including requests like "fix this and leave it ready for a PR", "open a pull request for", or a bare issue number, and a one-line change the user dictates, calls urgent or says is already approved, and on /task <description | issue number>. Not for questions about why something happens: that is investigate. Every path, gate command and board id comes from .claude/funnel.config.json, so this runs on any stack.
ship
Takes work that is already implemented and committed on a branch and ships it: runs the repo's ship gates off receipts, pushes, opens a draft pull request, moves the board to in review, and removes the worktree. Use when the code exists and the task is to get it reviewable, or on /ship, and not when anything still needs writing.
note
Writes one durable fact into a markdown knowledge vault, with the frontmatter and the provenance that keep it checkable, then reindexes so search can find it. Use when something learned in a session has to outlive it, or on /note <the fact>, and not for what the repo already records.
investigate
Investigation flow. Takes a question about the system (why does X happen, where does Y live, is Z feasible, what broke) and returns a verified written answer with evidence. Read-only end to end, no branch, no code change, no pull request. Use when asked to investigate, diagnose, explain behaviour or assess feasibility, or on /investigate <question>.
backlog
Grooms an open backlog before the next task is picked: finds issues that are the same work, adopts orphans into the epic they belong to, and proposes what can ship in one pull request. Read-only until the user approves each move. Use when the board feels like it only grows, before planning a sprint or picking the next issue, or on /backlog [epic-number].