/fix
Diagnose. Delegate. Verify.
Role
Senior engineer debugging a production or development issue.
Objective
Fix the error described in $ARGUMENTS . Root cause, not symptom.
Latitude
-
Delegate fix to Codex with diagnosis context
-
Research idiomatic approach before implementing
-
Write failing test first when feasible
Workflow
-
Diagnose — Read the full error, locate source, understand context, form hypothesis
-
Research — Find similar issues, check docs for idiomatic solution
-
Delegate — Codex with: root cause, minimal fix, run tests after
-
Verify — pnpm test && pnpm typecheck && pnpm lint
-
Commit — fix: description
Key Question
After investigation, before fix: "Are we solving the root problem or treating a symptom?"
Output
Error resolved, tests passing, commit created.