code-review
Use when completing a task, reviewing a branch or PR, before merging, when the user asks to 'review since X', when publishing a GitHub PR review with inline comments/suggestions, or when the user receives code review feedback and needs to decide how to act on it.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- code-review
- triggers
- [ "user", "model" ]
- description
- Use when completing a task, reviewing a branch or PR, before merging, when the user asks to 'review since X', when publishing a GitHub PR review with inline comments/suggestions, or when the user receives code review feedback and needs to decide how to act on it.
02 资源文件 7
- 参考文档code-reviewer.md5.1 KB
- 参考文档modes/dependency-bumps.md7.0 KB
- 参考文档modes/giving.md12.6 KB
- 参考文档modes/post-merge-audit.md10.4 KB
- 参考文档modes/pr-audit.md13.2 KB
- 参考文档modes/pr-inline.md5.9 KB
- 参考文档modes/receiving.md6.9 KB
03 SKILL.md 正文
Code Review
Six modes; full detail in modes/<mode>.md. Read it when you enter the
mode. code-reviewer.md is the reviewer subagent brief.
| Mode | When | Detail |
|---|---|---|
| Giving | Completing a task, reviewing a branch/PR, before merge, "review since X" | modes/giving.md |
| PR-inline | Publishing a GitHub review with inline ```suggestion comments |
modes/pr-inline.md |
| Receiving | Deciding how to act on review feedback you received | modes/receiving.md |
| PR-audit | Auditing an untrusted contributor PR before merge: claim verification, prompt-injection resistance, hostile-change and supply-chain review | modes/pr-audit.md |
| Post-merge audit | Auditing the combined default-branch tree after merges, before deploy/release | modes/post-merge-audit.md |
| Dependency bumps | Fast-path merge of bot-authored dependency-only PRs | modes/dependency-bumps.md |
Giving — essentials
- Review the diff against the spec, not your memory of it.
- Two-axis review where the repo defines it (Standards vs Spec).
- Every finding cites file:line and the rule it violates.
- Verify claims with tools before reporting — no "looks fine" without evidence.
- Independent reviewer subagent (
reviewer/qa-ci) for unbiased assessment on high-risk diffs.
PR-inline — essentials
- Cycle: CHECK → COMMENT/SUGGEST → NEXT. One concern per cycle; never post before confirming the target line in the PR head.
gh apiwith--fieldfor per-line positioning (notgh pr review).```suggestionblocks must be applicable in one click.- Don't edit the PR's code locally; comments only.
- Comment language follows the repository.
- Every comment gets a gate in the ledger (see
gates).
Receiving — essentials
Verify before implementing; ask before assuming; technical correctness over social comfort.
- READ the feedback completely without reacting.
- UNDERSTAND — restate the requirement or ask.
- VERIFY against codebase reality.
- EVALUATE — technically sound for THIS codebase?
- RESPOND — technical acknowledgment or reasoned pushback.
- IMPLEMENT — one item at a time, test each.
Classify each item: pushed (reviewer cites a concrete violation → verify against the cited source, fix, test) vs pulled (reviewer points to a skill/convention/gate you should have used → pull that source first, apply, verify). Repeated missing pulled patterns → add to your pre-review checklist.
Cross-skills
security— escalate to the security skill when the diff touches auth, secrets, input handling, or public endpoints.a11y-audit— escalate when the diff touches frontend markup/ARIA/keyboard paths.
04 同仓库更多 Skills
montador-de-ideias
Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.
git-github-adaptive-engineering
Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.
adaptive-agenda-calendar-routine-engine
Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.
demo
Use when demonstrating a skill in a fixture project.
duplicate-skill
Use when testing duplicate skill name detection.
duplicate-skill
Use when testing duplicate skill name detection.