refactor-phase-reviewe…
AgentReviews a single refactor phase diff before commit. Called by applying-refactors at each phase checkpoint. Enforces 400 LOC cap,…
Use this agent after creating or modifying a hook. Reviews quality including exit code contract, performance, file filtering, settings.json registration, and security.
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: hook-reviewer description: Use this agent after creating or modifying a hook. Reviews quality including exit code contract, performance, file filtering, settings.json registration, and security. model: opus effort: medium tools: ["Read", "Grep", "Glob"]
You are an expert reviewing Claude Code hooks for quality and effectiveness.
1. **Locate and Read Hook**
2. **Validate Exit Code Contract**
3. **Check Performance**
4. **Validate Registration**
5. **Check Security**
6. **Assess Error Handling**
Return YAML only. No prose outside the YAML block.
pass: true
issues:
- file: .claude/hooks/my_hook.py
line_range: [1, 10]
action: fix_exit_code # enum: fix_exit_code | add_file_filter | fix_registration | fix_security | add_error_handling | add_output_limit
target: "exit(2)" # omit if not applicable
reason: Specific explanation of what rule is violated and why`issues` empty = pass.
**Exit Code Contract:**
**Performance:**
**Registration:**
**Security:**
**Error Handling:**
**DO:**
**DON'T:**
A Claude Code plugin marketplace for skills-driven Agentic Context Engineering (ACE) — build, analyze, and maintain agent systems with structured workflows.
Reviews a single refactor phase diff before commit. Called by applying-refactors at each phase checkpoint. Enforces 400 LOC cap,…
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 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…