review-full
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-01
- Stars
- ★ 3
- Forks
- 0
03 SKILL.md 正文
Run a full code review over the entire codebase.
The invocation is: $ARGUMENTS
Step 1 — Determine scope of review
The scope is the full codebase. Use Glob to identify all source files to review, excluding build artefacts, dependency directories (node_modules, vendor, .venv, dist, etc.), and generated files.
Step 2 — Determine whether to include architectural review
Check $ARGUMENTS for any indication that the user wants an architectural review (e.g. "including architectural review", "with architecture", "arch review", or similar).
If it is not clear from the invocation, ask the user: "Should I include an architectural review? (This uses a more capable model and takes longer.)" Wait for their answer before proceeding.
Step 3 — Run the review agents
Invoke the following agents via the Agent tool, passing the list of files to review in each prompt. Run them in parallel where possible.
Always run:
code-review-simplicity— finds unnecessary complexity and dead codecode-review-general— checks correctness, error handling, and robustnesscode-review-nitty— checks naming, comments, and fine-grained clarity
If architectural review was confirmed in Step 2, also run:
code-review-architectural— checks module boundaries, coupling, and design fit
Collect all findings from all agents.
Steps 4–7 below are identical across all review skills (
review-full,review-component,review-branch). If you change the convergence logic (e.g. the iteration cap), update all three.
Step 4 — Classify findings
For each finding, classify it as one of:
- Code-level: contained within a single function or file; does not change a public API, module boundary, or data contract. These are auto-applied without asking.
- Architectural: changes a module boundary, public interface, exported type, or structural design. These require user confirmation before applying.
When in doubt, treat a finding as architectural.
Step 5 — Apply code-level findings
Apply all code-level findings now. Group related changes and apply them file by file. Do not ask for confirmation — just make the changes.
Step 6 — Iterate to convergence
After applying code-level changes, re-run the three standard agents (simplicity, general, nitty) over the files that were changed. Repeat Steps 4–5 until no new code-level findings are produced. Limit to 5 iterations; if findings persist after 5 passes, report what remains rather than continuing.
Step 7 — Present architectural findings
If there are any architectural findings (from the architectural agent, or from other agents whose findings were classified as architectural), present them to the user now.
For each:
- State the finding clearly (file, issue, recommendation)
- Ask whether to apply it
Apply each one only if the user confirms.
Step 8 — Summary
Report:
- How many code-level findings were applied and across how many files
- How many iterations were needed to converge
- Which architectural findings (if any) were applied or deferred
- Any findings that persisted after the iteration limit
04 同仓库更多 Skills
greet
Greet a person by name using the greeter tool
greet
Greet a person by name using the greeter tool
review-docs
暂无简介
review-component
Code review scoped to a described component or area — resolves the description to files, then runs simplicity, general, and nitty agents; auto-applies code-level findings until convergence; escalates architectural findings for user confirmation
review-branch
暂无简介
internal-docs-prune
Prune internal Claude-facing docs (CLAUDE.md, nested CLAUDE.md files, NOTES.md, .claude/rules/*.md) — spawns internal-docs-reviewer, auto-applies redundant/stale findings without content loss, and escalates judgment findings (interactive) or defers them (unattended)