用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill code-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | code-review |
| description | >- Use when this capability is needed. |
Use this skill to review changed code with a senior-engineer stance: find real bugs and risks introduced by the change, avoid noise, and lead with actionable findings.
Review only the changed behavior unless the user explicitly asks for a broader audit. Do not treat pre-existing issues as findings unless the change makes them newly reachable or worse.
For GitHub PRs, require gh to be installed and authenticated. Use gh for PR
metadata, PR diffs, previous PR comments, and posting comments when requested.
Use git for local diffs, branch history, blame, and full commit SHAs.
Do not run builds, typechecks, linters, or test suites as part of review unless the user asks. CI should catch compiler, formatter, import, and basic lint failures.
Identify the review target:
gh pr view and gh pr diff.Check whether review should proceed:
Gather repository guidance:
AGENTS.md, CLAUDE.md, Cursor rules, contribution docs,
and review guidelines that apply to the modified files.Review through five independent lenses. Use parallel subagents when the runtime supports them; otherwise perform separate passes yourself:
git blame, recent commits, and file history
to understand why nearby code exists.gh.Score each potential issue before reporting it:
0: false positive, pre-existing issue, or unsupported speculation.25: possible issue, but not verified.50: real issue, but minor or unlikely to matter in practice.75: important and likely real, with strong evidence.100: certain, reproducible, and directly caused by the change.For automated PR comments, report only issues scored 80 or higher. In chat,
lead with high-confidence findings and put uncertain observations under open
questions or residual risk.
Do not report:
Follow the host agent's normal response conventions. Do not add vendor-specific signatures, attribution footers, or emoji unless the user asked for that format.
Lead with findings, ordered by severity. For each finding include:
After findings, include open questions or assumptions. Keep summaries brief and
secondary. If no issues are found, say that clearly and mention any review gaps
such as unavailable PR metadata, missing gh authentication, or tests not run.
When posting a GitHub PR comment with gh pr comment, keep it concise and use
full commit SHAs in code links. GitHub links must use this shape:
https://github.com/owner/repo/blob/<full-sha>/path/to/file.ext#L10-L15
Source: Firzus/agent-skills — distributed by TomeVault.