From ecc
Reproduces a bug as a failing regression test, then fixes until green with code and security review before gated commit.
How this command is triggered — by the user, by Claude, or both
Slash command
/ecc:orch-fix-defectThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /orch-fix-defect Manually launch the **orch-fix-defect** orchestrator: prove the bug with a red test, then fix to green. ## Usage Examples: ## What It Does Invoke the `orch-fix-defect` skill with `$ARGUMENTS` as the request. The skill (via the shared `orch-pipeline` engine) will: 1. Classify size (default floor: small, often trivial); scope root cause with `code-explorer` if unclear. 2. **Write a new failing regression test** reproducing the bug, then fix until it goes green. (Proving the bug first is what makes this a fix, not a tweak.) 3. `code-reviewer` (+ `security-rev...
Manually launch the orch-fix-defect orchestrator: prove the bug with a red test, then fix to green.
/orch-fix-defect <what is broken>
Examples:
/orch-fix-defect poller crashes on empty NWS response
/orch-fix-defect login returns 500 when email has a plus sign
Invoke the orch-fix-defect skill with $ARGUMENTS as the request. The skill
(via the shared orch-pipeline engine) will:
code-explorer if unclear.code-reviewer (+ security-reviewer if the defect sits in a sensitive path).fix: commit. → GATE 2 (confirm before commit).Use this only when behavior is broken/wrong — not for intentional changes
(/orch-change-feature) or new capability (/orch-add-feature).
If $ARGUMENTS is empty, ask the user to describe the defect.
npx claudepluginhub affaan-m/ecc --plugin ecc/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.
/bugfixExecutes end-to-end bug fix workflow: root cause analysis via 5 Whys, user review of findings, then TDD regression test + fix delivery.
/fix-bugFixes bugs systematically: investigates root cause, implements fix, adds regression tests, validates, and prevents recurrence.