AGENT SKILL

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

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 api with --field for per-line positioning (not gh pr review).
  • ```suggestion blocks 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.

  1. READ the feedback completely without reacting.
  2. UNDERSTAND — restate the requirement or ask.
  3. VERIFY against codebase reality.
  4. EVALUATE — technically sound for THIS codebase?
  5. RESPOND — technical acknowledgment or reasoned pushback.
  6. 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

Leostruka
Leostruka/devin-bundle

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.

★ 0
Leostruka
Leostruka/devin-bundle

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.

★ 0
Leostruka
Leostruka/devin-bundle

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.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0