一键导入
speckit-review-run
Comprehensive code review using specialized agents — orchestrates code, comments, tests, errors, types, and simplify agents sequentially.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Comprehensive code review using specialized agents — orchestrates code, comments, tests, errors, types, and simplify agents sequentially.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Archive a feature specification into main project memory after merge, resolving gaps and conflicts
Run the full speckit workflow end-to-end — specify, plan, critique, tasks, implement, review, extract — making all decisions autonomously.
Commit changes at meaningful checkpoints throughout the workflow
Extract knowledge, guidelines, and ADRs from one or more completed spec directories into the project documentation system.
Reconcile implementation drift by updating the feature's own spec, plan, and tasks
Run a session retrospective that surfaces context-management gaps and routes them to approved follow-up actions.
| name | speckit-review-run |
| description | Comprehensive code review using specialized agents — orchestrates code, comments, tests, errors, types, and simplify agents sequentially. |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"review:commands/run.md"} |
Run a comprehensive pull request review using multiple specialized agents, each focusing on a different aspect of code quality.
Review Aspects (optional): "$ARGUMENTS"
Load Configuration
.specify/extensions/review/review-config.yml (if it exists).defaults.agents section in the extension's extension.yml.agents map — each key (code, comments, tests, errors, types, simplify) is a boolean toggle.false MUST be excluded from this run. Do not launch them.Determine Review Scope
Available Review Aspects:
Identify Changed Files
.specify/scripts/bash/detect-changed-files.sh with --json to detect changed files.
main/master) from the merge-base, plus any staged and unstaged changes.{"branch", "default_branch", "mode", "changed_files": [...]}Determine Applicable Reviews
Based on changes and config toggles (skip any agent where agents.<name> is false):
/speckit.review.code (general quality)/speckit.review.tests/speckit.review.comments/speckit.review.errors/speckit.review.types/speckit.review.simplify (polish and refine)Launch Review Agents
Sequential approach (one at a time):
Parallel approach (user can request):
Aggregate Results
After agents complete, summarize:
Provide Action Plan
Organize findings:
# PR Review Summary
## Critical Issues (X found)
- [agent-name]: Issue description [file:line]
## Important Issues (X found)
- [agent-name]: Issue description [file:line]
## Suggestions (X found)
- [agent-name]: Suggestion [file:line]
## Strengths
- What's well-done in this PR
## Recommended Action
1. Fix critical issues first
2. Address important issues
3. Consider suggestions
4. Re-run review after fixes
Full review (default):
/speckit.review
Specific aspects:
/speckit.review tests errors
# Reviews only test coverage and error handling
/speckit.review comments
# Reviews only code comments
/speckit.review simplify
# Simplifies code after passing review
Parallel review:
/speckit.review all parallel
# Launches all agents in parallel
comment:
tests:
errors:
types:
code:
.specify/memory/constitution.md, CLAUDE.md, .github/copilot-instructions.md, or equivalent) compliancesimplify: