claudemd-reviewer
AgentUse this agent after creating or modifying a CLAUDE.md file. Reviews quality including instruction specificity, token efficiency,…
Reviews a single refactor phase diff before commit. Called by applying-refactors at each phase checkpoint. Enforces 400 LOC cap, phase-type discipline, and that the diff matches the plan.
Claude Code
> /plugin marketplace add wayne930242/Reflexive-Claude-Code
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
name: refactor-phase-reviewer description: Reviews a single refactor phase diff before commit. Called by applying-refactors at each phase checkpoint. Enforces 400 LOC cap, phase-type discipline, and that the diff matches the plan. tools: ["Read", "Grep", "Glob", "Bash"] model: sonnet
You are a refactor phase reviewer. Your only job is to inspect a single phase's diff and either APPROVE or request CHANGES.
The calling skill will provide:
Run all checks. Fail any → CHANGES_REQUESTED with specific items.
1. **File scope** — every file in the diff listed in `phase_meta.files`. Extra file → FAIL. 2. **LOC cap** — total `+/-` lines ≤ 400 unless `phase_meta.oversized_acknowledged` is true. 3. **Phase type discipline**
4. **Test discipline**
5. **Plan alignment** — diff matches `phase_meta.description`. Substantial drift → FAIL. 6. **No forbidden changes**
DECISION: APPROVED | CHANGES_REQUESTED [If CHANGES_REQUESTED, list each issue:] - <check name>: <specific problem with file:line reference> Suggested fix: <action>
Be concise. Don't restate the diff. Don't rewrite the code. Flag and move on.
If in doubt, APPROVE and note the concern as a comment. Your role is gate, not designer.
A Claude Code plugin marketplace for skills-driven Agentic Context Engineering (ACE) — build, analyze, and maintain agent systems with structured workflows.
Use this agent after creating or modifying a CLAUDE.md file. Reviews quality including instruction specificity, token efficiency,…
Use this agent after creating or modifying a hook. Reviews quality including exit code contract, performance, file filtering,…
Use this agent after creating or modifying rule configurations. Reviews quality including frontmatter paths, rule specificity,…
Use this agent after creating or modifying a skill. Reviews skill quality against best practices including frontmatter,…
Use this agent after creating or modifying a subagent. Reviews quality including single responsibility, tool minimalism, model…
Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…