accountable-engineerin…
Use explicit human checkpoints for architecture, security, rollout, or operational decisions.
Review a branch, PR, or worktree diff for repository conventions and stated intent.
$ npx -y skills add jellydn/my-ai-tools --skill code-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/code-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Review a branch, PR, or worktree diff for repository conventions and stated intent.
name: code-review description: "Review a branch, PR, or worktree diff for repository conventions and stated intent." license: MIT compatibility: cline, claude, opencode, amp, codex, gemini, cursor, pi hint: Use when reviewing a branch, PR, or work-in-progress changes against a fixed point — runs parallel Conventions (coding standards + clean code smells) and Intent sub-agents user-invocable: true metadata: audience: all workflow: code-quality
Two-axis review of the diff between `HEAD` and a fixed point the user supplies:
Both axes run as **parallel sub-agents** so they don't pollute each other's context, then this skill aggregates their findings.
This skill owns **micro / local quality** — conventions, clarity, correctness of individual changes. It answers: "Is this change well-crafted and does it do what it says?"
For **macro / structural quality** (architecture, code judo, 1k-line limits, abstraction quality), use `code-quality-review`. That skill asks: "Is there a dramatically simpler structure hiding inside this implementation?"
| Concern | code-review (this skill) | code-quality-review | |---|---|---| | Clean code & naming | ✅ Primary owner | — | | Tidy First practices | ✅ Primary owner | — | | Behavior matches commits | ✅ Primary owner | — | | Guard clauses, helper vars | ✅ Primary owner | — | | File under 1k lines | Flag if crossed | Enforce strictly | | Structural simplification | Note opportunities | Demand code judo | | Abstraction quality | Flag thin wrappers | Delete unnecessary layers |
A complete quality pipeline, in order:
| Phase | Skills | Purpose | |-------|--------|---------| | 1. Discovery | `blindspot-pass`<br>`context-discovery` | Find unknown unknowns and gather project context before starting | | 2. During implementation | `implementation-logger` | Track deviations from plan as you go | | 3. Pre-review cleanup | `slop` | Remove AI-generated clutter so the review focuses on substance | | 4. **Review** | **`code-review`** (this skill) | Conventions + Intent, side by side | | 5. Structural audit | `code-quality-review` | Code judo, 1k-line limits, abstraction quality | | 6. Fix & wrap | `pr-review` → `commit-atomic` → `quiz-me` | Apply fixes, group into logical commits, verify understanding |
Phases 1–4 are the core loop. Phase 5 is recommended when the change touches architecture or crosses file-size boundaries. Phase 6 depends on what the review finds.
The user supplies a fixed point — a commit SHA, branch name, tag, `main`, `HEAD~5`, etc. If they don't specify one, ask for it.
Capture the diff command once: `git diff <fixed-point>...HEAD` (three-dot, so the comparison is against the merge-base). Also note the list of commits via `git log <fixed-point>..HEAD --oneline`.
Before going further, confirm the fixed point resolves (`git rev-parse <fixed-point>`) and the diff is non-empty. A bad ref or empty diff should fail here — not inside the sub-agents.
**Conventions sources** — discover the repo's coding standards. Look for any of these common patterns:
**Intent sources** — understand what the change claims to do:
A commit message is evidence of intent, not a substitute for the originating spec. Separate missing requirements from unrequested scope.
Send a single message with two `Agent` tool calls. Use the `general-purpose` subagent for both.
**Conventions sub-agent prompt** — include:
**Intent sub-agent prompt** — include:
Portable, source-controlled configuration for AI coding assistants. my-ai-tools installs one consistent set of agent guidelines, skills, commands, hooks, MCP servers, and tool settings across supported AI coding assistants.
Use explicit human checkpoints for architecture, security, rollout, or operational decisions.
Record architecture decisions with ADRs — captures why, alternatives considered, and consequences
Use when monitoring an open GitHub PR for CI failures, review feedback, mergeability, and safe retries or fixes.
Inspect history and architecture for hidden constraints before risky cross-cutting changes.
Build an interactive report or experiment when the user asks to explore model capabilities.
Audit a diff for structural maintainability and unnecessary complexity.