juliusbrussee/caveman

caveman-review

每条评审意见写明位置、问题和可执行修复

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

caveman-review 是什么?

caveman-review 把代码评审意见压缩成一条一项:文件和行号、问题、具体修复。它不负责实际改代码、运行 lint、批准或请求修改;需要架构争论或安全解释时应展开理由。

中文说明由本站依据来源整理;英文原文保留在页面下方。

适合用在

  • 审查已有 diff、PR 或文件,发现项需要短而可执行的定位意见。
  • 多文件审查时需要让每条意见明确对应具体文件和行号。

这些情况不适合

  • 希望 Skill 自动修复、批准 PR、请求变更或运行 lint 的任务。
  • 安全漏洞或需要解释架构取舍与替代方案的问题;源文要求这些情形使用完整说明。
按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 caveman-review,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 caveman-review

请在 Codex 的当前工作环境中安装并检查 caveman-review 这个 Skill。

项目身份:juliusbrussee/caveman / caveman-review
来源:https://github.com/juliusbrussee/caveman/blob/9b243662ff98d392bc0a95b865a554583d71be75/skills/caveman-review/SKILL.md
已定位的源文件:skills/caveman-review/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 提供实际 diff、分支或待审文件,并让 Agent 能看到当前行号。
  • 评审范围较大时提供文件清单;行号应来自当前版本,不根据旧快照臆造。

会得到什么

  • 可直接粘贴的逐项评审评论,或明确说明未发现问题;不包含代码修改或 PR 审批动作。

实际使用顺序

  1. 逐项检查代码,只输出真实且可执行的发现;每条写成 L<line>: <problem>. <fix>.,多文件使用 <file>:L<line>:。
  2. 同一审查混有不同严重性时,可按源格式加 bug、risk、nit 或 genuine question 标识;只在判断确实时标级别。
  3. 删除寒暄、复述代码、无依据猜测和含糊建议;指出具体修复及不明显的原因。
  4. 遇到安全漏洞、架构分歧或新人引导,改用完整段落说明风险与依据;不写代码、不运行检查、不批准或拒绝 PR。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:请用 caveman-review 检查这段伪代码,不运行测试:`const user = users.find(x => x.id === id); return user.email.toLowerCase();` 假设 users.find 可能返回 undefined。只报告一个真实问题,格式需包含行号、问题和修复;这里的行号采用示例第 1 行。不要声称这是完整 PR 审查。
预期结果

预期输出类似 L1: user can be undefined after .find(). Guard before .email.;这是单行教学示例的预期格式,不是执行过的评审结果。

使用前先看这些限制

使用条件与边界

  • 代码评审结论要针对实际差异;示例中的一行不能代表完整 PR 已审查。
  • 安全漏洞应解释影响、触发条件和参考依据,不能把安全发现压缩到不可理解的一句话。
  • 不运行 lint、测试或修复;缺少这些证据时不能声称已验证。
针对这个 Skill 的疑问

常见问题

没有发现问题时要写总结吗?

源文允许只输出 No issues.;不要额外加无依据的“LGTM”或总体质量保证。

可以把建议改成一行吗?

一般问题按位置、问题、修复写一行;但安全问题和架构分歧要恢复完整说明,避免压缩丢失关键理由。

会顺手帮我修复 findings 吗?

不会。Skill 边界是只生成评审意见,不写修复、不跑检查,也不提交 PR 审批结果。

需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-17T19:31:50.806Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/caveman-review/SKILL.md · 抓取时间 2026-11-17T19:31:50.806Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Compressed code review - one line per finding with location, problem and fix. Use for /caveman-review, "review this PR", or "review the diff".

查看源文件章节 / Source sections
  • 原文:Rules
  • 示例 / Examples
  • 原文:Auto-Clarity
  • 原文:Boundaries
原文:正文开头

Write code review comments terse and actionable. One line per finding. Location, problem, fix. No throat-clearing.

原文:Rules

**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 suggestion **Drop:** - "I noticed that...", "It seems like...", "You might want to consider..." - "This is just a suggestion but..." — use `nit:` instead - "Great work!", "Looks good overall but..." — say it once at the top, not per comment - Restating what the line does — the reviewer can read the diff - Hedging ("perhaps", "maybe", "I think") — if unsure use `q:` **Keep:** - Exact line numbers - Exact symbol/function/variable names in backticks - Concrete fix, not "consider refactoring this" - The *why* if the fix isn't obvious from the problem statement

示例 / Examples

❌ "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).`

原文:Auto-Clarity

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.

原文:Boundaries

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.

文件 SHA256:599330563f19b5c59c3efddffcd7e8d9098b74c29817ab422ccd3253b103fcb8

仓库许可证记录:Apache-2.0;repository-license-recorded-scope-unverified,查看来源。

Skills.sh收录简介 · 2026-07-28

Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix.…

查看历史简介来源

这份历史简介在采集时已截断;完整用途和触发条件需打开来源核对。

历史收录数据

Skill标识caveman-review
来源仓库juliusbrussee/caveman
榜单快照2026-07-28
榜单口径Skills.sh累计安装量
快照名次84
快照累计安装量268095

历史资料说明

  • 所保留的来源简介在采集时已截断;完整触发条件、依赖及排除项须阅读源文件,本站不补写缺失部分。
  • 安装量用于说明当时的收录次序,不是效果、可信度或当前可用性的证明。

此页用于识别项目与来源。安装入口可在该Skill的Skills.sh页面查看;当前目录是否仍存在、附带脚本和账户依赖尚需按具体版本确认。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源