diagnosing-bugs
Skill1 starsChanged 2 months agoMITView on GitHub
原因不明のバグ・性能劣化が出たとき、「原因を調べて」「バグを直したい」と言われたときに必ず使う。
193 other projects use a version of this.
Adopted by
Most recently taken up by
- bamlab/flashlighttheir own version, first seen Nov 16, 2026
- Floppa2003/skillstheir own version, first seen Nov 16, 2026
- endalk200/skillstheir own version, first seen Nov 16, 2026
- atiq-r/skillstheir own version, first seen Nov 16, 2026
- devdeepjs/kobayashi-marutheir own version, first seen Nov 16, 2026
- qelphybox/tg-mcptheir own version, first seen Nov 16, 2026
Used with
Projects with it also use setup-ts-deep-modules, loop-me 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.
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 49 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 62 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 66 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 101 projects that use this
LesaniSkillwriting-shape
Take a markdown file of raw material and shape it into an article through a conversational session — drafting candidate openings, growing the piece paragraph by paragraph, arguing about format (lists, tables, callouts, quotes) at each step. Use when the user has a pile of notes, fragments, or a rough draft and wants help turning it into something publishable.
Also in 63 projects that use this
AWSSkillwizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
Also in 138 projects that use this
- +1 more from Lesani
- +2 more from aws
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- mattpocock/skills★ 325ksame name
- The-Vibe-Company/quivr★ 40ksame name
- QuivrHQ/quivr★ 40ksame name
- GreyDGL/PentestGPT★ 16ksame name
- ArcReel/ArcReel★ 6.6ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.8ksame name
- withcoral/coral★ 5ksame name
- bestofjs/bestofjs★ 3.1ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- bamlab/flashlight★ 1.6ksame name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- architecture-checkSkill
- brainstormSkill
- branch-namingSkill
- codex-delegateSkill
- config-explainSkill
- config-setSkill
- cross-reviewSkill
- design-interviewSkill
- fix-ciSkill
- handoffSkill
- leakage-checkSkill
- literature-reviewSkill
- mlflow-logSkill
- multi-seedSkill
- mutation-testSkill
- paper-writingSkill
- pre-mortemSkill
- property-testSkill
- python-standardsSkill
- refactor-scoutSkill
- regression-suiteSkill
- retrospectiveSkill
- security-reviewSkill
- spec-checklistSkill
- tddSkill
The file
Files
バグ診断ループ
推測でコードを直すのではなく、以下の手順を順番に踏んで原因を特定する。 ステップを飛ばさない。
手順
- 再現(Reproduce)
- 問題が起きる最小限の入力・コマンドを確認する。
- 再現できない場合は、ここで立ち止まりユーザーに再現条件を確認する。
- 最小化(Minimise)
- 再現に必要な条件を削っていき、問題を引き起こす最小構成を特定する。
- 例: 全データセットではなく1サンプルで再現するか確認する。
- 仮説(Hypothesise)
- 原因の仮説を1つ立てる。複数の仮説がある場合は、最も検証しやすいものから 順に1つずつ検証する(同時に複数を疑わない)。
- 計測(Instrument)
- 仮説を検証するため、ログ出力・print・アサーションなどで実際の値を 確認する。推測ではなく実測する。
- この段階でのコード変更は最小限の計測コードに留める。
- 修正(Fix)
- 仮説が実測で裏付けられたら、根本原因に対する最小限の修正を行う。
- 症状を隠すだけの対症療法(例: try/exceptで握りつぶす)をしない。
- 回帰テスト(Regression-test)
- 修正後、元の再現条件で問題が解消したことを確認する。
- 可能であれば、この不具合を検出する自動テストを追加し、再発を防ぐ。
診断ログ
各ステップでの発見を .claude/plans/debug-YYYYMMDD-<topic>.md に記録する。
原因が特定でき修正方針が固まったら、その内容を Planner に渡して正式な
実装計画に落とし込んでもよい。
注意
- 途中で「たぶんこれが原因」と決めつけて修正に飛びつかない。仮説は必ず 計測で裏付けてから修正する。
- スコープ外のファイルを調査・編集しない。CLAUDE_WORK_SCOPE に従う。
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
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.

