affaan-m avatar

Orch Fix Defect

When you've got a bug, this orchestrates the full repair cycle: reproduce it as a failing test first, fix it until green, review, then commit. It's the ECC workflow distilled to defect repair specifically, skipping research phase since you already know something's broken. The discipline of red test first is the key move here. It gates at plan review (if generated) and pre-commit, and knows to pull in security review if you're touching sensitive code. If you're changing behavior intentionally rather than fixing what's wrong, you want orch-change-feature instead. Solid structure for turning bug reports into committed fixes without skipping steps.

skills.sh installs
4.8K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill orch-fix-defect --agent claude-code

Installs into .claude/skills of the current project.

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.

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

  1. Run the orch-pipeline engine with the settings above.
  2. If the root cause is unclear, scope it with code-explorer before the red test; escalate build breaks to build-error-resolver / /build-fix.
  3. Stop at Gate 1 (only if a plan was produced) and Gate 2 (pre-commit).
  4. Add security-reviewer if the defect sits in a security-sensitive path.

Example

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Testing & QA, Git & Pull Requests, Code Review & Quality, AI & Agent Building, Debugging, Automation & Workflows
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263
1anthropics avatarstatistical-analysisanthropics/knowledge-work-pluginsApply statistical methods including descriptive stats, trend analysis, outlier detection, and hypothesis testing. Use when analyzing distributions, testing for 4.8Kskills.sh installs
2yaklang avatarhackyaklang/hack-skillsEntry P0 primary router for HackSkills. Use when the task involves web application testing, API security assessment, recon, vulnerability triage, exploit path p4.6Kskills.sh installs
3tradermonty avatarbacktest-experttradermonty/claude-trading-skillsExpert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. C4.5Kskills.sh installs
4dpearson2699 avatarios-localizationdpearson2699/swift-ios-skillsImplement, review, or improve localization and internationalization in iOS/macOS apps — String Catalogs (.xcstrings), generated localizable symbols, stable key 4.5Kskills.sh installs
5okx avatarokx-x402-paymentokx/onchainos-skillsDEPRECATED legacy alias — x402 + MPP support has been merged into `okx-agent-payments-protocol` (see `references/exact.md`, `references/aggr_deferred.md`, `refe4.4Kskills.sh installs
6agricidaniel avatarads-creativeagricidaniel/claude-adsAudit paid-ad copy, images, video, hooks, concepts, format coverage, platform-native fit, message match, creative fatigue, accessibility, and policy across supp4.4Kskills.sh installs