本文へスキップ
Skillpedia
デプロイとクラウド(DevOps)280k · #375

orch-fix-defect

できること

このツールは、コンピュータープログラムのバグを修正するのに役立ちます。まずバグを失敗するテストとして再現し、そのうえで修正します。最後に、修正内容を確認して保存します。

使う場面

  • ✓プログラムが期待どおりに動かないとき(エラー、クラッシュ、誤った出力など)。
  • ✓以前は動いていた動作が機能しなくなったとき。
  • ✓特定のバグが再び起きないようにしたいとき。

スキルのリンク

https://github.com/affaan-m/ECC/blob/main/skills/orch-fix-defect/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/affaan-m/ECC/blob/main/skills/orch-fix-defect/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“空の応答を受け取るとプログラムがクラッシュするバグを修正してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールはまず、バグを示すテストを作成します。次に、そのテストが通るまでコードを修正します。最後に、修正内容を確認して保存します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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:)
よくある質問

バグ修正と機能の変更の違いは何ですか?

バグ修正は、壊れているものを直すことです。機能の変更は、すでに動いているものを、違う動きをさせるために変えることです。

バグの原因がはっきりしない場合はどうなりますか?

このツールは、修正を試みる前に原因を調べる手助けをすることができます。

修正内容はいつ保存されますか?

確認と承認を経てから保存されるため、問題が正しく解決されたことを確かめられます。

詳細

作者による元の説明

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.

repo: affaan-m/ECC

人気

GitHubのスター
280k
ランキング
#375
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル