Skip to main content

orch-fix-defect

通过把每个阶段委派给匹配的 ECC 智能体来编排 bug 修复——用失败的回归测试复现,修到绿色,审查并门控提交。用于已有行为损坏或错误的场景。

Source facts

Repository
aaione/everything-claude-code-zh
Last source activity
June 21, 2026 at 01:33
Detected SKILL.md language
Chinese
Stars
30
Forks
14

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
orch-fix-defect
description
通过把每个阶段委派给匹配的 ECC 智能体来编排 bug 修复——用失败的回归测试复现,修到绿色,审查并门控提交。用于已有行为损坏或错误的场景。
metadata
{"origin":"ECC"}
# orch-fix-defect Actor · action · target:**orch · fix · defect**。这是共享引擎 [`orch-pipeline`](../orch-pipeline/SKILL.md) 上的一层薄包装。 ## 何时使用 - 某些东西**坏了**:错误输出、报错、崩溃、回归。 - 与同系列技能区分: - 行为正确但你想让它不同 → `orch-change-feature`。 - 能力还不存在 → `orch-add-feature`。 ## 运行设置 - **默认规模下限:** small(通常可能是 trivial)。 - **阶段掩码:** 0 →(只有根因不明显或 standard+ 时才 light 2)→ 4 → 5 → 6。Research (1) 通常跳过。 - **第一步(phase 4):** 把 bug 复现为一个**新的失败**测试(回归测试),然后修到绿色。先证明 bug 存在,才把 fix 和 tweak 区分开。 ## 工作方式 1. 使用上述设置运行 `orch-pipeline` 引擎。 2. 如果根因不清楚,在红色测试前用 `code-explorer` 界定范围;构建失败升级给 `build-error-resolver` / `/build-fix`。 3. 在 **Gate 1**(仅当生成了计划)和 **Gate 2**(提交前)停止。 4. 如果缺陷位于安全敏感路径,加入 `security-reviewer`。 ## 示例 ``` 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:) ```
View on GitHub