review
Use for evidence-backed review of diff-introduced defects in branches, PRs, WIP, or releases.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 4
- Forks
- 1
01 前言 Front Matter
- name
- review
- description
- Use for evidence-backed review of diff-introduced defects in branches, PRs, WIP, or releases.
02 资源文件 5
- 参考文档DEEP-AUDIT.md6.6 KB
- 参考文档GATES.md11.5 KB
- 参考文档OPERATING-MODEL.md6.1 KB
- 参考文档REFERENCE.md7.1 KB
- 参考文档REVIEWERS.md5.7 KB
03 SKILL.md 正文
Read Poteto.
Keep one owner; explicit delegation. Do not edit, commit, push or post without intent. Fixes: author delivery. Posting comments need intent.
Read depth.
Review contract
- Objective: achieve the outcome without credible defects.
- Guardrails: diff-introduced only; standards separate from product/spec gaps; generated files are evidence.
- Verification: Dogfood every runnable change yourself at its real entrypoint.
- Stop: cover every surface and evidence gap.
Missing fixed point: ask. Otherwise resolve
BASE=$(PR_BASE_REF="${REVIEW_BASE:-}" "${CLAUDE_PLUGIN_ROOT:-.}/scripts/resolve-pr-base.sh"),
pin head/merge-base SHAs; inspect their complete diff and log.
WIP includes staged, unstaged, relevant untracked inputs; label exclusions.
Empty complete scope: report no changes to review.
Mutations/concurrent reads: snapshots.
Recheck identity; drift invalidates evidence.
Evidence loop
challenge -> inspect -> verify -> classify -> synthesize. Validate challenges per
shared contract.
Inspect
- Read spec/rules, full diff, callers/behavior and applicable
REVIEW.md,CODING_STANDARDS.md,CONTRIBUTING.md. Do not trust a PR summary. - For changed assumptions, reverse-trace authoritative producers, schemas, storage, consumers and public surfaces. Search by domain concept, field and emitted value, not only the changed symbol.
- Reuse change evidence.
- Check independent artifacts in relevant unchanged code, base, recent history, runtime and fixtures; match fixtures to production shape.
- Build a behavioral counterexample. Map permissions/surfaces; skip formatter-owned style and pre-existing defects.
- What could still be wrong if tests pass?
Verify
- Reproduce from source, schema, primary docs or an executable check.
- When safety hinges on one non-local fact, use
/blast-radius; carry proof, not prose. - With representative live-scale data, exercise the intended path and one credible failure or recovery path. Observe console/network/logs and response time; name unsafe/unavailable paths.
- Inspect test integrity: public behavior, RED, assertions, coverage, no duration waits. Source-text checks are no coverage unless text is public output; delete or replace at a public seam. Use static analysis for syntax.
Add surface-specific scrutiny only when the diff supplies evidence (interfaces).
| Surface | Check |
|---|---|
| Customer-facing UI/CLI/report | Render, states, copy, keyboard/a11y, console, viewport |
| Security/privacy/data loss | Access, trust boundaries, credentials, impact, recovery |
| Documentation/public behavior | Discoverability, defaults, migration/release notes when public behavior changes |
| API/schema/SQL/PostgreSQL | Compatibility, migrations, generated output, actual dialect |
| Go/concurrency/workflows | Ownership, cancellation, races, retries, idempotency |
| Dependency/external API | Primary docs, versions/pins, advisories |
Proto/Buf/codegen/runtime: load protobuf fully. Dependency loading: Call the Skill tool separately for "product" and "lie-detector"; apply their hats inline. Authorized axes: foreground, fresh contexts; aggregate. Else inline. Roles.
Classify
Findings: tightest changed line, impact and smallest safe fix.
- P0: exposure, data loss, outage, or impossible core flow.
- P1: user regression, broken contract, false success, or major a11y defect.
- P2: useful bounded correction with lower impact.
- Omit future work/polish from inline comments.
No performance finding without measurement or a structural bound. No edge-case finding without credible risk.
Synthesize
Use communication. Lead with count (including zero). Deduplicate by root cause; name bug class/affected instances. For a re-review, inspect repairs/prior findings after full coverage; widen for changed assumptions. Prove dispositions; separate value from defects. Omit praise/unrelated bugs.
Deep mode
For --deep, read DEEP-AUDIT.md; use the same loop and a
complete applicability ledger. Cover all surfaces; do not add automatic agents.
Output
Schema/format: REFERENCE.md.
Append entrypoint, data, actions, observations, timing, limits, fixed point, mode, counts,
product:/lie-detector: lines, verdict and residual limits. Clean: receipt/verdict only.
04 同仓库更多 Skills
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
learn-taste
Turn a session's design corrections into scoped, reasoned rules for future agents. Use for /learn-taste or requests to remember design feedback, not general workflow retrospectives.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
pull-requests
Use when finalizing a pull request or continuing an existing one; preserve the requested endpoint and draft state.
hill-climb
Optimize a defined outcome through bounded evaluation loops. Use for hill-climb requests or repeated improvement against an executable eval, benchmark, or visual comparison; not a one-pass review.
gestures
Build or fix web drag, swipe, sheet, reorder, and hold interactions: direct tracking, rubber banding, release velocity, momentum, snap points, and interruption. Not native React Native or Swift.