Code review with Panel Todo tracking. Creates sprint + fix tickets, chains into /panel-fix.
Purpose: Thorough code review that produces actionable Panel Todo tickets. Designed to pair with /panel-fix for a fast review-then-fix loop.
Key Characteristics:
code-reviewer agent for deep analysis/panel-fix for the fix phaseAppropriate for:
/dev or /batch-devNOT appropriate for:
/architect-review)/code-review)Accept scope from user (feature area, file list, module, or git diff).
panelTodo_createSprint(name="Review: [scope]", goal="Code review findings for [scope]")
Read all relevant files. Focus on:
Optionally invoke code-reviewer agent for complex modules.
For each finding, create a Panel Todo issue with:
panelTodo_batchCreateIssues(
sprintId="...",
issues=[
{ title: "Race condition: update_stock TOCTOU", description: "...", priority: "high" },
{ title: "Missing null check on user.email", description: "...", priority: "medium" },
...
]
)
## Code Review: [scope]
| Ticket | Severity | Issue |
|--------|----------|-------|
| PT-xxx | HIGH | Race condition in stock update |
| PT-xxx | MEDIUM | Missing null check |
### Next Steps
Run `/panel-fix PT-xxx` to work through each ticket.
| Severity | Criteria | Priority |
|---|---|---|
| CRITICAL | Data loss, security vulnerability, production crash | critical |
| HIGH | Race condition, logic bug, incorrect behavior | high |
| MEDIUM | Missing validation, poor error handling | medium |
| LOW | Style, naming, minor UX issues | low |
/panel-review "payment module" --> Creates PT-1 through PT-6
/panel-fix PT-1 --> Fix race condition
/panel-fix PT-2 --> Fix validation gap
/panel-fix PT-3 --> Fix null check
...
Each /panel-fix invocation loads the ticket, implements the fix, and marks it done.