agentleFS
morodomimorodomi/dev-crew/skills/diagnose/SKILL.md

diagnose

Skill1 starsChanged 26 days agoMITView on GitHub

複雑なバグの並列仮説調査。Subagent/Agent Teams両モード対応。「原因調査」「investigate」「diagnose」で起動。

193 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use zoom-out, to-prd and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • victorgarciaesgiSkill

    zoom-out

    Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

    Also in 61 projects that use this

  • GoogleSkill

    to-prd

    Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 56 projects that use this

  • GoogleSkill

    to-issues

    Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.

    Also in 53 projects that use this

  • simo97Skill

    edit-article

    The user will invoke this skill to help them edit an article.

    Also in 17 projects that use this

  • simo97Skill

    write-a-skill

    Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.

    Also in 44 projects that use this

  • AnasX7Skill

    setup-pre-commit

    Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

    Also in 27 projects that use this

  • +4 more from simo97

The file

Files
SKILL.md

TDD Diagnose Phase

複雑なバグに対し、複数の仮説を並行調査し根本原因を特定する。

Progress Checklist

DIAGNOSE Progress:
- [ ] バグ情報収集(カテゴリ・重要度・症状)
- [ ] 仮説生成(3つ以上)
- [ ] 調査実行(モード自動選択)
- [ ] 結果統合・分岐判定
- [ ] Cycle doc更新 → 完了メッセージ表示

Workflow

Step 1: バグ情報収集

1a. AskUserQuestion で構造化入力:

  • バグカテゴリ: regression / new behavior / intermittent / performance degradation
  • 重要度: blocking development / blocking users / workaround exists

1b. 続けて自然言語で質問:

  • 「エラーメッセージやログを貼り付けてください」
  • 「関連するファイルパスがあれば教えてください」

詳細: reference.md

Step 2: 仮説生成

収集した情報から原因候補を 3つ以上 リスト:

#仮説調査方針
H1[原因候補1][検証方法]
H2[原因候補2][検証方法]
H3[原因候補3][検証方法]

仮説テンプレート: reference.md

Step 3: 調査実行

CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS 環境変数でモードを選択:

環境変数モード手順
有効 (1)討論型 (Agent Teams)steps-teams.md
無効 / 未設定並行型 (Subagent)steps-subagent.md

Step 4: 調査結果統合

各仮説の検証結果を集約し、分岐判定:

根本原因が特定された場合 (Identified)

→ Cycle doc に根本原因を記録、Step 5 へ

2-3候補に絞込まれた場合 (Narrowed)

→ AskUserQuestion で候補からユーザーが選択、Step 5 へ

不明・全仮説否定の場合 (Inconclusive)

調査結果が不明確です。
1. 仮説を追加して再調査(最大2回まで)
2. 手動調査へエスカレート(現時点の発見事項を記録)

再調査2回で未解決の場合、選択肢2へ強制遷移。

Step 5: Cycle doc 更新 → 完了

調査結果を Cycle doc に記録。

================================================================================
DIAGNOSE完了
================================================================================
根本原因を特定し、Cycle docに記録しました。

次のステップ:
- Orchestrate使用時: 自動的にsync-planが実行されます
- 手動実行時: /spec でTDDコンテキスト設定を開始してください
================================================================================

Reference

  • 詳細: reference.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.