omh-build-failure-triage
できること
ビルドやCIの失敗をログから分類し、根本原因の仮説を立てて、最小限の修正と再実行の計画を提案します。ビルドやCIのチェックが失敗している開発者が対象です。
使う場面
- ✓ビルド、コンパイル、またはCIのチェックが失敗し、理由を知りたいとき。
- ✓プルリクエストでテストやリントのジョブが赤くなっているとき。
- ✓失敗しているチェックに対して、最小限の修正計画と再実行の計画が欲しいとき。
スキルのリンク
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-build-failure-triage/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“Python 3.12のテストジョブが、私のプルリクエストで失敗しました。ログを読んで、最も小さく安全な修正を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは失敗ログを読み解き、失敗をまとめ、根本原因の仮説を立て、最小限の修正と再実行の計画を提案します。再実行で確認されるまでは、チェックが通ったとは言いません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Build Failure Triage
This is an OMH build-failure-triage workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
build-failure-triage adapts ECC's build-fix and PR-test-analysis posture into an OMH-native workflow so failed checks become evidence-backed minimal handoffs instead of ad hoc debugging or false-green verification claims.
Do Not Use When
- The user needs a pre-merge evidence matrix for passing or missing checks; use
omh-verification-gate. - The user needs a code review of changed behavior rather than failing command triage; use
omh-code-review. - The user needs broad production readiness; use
omh-production-audit. - The user asks for incident or SLO review after deployment; use
omh-reliability-review. - A test passes on some runs and not others, or the code returns a wrong value whose cause is unknown; use
omh-app-debugging.
Examples
Good example:
- Prompt: build-failure-triage PR 체크에서 Python 3.12 test가 실패했는데 로그를 기준으로 최소 수정 handoff 만들어줘.
- Expected behavior: Prepare failure_log_digest/v1, failure_cluster_matrix/v1, root-cause hypotheses, minimal_fix_handoff/v1, rerun_plan/v1, and a FIX_READY verdict without claiming CI is fixed.
- Why: The request is about a failing check and needs evidence-bound triage before implementation or rerun claims.
Bad example:
- Prompt: build-failure-triage 로그는 없지만 CI 고쳤고 머지 가능하다고 말해줘.
- Expected behavior: Return NEEDS_MORE_LOGS for missing failure evidence, or ROUTE_TO_VERIFICATION_GATE when a fix/pass claim needs fresh observed reruns.
- Why: Triage without fresh failure or rerun evidence cannot prove fixes, CI, or merge-readiness.
Completion Checklist
- The failing command/job, freshness, exit status, and log/source boundary are explicit.
- Failure clusters separate syntax/type/lint/test/dependency/config/environment/DCO causes.
- The proposed remediation is minimal, scoped to affected files, and separated from implementation evidence.
- Every cluster carries an origin, and no FIX_READY handoff covers a
pre_existingorunknownone. - The rerun ladder names targeted, broad local, CI, and DCO checks without claiming they already passed.
- The final verdict is FIX_READY, NEEDS_MORE_LOGS, BLOCKED_BY_ENVIRONMENT, or ROUTE_TO_VERIFICATION_GATE.
Recovery Notes
- If the log is missing or stale, ask for the smallest fresh command output or CI job URL.
- If the failure looks environmental or credentialed, mark BLOCKED_BY_ENVIRONMENT and avoid patch handoff.
- If a fix has already been applied, route to verification-gate for fresh evidence instead of re-triaging stale failures.
When to Use
Use when Hermes must inspect a failing build, typecheck, lint, test, CI, or DCO signal and prepare the smallest evidence-backed remediation handoff without redesigning the system.
Strong routing signals: `build-failure-triage`, `build failure triage`, `build failure`, `build-failure`, `build fix`, `build failed`, `build failing`, `compile error`, `compilation error`, `typecheck failed`, `typecheck failure`, `type check failed`, `tsc failed`, `lint failed`, `lint failure`, `test failed`, `test failure`, `tests failed`, `ci failed`, `ci failure`, `github actions failed`, `pr checks failed`, `pr check failure`, `dco failed`, `dco failure`, `pytest failed`, `pytest failure`, `cargo build failed`, `npm build failed`, `ビルド失敗`, `ビルドが失敗`, `コンパイルエラー`, `型チェック失敗`, `テストが落ちる`, `빌드 실패`, `배포 파이프라인`, `파이프라인 깨짐`, `파이프라인 실패`, `배포 실패`, `CI 실패`, `빌드 고쳐`, `컴파일 에러`, `타입체크 실패`, `테스트 실패`, `체크 실패`, `DCO 실패`, `сборка упала`, `ci красный`, `ci упал`, `почини сборку`, `ошибка сборки проекта`, `тесты падают`, `билд не проходит`, `пайплайн упал`, `почему падает ci`, `красный ci`, `ошибка компиляции`, `ошибку компиляции`, `构建失败`, `編譯錯誤`, `编译错误`, `类型检查失败`, `测试失败`, `build gagal`, `bantu perbaiki error kompilasi`, `cek penyebab pipeline CI gagal`, `typecheck gagal`, `tolong beresin lint yang gagal`, `tes gagal di CI`, `build thất bại`, `giúp sửa lỗi biên dịch`, `kiểm tra nguyên nhân pipeline CI thất bại`, `typecheck thất bại`, `hãy sửa lỗi lint thất bại`, `kiểm thử thất bại trên CI`
Catalog Metadata
Category: verification
Phase: build-failure-triage
Quality tier: build-failure-triage-gated
Reasoning demand: standard
Quality bar:
- Group failures by root cause and dependency order, not by raw log order alone.
- Recommend the smallest safe fix path and name when no fix is justified without more logs.
よくある質問
失敗しているチェックを自分で直しますか?
修正の引き継ぎを準備します。何かが直ったと言えるのは、再実行で確認された後です。
たまにしか失敗しないテストはどうなりますか?
断続的な失敗は、別のアプリのデバッグスキルで扱われます。
変更のコードをバグの観点からレビューしますか?
いいえ。バグを優先する変更のレビューは、別のスキルです。
詳細
作者による元の説明
[omh] Build or CI failure to triage: classify build, typecheck, lint, test, CI, and DCO failures into minimal safe fix handoffs. Use when the user says: build-failure-triage, build failure triage, build failure, build-failure, build fix, build failed, build failing, compile error.
repo: rlaope/oh-my-hermes
人気
- GitHubのスター
- 5.1k
- ランキング
- #15082
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
omh-accessibility-audit
5.1kエージェントが、画面やフローのアクセシビリティ上の不足(キーボードでの操作、スクリーンリーダーのラベル、コントラスト、タッチの対象の大きさなど)を確認できるよう支援します。
omh-adversarial-consensus
5.1kエージェントが、技術的な提案を、いくつかの独立した視点から攻撃して、それに踏み切る前に検証し、生き残った点を要約できるよう支援します。
omh-agent-debug
5.1kエージェントが、ほかのAIエージェントがなぜ止まっているか、ループしているか、方向を外れているかを突き止め、最も小さく安全な回復方法を提案できるよう支援します。
omh-agent-instructions
5.1kエージェントが、AIツールにプロジェクトでの作業方法を伝える指示ファイル(AGENTS.mdやCLAUDE.mdなど)を書いたり更新したりできるよう支援します。
似ているスキル
test-driven-development
311k機能や修正を作る前に、まず失敗するテストを書き、それが失敗するのを確認してから、合格させる最小のコードを書くようエージェントに教えます。
verification-before-completion
311kタスク、修正、ビルドが完了した、または合格したと主張する前に、実際のチェックを実行し、その出力を読むようエージェントに教えます。
migrate-to-shoehorn
310kテストファイル内の危険な型キャストを、shoehornライブラリに置き換え、テストが部分的なデータを使いつつ型チェックを通るようにします。