用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/holon-run/holon --skill code-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | code-review |
| description | Review a set of code changes using evidence-backed findings, explicit confidence, and a clear coverage summary. |
Use this skill to review a code change independently of the hosting platform. The result is a concise, evidence-backed assessment for a human or another workflow to consume. This skill does not know how to fetch a pull request or publish comments.
Use the context supplied by the caller. It may include:
change_set: changed files, hunks, and the before/after revisionsbaseline: relevant surrounding code, configuration, interfaces, and historyproject_instructions: repository or path-specific review rulesprior_feedback: earlier findings and their current statusverification_budget: commands or checks that may be runDo not assume a particular directory or file name. If a caller supplies a manifest, resolve inputs from its artifact entries and record missing or unavailable entries in the coverage summary.
Review changed files and materially changed hunks in this order:
Follow important control flow into surrounding code when needed to establish impact, but avoid speculative project-wide criticism.
For every candidate finding:
Do not publish a high-severity finding based only on a pattern match, naming preference, or an unverified hypothesis.
Keep only actionable findings supported by the change or directly relevant surrounding code. For each finding, assign:
severity: critical, high, medium, or lowconfidence: confirmed, likely, or uncertaincategory: the primary risk categorystatus: open, needs-context, or not-reproducibleDo not report a finding as critical or high unless its evidence and impact
justify that severity. Merge duplicate findings and distinguish a new impact
from previously reported feedback.
Return one user-facing brief containing:
If the caller explicitly provides an artifact directory and requests exports,
write review.md and review-result.json there. These are optional exports,
not required runtime files and not prerequisites for a valid review.
Represent each finding with this platform-neutral shape:
{
"id": "stable-within-this-review",
"severity": "high",
"confidence": "confirmed",
"category": "correctness",
"status": "open",
"location": {
"path": "src/example.rs",
"start_line": 42,
"end_line": 45
},
"title": "Short problem title",
"impact": "Describe the user-visible or operational consequence.",
"evidence": [
"Describe the relevant code path, input, state transition, or verification."
],
"recommendation": "Give a concrete direction for fixing or validating it.",
Use repository-relative paths and changed-line locations when available.
location may be omitted for a valid non-inline finding, but then explain why
the issue cannot be mapped precisely and keep it in the brief rather than
silently mapping it to an unrelated line.
limited review, not clean.needs-context or omit it from actionable findings.