重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
caveman-review by juliusbrussee/caveman
npx skills add https://github.com/juliusbrussee/caveman --skill caveman-review撰写代码审查评论应简洁且可操作。每条发现占一行。包含位置、问题、修复方案。无需开场白。
格式: L<行号>: <问题>. <修复方案>. — 或者在审查多文件差异时使用 <文件名>:L<行号>: ...。
严重性前缀(可选,在混合使用时):
🔴 bug: — 行为错误,将导致事故🟡 risk: — 当前可用但脆弱(存在竞态条件、缺少空值检查、错误被吞没)🔵 nit: — 风格、命名、微优化。作者可以忽略❓ q: — 真诚的疑问,而非建议省略:
nit:广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
q:保留:
❌ "我注意到第 42 行你在访问 email 属性之前没有检查 user 对象是否为 null。如果数据库中找不到用户,这可能会导致崩溃。你可能需要在这里添加一个空值检查。"
✅ L42: 🔴 bug: .find() 后 user 可能为 null。在 .email 前添加保护。
❌ "看起来这个函数做了很多事情,为了可读性,拆分成更小的函数可能会更好。"
✅ L88-140: 🔵 nit: 50 行的函数做了 4 件事。提取 validate/normalize/persist。
❌ "你考虑过如果 API 返回 429 会发生什么吗?我认为我们可能应该处理这种情况。"
✅ L23: 🟡 risk: 未对 429 进行重试。用 withBackoff(3) 包装。
以下情况请退出简洁模式:安全发现(需要完整解释和参考的 CVE 级漏洞)、架构分歧(需要理由,而不仅仅是一句话)、以及作者是新手需要了解"为什么"的入门场景。在这些情况下,先写一段正常的段落,然后对其余部分恢复简洁模式。
仅用于审查 — 不编写修复代码,不批准/请求更改,不运行 linter。输出可直接粘贴到 PR 中的评论。"停止 caveman-review" 或 "正常模式":恢复为详细审查风格。
每周安装量
1.4K
仓库
GitHub 星标数
8.3K
首次出现
2 天前
安全审计
安装于
codex1.2K
cursor1.2K
github-copilot1.2K
opencode1.1K
antigravity1.1K
gemini-cli1.1K
Write code review comments terse and actionable. One line per finding. Location, problem, fix. No throat-clearing.
Format: L<line>: <problem>. <fix>. — or <file>:L<line>: ... when reviewing multi-file diffs.
Severity prefix (optional, when mixed):
🔴 bug: — broken behavior, will cause incident🟡 risk: — works but fragile (race, missing null check, swallowed error)🔵 nit: — style, naming, micro-optim. Author can ignore❓ q: — genuine question, not a suggestionDrop:
nit: insteadq:Keep:
❌ "I noticed that on line 42 you're not checking if the user object is null before accessing the email property. This could potentially cause a crash if the user is not found in the database. You might want to add a null check here."
✅ L42: 🔴 bug: user can be null after .find(). Add guard before .email.
❌ "It looks like this function is doing a lot of things and might benefit from being broken up into smaller functions for readability."
✅ L88-140: 🔵 nit: 50-line fn does 4 things. Extract validate/normalize/persist.
❌ "Have you considered what happens if the API returns a 429? I think we should probably handle that case."
✅ L23: 🟡 risk: no retry on 429. Wrap in withBackoff(3).
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". In those cases write a normal paragraph, then resume terse for the rest.
Reviews only — does not write the code fix, does not approve/request-changes, does not run linters. Output the comment(s) ready to paste into the PR. "stop caveman-review" or "normal mode": revert to verbose review style.
Weekly Installs
1.4K
Repository
GitHub Stars
8.3K
First Seen
2 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
codex1.2K
cursor1.2K
github-copilot1.2K
opencode1.1K
antigravity1.1K
gemini-cli1.1K
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
169,700 周安装