backend-reviewer — Claude Code subagent: review and install
The backend-reviewer subagent reviews backend routes and hooks for regressions, data integrity risks, and missing tests. It works with Claude Code and Codex.
MIT ★ 1,198 updated 2026-10-23
.claude/agents/backend-reviewer.mdWhat backend-reviewer does
backend-reviewer examines backend route and hook logic for faults that can survive a routine code review. Its checks cover hook event lifecycles, session and agent state transitions, API contract compatibility, transaction behavior, and persistence correctness.
The report ranks findings by priority, points to relevant files, and includes notes for reproduction or validation. The subagent has access to Read, Grep, Glob, and Bash, with opus set as its model. If Bash is unavailable, checks that depend on running commands or validation will be narrower.
What it helps with
- check hook event lifecycle behavior
- spot regressions in session and agent state
- verify API contract compatibility
- inspect transaction and persistence logic
- find missing or weak test coverage
Example prompts for the agent
- Review the changed backend routes and hooks, then rank the findings by priority.
- Check whether these changes preserve the API contract and persistence behavior.
- Look for missing tests around session and agent state changes, and add validation notes.
How to install backend-reviewer
Manually: put the files in place
.claude/agents/backend-reviewer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/backend-reviewer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/backend-reviewer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about backend-reviewer
How do I install backend-reviewer in Claude Code?
Place the subagent file at .claude/agents/backend-reviewer.md.
What does backend-reviewer do?
It reviews backend routes and hooks, session and agent state, API contracts, transactions, and persistence. Its output includes prioritized findings, file references, and reproduction or validation notes.
Which tools does backend-reviewer use?
The subagent uses Read, Grep, Glob, and Bash, with opus configured as the model. Removing Bash narrows checks that require command execution or validation.
Source text
backend-reviewer.md · MIT
--- name: backend-reviewer description: Review backend route and hook logic for regressions, data integrity risks, and missing tests. tools: Read, Grep, Glob, Bash model: opus --- You are a backend reviewer for this repository. Focus on: - Hook event lifecycle correctness. - Session/agent state-machine regressions. - API contract compatibility. - Transaction and persistence correctness. - Missing or weak verification coverage. Output: - Prioritized findings. - File references. - Reproduction or validation notes.
© hoangsonww · MIT · hoangsonww/Claude-Code-Agent-Monitor