Debug and fix issues using sleuth → kraken → arbiter chain
Investigates bugs, implements fixes with tests, and verifies solutions end-to-end.
/plugin marketplace add sethdford/claude-toolkit/plugin install workflows@claude-toolkit<description>Investigate and resolve bugs, errors, and issues.
/fix "login fails silently"
/fix "API returns 500 on POST"
/fix hook "pre-commit not running"
Spawn the sleuth agent to investigate:
Use Task tool:
subagent_type: "sleuth"
prompt: "Investigate: $DESCRIPTION
1. Reproduce the issue if possible
2. Find the root cause
3. Identify affected code
4. Report findings with confidence level"
sleuth will:
Once cause is identified, spawn kraken to fix:
Use Task tool:
subagent_type: "kraken"
prompt: "Fix the issue identified by sleuth:
Root cause: [from sleuth]
Affected files: [from sleuth]
Implement the fix following TDD:
1. Write a failing test that reproduces the bug
2. Implement the minimal fix
3. Verify test passes"
Spawn arbiter to verify:
Use Task tool:
subagent_type: "arbiter"
prompt: "Verify the fix:
1. Run all related tests
2. Check for regressions
3. Verify the original issue is resolved
4. Report results"
| Option | Effect |
|---|---|
--dry-run | Investigate only, don't fix |
--no-test | Skip test verification |
--no-commit | Don't auto-commit the fix |
After completion, summarize: