Catalog
affaan-m/orch-fix-defect

affaan-m

orch-fix-defect

Orchestrate fixing a bug — reproduce it as a failing regression test, fix to green, review, and gated commit — by delegating each phase to the matching ECC agent. Use when existing behavior is broken or wrong.

global
origin:ECC
New~398
v1.1Saved Jul 14, 2026

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

orch-fix-defect: poller crashes on empty NWS response
→ write failing test reproducing the crash → fix to green
→ code-review → commit  [GATE 2: confirm]   (commit: fix:)
Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

72/100

Grade

B

Good

Safety

82

Quality

68

Clarity

75

Completeness

60

Summary

An orchestration skill that delegates bug-fixing work across multiple agent skills by coordinating test reproduction, root-cause analysis, fixing, review, and gated commit stages. It wraps the shared orch-pipeline engine with specialized phase masking and guardrails for defect resolution workflows.

Detected Capabilities

skill delegationorchestrationphase-gated workflowregression test creationcode review coordinationconditional escalation to specialized agents

Trigger Keywords

Phrases that MCP clients use to match this skill to user intent.

fix regression testreproduce bugdefect fix workflowgate commitbug orchestration

Use Cases

  • Reproduce a bug as a failing regression test and fix to green
  • Orchestrate a structured bug-fix workflow with code review and gated commit stages
  • Escalate build breaks and non-obvious root causes to specialized agents
  • Distinguish between broken behavior (regression) and feature requests in the fix pipeline

Quality Notes

  • Skill is well-scoped and references external dependencies (orch-pipeline, code-explorer, build-error-resolver, security-reviewer) — assumes these agents are available
  • Clear distinction between use cases (fix defect vs. change feature vs. add feature) helps prevent misuse
  • Phase mask documentation (0 → 2 → 4 → 5 → 6) is concise but could benefit from naming each phase for clarity
  • Example is concrete and illustrative — shows the expected workflow end-to-end
  • No guardrails documented for when escalation to security-reviewer should be automatic vs. optional
  • Missing: what constitutes a 'security-sensitive path' and decision logic for triggering that escalation
  • Minimal content — relies entirely on orch-pipeline skill for actual execution
Model: claude-haiku-4-5-20251001Analyzed: Jul 14, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

v1.1

Content updated

2026-07-14

Latest
v1.0

No changelog

2026-06-07

Use affaan-m/orch-fix-defect in your dev environment

Command Palette

Search for a command to run...