Orch Fix Defect
Structured bug-fixing workflow that reproduces the defect as a failing regression test before fixing it.
- CCM score
- 69 of 100
- skills.sh installs
- 6.8K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the defect-fix flow: scope root cause if unclear, failing regression test, fix to green, review, and commit
- Delegates each phase to matching ECC agents, including
code-explorer,build-error-resolver,code-review, andsecurity-reviewer - Enforces a reproduce-first rule so the bug is proven by a new failing test before any code change
- Stops at Gate 1 when a plan was produced and at Gate 2 before commit for user confirmation
Install
$ npx -y skills add affaan-m/ecc --skill orch-fix-defect -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
orch-fix-defect
Actor · action · target: orch · fix · defect. Thin wrapper over the shared
engine in orch-pipeline.
When to Use
- Something is broken: wrong output, an error, a crash, a regression.
- Distinguish from siblings:
- behavior is correct but you want it different →
orch-change-feature. - the capability does not exist yet →
orch-add-feature.
- behavior is correct but you want it different →
Operation settings
- Default size floor: small (often trivial).
- Phase mask: 0 → (light 2 only if root cause is non-obvious or standard+) → 4 → 5 → 6. Research (1) is usually skipped.
- First move (phase 4): reproduce the bug as a new failing test (regression test), then fix until it goes green. Proving the bug exists first is what separates a fix from a tweak.
How It Works
- Run the
orch-pipelineengine with the settings above. - If the root cause is unclear, scope it with
code-explorerbefore the red test; escalate build breaks tobuild-error-resolver//build-fix. - Stop at Gate 1 (only if a plan was produced) and Gate 2 (pre-commit).
- Add
security-reviewerif the defect sits in a security-sensitive path.
Example
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Debugging, Testing & QA, Agent Workflow & Planning
- First seen
- Jul 14, 2026
Questions
What does the orch-fix-defect skill do?
It orchestrates fixing a bug by first reproducing it as a new failing regression test, then fixing the code until that test passes. Each phase is delegated to the matching ECC agent, ending with a review and a gated commit. It is meant for cases where existing behavior is broken or wrong.
How do I install the orch-fix-defect skill?
Run npx -y skills add affaan-m/ecc --skill orch-fix-defect -y in your project. Once installed, the agent can take a broken behavior, write a failing test that reproduces it, and fix it to green. It can also escalate build breaks to the build-error-resolver agent.
When should I use orch-fix-defect instead of orch-change-feature or orch-add-feature?
Use it when something is broken, such as wrong output, an error, a crash, or a regression. If the behavior is correct but you want it different, use orch-change-feature. If the capability does not exist yet, use orch-add-feature.
Where does orch-fix-defect rank among debugging skills?
It is in the Debugging category on Claude Marketplaces and ranks in the top 50 there. Other skills in the category include diagnosing-bugs, safe-debug, and systematic-debugging. This skill stands out by writing a failing regression test before any fix.
More from affaan-m/ecc
All 257- Orch Refine Code6.8K
- Orch Change Feature6.8K
- Literature Review6.4K
- Scholar Evaluation5.8K
- Pubmed Database5.7K
- Gget5.5K
- Uspto Database5.5K
- Project Guidelines Example1.7K
- Agent Harness Construction1.1K
- Autonomous Agent Harness1.1K
- Continuous Learning V21.1K
- Security Review21.3K
- Video Editing19.2K
- Golang Patterns18.1K
- Backend Patterns17.8K
- Coding Standards17.6K
- Frontend Patterns17.6K
- Docker Patterns16.8K
- Golang Testing16.5K
- Python Patterns15.6K
- Springboot Patterns15.5K
- Api Design15.3K
- Market Research15.3K
- Postgres Patterns15.2K
Similar to Orch Fix Defect
More Debuggingbug-fixbobmatnyc/claude-mpm-skills490 installsSystematic bug-fix workflow covering reproduction, root cause analysis, fix verification, and regression tests.
dev-fixhoangnguyen0403/agent-skills-standard5 installsBug-fix workflow that scales from a quick regression-test fix to a full plan with approval gates.
surgical-patchjuliusbrussee/caveman134.1K installsNarrowest-layer bug fixes that preserve surrounding behavior and prove the fix with focused regression tests.
reproduce-bugn8n-io/n8n306 installsSystematic bug reproduction from a Linear ticket, producing a failing regression test with a confidence-scored report.
fix-testsneolabhq/context-engineering-kit1.3K installsRepeatable workflow that fixes all failing tests after business logic changes by orchestrating parallel developer agents.