dot_agents/skills/developing-plan-reviewers/SKILL.md
Create project-specific plan reviewer agents that integrate with the planning-project-features workflow. Use when a project needs domain-specialized reviewers for sub-plans (e.g., Go code reviewer, API layer reviewer, database reviewer) or when the planner warns that no suitable local reviewer exists for a sub-plan's domain.
npx skillsauth add MrPointer/dotfiles developing-plan-reviewersInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create project-specific reviewer agents for the planning-project-features workflow. These agents review individual sub-plans for domain-specific correctness — catching issues that the generic global reviewers (architecture, risk) cannot.
The planning workflow (Phase 5) uses two types of reviewers:
~/.claude/agents/) — plan-architect-reviewer and plan-risk-reviewer. Project-agnostic, already exist..claude/agents/) — project-specific, domain-specialized. This is what you build.The planner discovers local reviewers in Phase 4 by reading their descriptions, matches each sub-plan to the most appropriate reviewer, and launches them in Phase 5. No naming convention is assumed — the description is what matters.
A reviewer agent is a thin shell. It defines:
It does not define how to review. Domain knowledge comes from the preloaded skills, which encode conventions, patterns, and pitfalls. This separation prevents the reviewer from becoming a static checklist that rots as conventions evolve — the skills are maintained independently and stay in sync with the codebase.
---
name: plan-<domain>-reviewer
description: "Use this agent to review sub-plans that involve <domain>. Evaluates <what it checks> against project conventions.\n\n<example>\nContext: A sub-plan covers <domain> implementation within a feature plan.\nuser: \"Review sub-plan 02-<task>.md for <domain> correctness.\"\nassistant: \"I'll review the sub-plan for <domain> issues using the plan-<domain>-reviewer agent.\"\n<commentary>\nSub-plan involves <domain> work. Launch the domain-specific reviewer.\n</commentary>\n</example>"
tools: Read, Glob, Grep, Write, Edit
skills:
- <skill-1>
- <skill-2>
---
You are a <domain> reviewer. Your job is to review implementation sub-plans
for <domain> correctness — ensuring the proposed approach follows established
conventions, avoids known pitfalls, and will produce correct results.
You are NOT here to praise, summarize, or restate the plan. You are here to
find what's wrong with it from a <domain> perspective.
## What You Review
You will be given a path to a specific sub-plan file (e.g.,
`plans/<feature>/02-<task>.md`). You also have access to the full
codebase to verify claims.
## How You Review
1. **Read the sub-plan** completely.
2. **Read ALL project documentation first** — AGENTS.md, component-level
AGENTS.md files, and any project documentation (`docs/`, `doc/`, etc.).
Documentation is orders of magnitude cheaper than code exploration. Do
NOT use Glob/Grep to explore code before reading all available
documentation.
3. **Apply your skills** to evaluate the plan against project conventions.
Your preloaded skills encode the conventions for this domain. Use them
as your review criteria.
4. **Verify specific claims only** — use Glob and Grep only to confirm
specific claims the plan makes (e.g., an interface exists, a file path
is correct). Do not broadly explore the codebase.
## Output
The calling agent provides a review output file path. Write your findings
to that file using the format below. If no output path is provided, return
your findings as your response instead.
[Insert the standard output format template from this skill]
## Rules
- **Be specific and actionable** — every finding must reference the exact
plan section and provide a concrete recommendation.
- **Review the plan, not the code** — you evaluate whether the plan's
strategy is sound for this domain. Code-level review happens during
execution.
- **Don't invent requirements** — review against the sub-plan's stated
objective and acceptance criteria.
- **Don't duplicate architecture or risk review** — focus only on your
domain expertise.
- **Verify claims against the codebase** — if the plan says "extend the
existing interface," confirm the interface exists and the extension
makes sense.
tools: Read, Glob, Grep, Write, Edit — Write-capable so reviewers can write their own review output files directly, saving tokens and avoiding truncation of large findings. The reviewer only writes to the review output path provided by the planner — it does not modify plan files or codebase files.skills — the differentiator. Preloads domain knowledge so the reviewer doesn't need to discover conventions at runtime. Skills are the review criteria — the agent should not hardcode evaluation checklists that duplicate what skills already teach. See Choosing Skills to Preload.model field — inherits from parent, matching the global reviewers.\n escapes for multi-line content (not literal newlines) to ensure valid YAML frontmatter.The skills frontmatter field injects full skill content into the reviewer's context at startup. This is how domain knowledge gets into the reviewer.
Selection criteria:
~/.claude/skills/) and local (.claude/skills/) skillsExamples:
| Reviewer Domain | Skills to Preload |
|-----------------|-------------------|
| Go code | writing-go-code, applying-effective-go |
| API layer | writing-go-code (or API-specific skill if one exists) |
| Shell config | configuring-zsh |
| CI/CD | configuring-github-actions |
| Dotfile management | managing-chezmoi |
All plan reviewers must follow this format. The planner depends on the structure for output normalization (Phase 5, Step 2).
# <Domain> Review: <Sub-Plan Name>
## Verdict
<PASS | PASS WITH CONCERNS | NEEDS REVISION>
## Critical Findings
<Issues that MUST be fixed before the plan can proceed. Empty if none.>
### Finding: <short title>
- **Affects**: <plan file and section>
- **Problem**: <what's wrong from a domain perspective>
- **Recommendation**: <how to fix it>
## Concerns
<Issues that SHOULD be addressed but aren't blockers. Empty if none.>
### Concern: <short title>
- **Affects**: <plan file and section>
- **Problem**: <what's wrong>
- **Recommendation**: <how to fix it>
## Observations
<Minor notes, suggestions, or things the planner might want to consider. Empty if none.>
Complete, copy-and-adapt reviewer examples:
writing-go-code and applying-effective-go as review criteria.writing-go-code as review criteria.testing
Create implementation plans from a reviewed RFC. Uses the RFC as the approved design baseline, decomposes it into executable sub-plans, and runs RFC-specific plan review.
tools
Create implementation plans directly from user requirements when no reviewed RFC is available or the user explicitly declines RFC-first planning. Decomposes work into self-contained sub-plans with full iterative multi-agent plan review.
content-media
Decompose a reviewed RFC into sequenced features for a single project. Uses the RFC as the approved design baseline and produces a persistent epic plan reviewed for RFC fidelity and feature decomposition.
tools
Decompose large efforts directly from user requirements when no reviewed RFC is available or the user explicitly declines RFC-first epic planning. Produces a persistent epic plan with rich feature descriptions that feed into planning-project-features separately.