Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Applies systematic code review patterns and checklists. Use when reviewing PRs or diffs for correctness, security, readability, maintainability, and AI-generated changes.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
This skill is for reviewing existing changes. It routes the agent to the right checklist, review mode, and platform workflow without turning SKILL.md into a tool catalog.
| Task | Use | Primary Reference |
|---|---|---|
| General PR or diff review | Baseline review flow and severity rubric | references/operational-playbook.md |
| AI-generated or agent-created changes | Human-in-the-loop review rules and platform controls | references/automation-tools.md |
| Building or tuning an AI review tool/integration | Pre-review deterministic gate, size-gated planning pass, self-refutation filter pass | references/deterministic-vs-llm-routing.md |
| Backend/API review | Error handling, contracts, persistence, operability | assets/backend-api/api-review.md |
| Frontend review | Accessibility, responsive behavior, Core Web Vitals | assets/web-frontend/frontend-review.md |
| Mobile review | Platform patterns, lifecycle, permissions, UX | assets/mobile/mobile-review.md |
| Infrastructure review | CI/CD, IaC, secrets, deploy safety | assets/infrastructure/infrastructure-review.md |
| Smart contract review | Access control, reentrancy, unsafe assumptions | assets/blockchain/crypto-review.md |
| Data / ML review | Pipelines, experiments, models, deployment | assets/data-ml/ml-diff-review-overlay.md |
Use this skill when the primary task is to:
Apply review modes in this order unless the user asks for a narrower scope:
Stack overlays:
Platform overlays:
If the user asks a platform-specific automation question, open the official entries in data/sources.json first and use references/automation-tools.md.
references/automation-tools.md and data/sources.json and re-verify before quoting specifics.Apply these checks when reviewing AI-generated code or agent-created PRs:
| Check | What to look for |
|---|---|
| Hallucinated imports | Packages or methods that don't exist; verify with npm info / pip index |
| Stale APIs | Deprecated methods, old signatures, removed features |
| Security gaps | Missing input validation, hardcoded secrets, SQL concatenation, unescaped output |
| Missing error handling | Happy-path only; no try/catch, no null checks, no timeout handling |
| Redundant abstractions | Unnecessary wrappers, premature generalization, over-engineered patterns |
| Copy-paste drift | Similar blocks with subtle inconsistencies across files |
| Test theater | Tests that assert implementation details, mock everything, or test the framework |
| Accessibility omissions | Missing alt text, broken ARIA, no keyboard handling, div soup |
| Design system violations | Components that ignore existing tokens, spacing, or component patterns |
| Confident but wrong comments | Docstrings that describe what the code should do, not what it actually does |
Sources: Hallucination Detection, AI Design Antipatterns
Finding proof gate.
Before reporting a blocker or high-severity finding, provide the smallest proof appropriate to its class: a reachable execution or state-transition path, failing example or test, or concrete contract mismatch. Name the violated invariant and user impact, and identify any assumption you could not verify. Reserve controllable-input-to-sink tracing for security and tainted-data findings. If the necessary reachability or contract evidence is unknown, report a question or conditional risk rather than asserting a defect.
| Priority | Label | Criteria | Review action |
|---|---|---|---|
| P0 | BLOCKER | Data loss, security hole, correctness bug, crashes in prod path | Must fix before merge |
| P1 | REQUIRED | Missing error handling, broken rollback, undefined behavior, SLA violation | Must fix before merge |
| P2 | SUGGESTED | Test gap for non-critical path, minor inefficiency, readability issue | Fix in this PR or tracked issue |
| P3 | OPTIONAL | Style preference, naming taste, future improvement | Author decides; no block |
Mark each finding with its priority and label. Do not lump P0 and P3 findings in the same comment thread.
Calibration rules (apply in order; the first that fires wins):
question: at the severity it would have if true; never round uncertainty down to P3 to avoid friction, and never assert P0 on a hunch.What to skip so review time lands on risk: formatting a linter owns (turn the linter on instead), generated files and lockfiles once you have confirmed they carry no dependency or contract drift, pre-existing issues outside the diff's blast radius (file them), and restating the PR description as a comment.
Blocking is a cost: it delays value delivery, encourages batching future changes to avoid another round, and burns reviewer credibility if used on low-stakes disagreements. Do not block on:
Do block on P0/P1 findings, missing tests for genuinely risky new behavior, and anything that would be expensive or unsafe to fix after merge (data migrations, public API shape, security boundaries). When in doubt, separate the blocking finding from the optional ones instead of letting one bleed into the other's priority.
Fast, low-comment reviews are not automatically a problem — well-written, small, low-risk changes should review quickly. Treat these as a warning signal warranting a second look, not proof of bad review:
references/large-pr-review-strategies.md and references/code-review-metrics.md for the size/pace data this heuristic is based on).Use these as coaching signals (spot-check, pair on a review, ask what was actually read), not as a public leaderboard — see references/code-review-metrics.md for how to track this without creating gaming incentives.
A diff with green tests and no test-quality review is only half-reviewed. Apply the same scrutiny to test code as to production code:
needs tests generically without naming the missing scenario, boundary, or regression.Default to:
P0 / P1 / P2 / P3REQUIRED vs OPTIONAL labelingUse assets/core/review-comment-guidelines.md for phrasing and assets/core/review-checklist-judgment.md for final pass judgment. Label comment intent using the Conventional Comments convention (suggestion:, issue:, question:, nitpick:, praise:) so blocking vs. non-blocking intent is unambiguous without relying on tone.
Core references:
Templates:
Sources:
When the user asks for:
you must:
If web access is unavailable, say so and answer from data/sources.json, clearly marking time-sensitive advice as unverified.
When prior decisions or pitfalls are relevant, consult learnings.consolidated.md if present; use learnings.md only for needed history or as the available fallback. Otherwise skip both.
After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.
日本語の概要は準備中です。原文の説明を表示しています。
Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.
日本語の概要は準備中です。原文の説明を表示しています。
Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.
日本語の概要は準備中です。原文の説明を表示しています。
Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.
日本語の概要は準備中です。原文の説明を表示しています。
Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.
日本語の概要は準備中です。原文の説明を表示しています。
Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.
日本語の概要は準備中です。原文の説明を表示しています。