用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/arbazkhan971/godmode --skill review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | review |
| description | 4-agent code review. Correctness, security, performance, style. Auto-fixes NITs. |
/godmode:review, "review this", "check my code"git diff main...HEAD
Read every changed file. >500 lines -> split into per-directory reviews.
Each agent outputs:
SEVERITY | FILE:LINE | DESCRIPTION | SUGGESTED FIX
Severities: MUST-FIX, SHOULD-FIX, NIT.
IF no findings: state {category}: No issues found.
Combine findings. Same file:line = merge, keep highest severity, first agent's fix. Sort: MUST-FIX first.
SAFE: imports, formatting, whitespace, comment typos.
UNSAFE (human): logic, API, security, test changes.
Each auto-fix = separate commit:
"review-autofix: {description}".
Score: 0-10 (median of all agents).
IF score < 8: author responds to every MUST + SHOULD. Re-review only modified parts. Max 3 iterations.
Append .godmode/review-log.tsv:
timestamp scope category severity file_line description status
KEEP if: finding has file:line + severity + fix.
DISCARD if: vague, lacks evidence, or duplicate.
On finding DISCARD: classify and append to .godmode/review-failures.tsv.
False positive classes: stale_context, framework_idiom, test_only_code, intentional_pattern, duplicate_finding.
For higher-confidence reviews, dispatch agents with different models:
Findings caught by only one model are flagged as "cross-model finding" — these are the blind spots that self-play misses.
Enable with: --cross-model flag or when reviewing security-critical code.
STOP when FIRST of:
- All 4 agents completed and findings merged
- Max 3 re-review iterations
- Re-review found 0 new issues
On failure: git reset --hard HEAD~1. Never pause.
| Failure | Action |
|---|---|
| Diff too large (>500) | Split per-directory reviews |
| Vague findings | Discard, re-run with explicit instruction |
| Auto-fix breaks tests | Revert, reclassify as SHOULD-FIX |
| Conflicting findings | Escalate to highest severity |
基于 SOC 职业分类