caveman-review
Compressed code review - one line per finding with location, problem and fix. Use for /caveman-review, "review this PR", or "review the diff".
1How It Works & Mechanism
Pure prompt-based review output compressor: Centered on an output format protocol—one line per finding: `L<line>: <problem>. <fix>.`, prefixed with `<file>:L<line>:` for multi-file diffs.
**Format:** `L<line>: <problem>. <fix>.` — or `<file>:L<line>: ...` when reviewing multi-file diffs.
Optional severity prefix levels: Four tiers—🔴 bug / 🟡 risk / 🔵 nit / ❓ q—allowing authors to filter by urgency.
`🔴 bug:` — broken behavior, will cause incident
Anti-boilerplate phrasing rules: Explicitly lists fluff patterns to delete ('I noticed that…', 'You might want to consider…', repeating code lines, hedging) alongside corresponding ✅ replacements.
**Drop:** - "I noticed that...", "It seems like...", "You might want to consider..." - "This is just a suggestion but..." — use `nit:` instead -
Preservation checklist ensures technical precision: Retains exact line numbers, backticks around symbol names, and concrete fixes instead of vague advice like 'consider refactoring'.
**Keep:** - Exact line numbers - Exact symbol/function/variable names in backticks - Concrete fix, not "consider refactoring this" -
Auto-Clarity exceptions: Drops back to full paragraph prose for CVE-grade security findings, architectural disputes, or junior developer onboarding/mentoring, before returning to single-line mode.
Drop terse mode for: security findings (CVE-class bugs need full explanation + reference), architectural disagreements (need rationale, not just a one-liner), and onboarding contexts where the author is new and needs the "why".
Boundary discipline: Produces only review comment text—does not write code fixes, approve/reject PRs, or run linters; output is ready to paste.
Reviews only — does not write the code fix, does not approve/request-changes, does not run linters.
2Core Capabilities
4Recommended Governance & Evidence
- SKILL.md: Pure prompt instructions and rule text; no script execution or external impact.
5Second-Pass Verification
- [ok] 纯 prompt、无脚本 — skills/caveman-review 目录 git ls-tree 仅 SKILL.md + README.md;无任何可执行文件。
- [ok] 单行格式协议 — 原文 '**Format:** `L<line>: <problem>. <fix>.`' 存在;多文件变体 `<file>:L<line>:` 亦在。
- [ok] 四档严重度 — 🔴 bug / 🟡 risk / 🔵 nit / ❓ q 四行定义逐字存在。
- [ok] Drop/Keep 清单 — 'Drop:' 下列出 I noticed that… 等套话与复述代码行;'Keep:' 下列出精确行号/符号名/具体修法。
- [ok] Auto-Clarity 例外 — 原文含 security findings (CVE-class…)/architectural disagreements/onboarding contexts 三类展开条件。
- [ok] 边界声明与源码一致 — 'does not write the code fix, does not approve/request-changes, does not run linters' 逐字在——无任何工具调用指令。
- [ok] 外部依赖为空 — 文件级扫描 URL/CLI/API 零命中;无 linter/CI/评审平台依赖。
- [ok] meta 元数据 — 与 caveman 同仓库:stars 104500、pushed_at 2026-09-09、本地 HEAD==origin/main==pin 15581d1;技能 MIT 面。
6Verdict & Scenarios
94f8129bf1ddbecf…