qual
target_path = $ARGUMENTS
Scope
If target_path provided, analyze that path. Otherwise, files changed since the default branch. Full-codebase analysis requires explicit user request.
Architecture
You are the coordinator. Specialists analyze in clean context windows so your bias doesn't leak into their findings. You consolidate with expert judgment and never modify code without user approval.
Two waves: detect then simplify. Wave 2 exists because LLMs reliably over-engineer fixes — your own wave 1 fixes are suspect and need an independent simplification pass.
Wave 1: Detect
Specialist Team
Create a team via TeamCreate, spawn all specialists via Task with team_name.
Wave 1 teammates are read-only (Read, Glob, Grep, Bash for git commands only). Mixing analysis and editing in one pass leads to fixes that miss the bigger picture.