How this command is triggered — by the user, by Claude, or both
Slash command
/pokayokay:fix <bug-description-or-task-id>Files this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Bug Fix Workflow Fix bug: `$ARGUMENTS` ## Mode Selection Check `$ARGUMENTS` for `--thorough` flag: - **Default (light pipeline)**: Implementer agent only, coordinator self-reviews. - **`--thorough`**: Full agent pipeline. Read and follow `skills/work-session/references/bug-fix-pipeline.md` instead of this command. Stop reading here. ## Bug Fix Philosophy 1. **Reproduce first**: Confirm the bug exists and understand conditions 2. **Diagnose root cause**: Don't just fix symptoms 3. **Fix with minimal change**: Avoid scope creep 4. **Verify the fix**: Confirm bug is resolved 5. **Add re...
Fix bug: $ARGUMENTS
Check $ARGUMENTS for --thorough flag:
--thorough: Full agent pipeline. Read and follow skills/work-session/references/bug-fix-pipeline.md instead of this command. Stop reading here.If $ARGUMENTS is a task ID:
npx @stevestomp/ohno-cli get <task-id>
If $ARGUMENTS is a description:
npx @stevestomp/ohno-cli create "Bug: $ARGUMENTS" -t bug
npx @stevestomp/ohno-cli start <task-id>
Before fixing, confirm:
If cannot reproduce:
Investigate:
git log)Document findings:
## Root Cause
[Explanation of why the bug occurs]
Before coding:
Read agents/templates/implementer-prompt.md and fill these variables:
| Variable | Value |
|---|---|
{TASK_ID} | Task ID from Step 1 |
{TASK_TITLE} | Task title from Step 1 |
{TASK_DESCRIPTION} | Root cause + reproduction steps + fix strategy from Steps 2-4 |
{ACCEPTANCE_CRITERIA} | See below |
{CONTEXT} | Bug fix context block (see below) |
{RELEVANT_SKILL} | error-handling |
{WORKING_DIRECTORY} | Project root |
{RESUME_CONTEXT} | Empty |
Acceptance criteria to use:
- [ ] Bug described in root cause is fixed
- [ ] Regression test exists (fails without fix, passes with fix)
- [ ] All existing tests pass
- [ ] Fix is minimal — no refactoring, no "while I'm here" changes
- [ ] Commit message follows: fix: [description]
Context block to use:
## Bug Fix Context
### Root Cause
{from Step 3}
### Reproduction Steps
{from Step 2}
### Files to Change
{from Step 4}
### Fix Strategy
{from Step 4}
### MANDATORY: Regression Test
Write a test that reproduces the original bug condition, FAILS without the fix, and PASSES with the fix.
Dispatch:
Task tool:
subagent_type: "pokayokay:yokay-implementer"
description: "Fix: {task title}"
prompt: [filled implementer-prompt.md]
mode: "bypassPermissions"
Do NOT dispatch review agents. Verify the result yourself:
Check the implementer's report:
Run the test suite:
yokay-fixer with test output. Max 2 attempts.Self-review the diff:
npx @stevestomp/ohno-cli done <task-id> --notes "Root cause: X. Fixed by: Y. Test: Z"
## Bug Fix Complete
**Bug**: [task-id] - [description]
**Root Cause**: [explanation]
**Fix**: [summary of changes]
**Regression Test**: [test file/name]
**Files Changed**: [list]
Commit: [hash] fix: [message]
--thorough: Use full agent pipeline (implementer + spec review + quality review). Reads bug-fix-pipeline.md. Higher context cost.npx claudepluginhub srstomp/pokayokay --plugin pokayokay/flow-fix-pipelineRuns a compressed bug fix pipeline for flow's --fix mode. Adapts triage levels from full bug+debug+fix+review+PR to quick single-pass fix. Covers documentation, root cause analysis, implementation, and PR creation.
/bugfixInvestigates, fixes, and verifies a bug using a multi-agent workflow with root-cause analysis, user confirmation, and automated regression tests.
/hatch3r-bug-pipelineRuns a known-cause bug fix through a 3-phase test-first pipeline: reproduce + root-cause, regression-test + fix, then root-cause-depth review with sub-agent delegation.
/bugfixGuides a full bugfix lifecycle from gathering details to verification, with human approval gates and auto-fix retries. Uses agent collaboration and artifact tracking.
/debugRuns structured debugging with parallel agents: traces bugs via phases, diagnoses root causes with evidence, proposes minimal fixes, executes after approval. Tracks in tasks/todo.md.