diagnose
Skill4 starsChanged 2 months agoMITView on GitHub
Disciplined diagnosis loop for bugs, failing tests, crashes, incorrect behavior, and performance regressions. Use when the user asks to debug, investigate, diagnose, find root cause, or provides an error log, stack trace, flaky behavior, or regression.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- agent-services-at/pluginstheir own version, first seen Nov 8, 2026
- Eclipter/agentstheir own version, first seen Nov 8, 2026
- venhdev/skillstheir own version, first seen Nov 8, 2026
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- DeevsDeevs/agent-systemtheir own version, first seen Nov 8, 2026
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 8, 2026
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.
victorgarciaesgiSkillzoom-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
GoogleSkillto-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
GoogleSkillto-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
simo97Skilledit-article
The user will invoke this skill to help them edit an article.
Also in 17 projects that use this
simo97Skillwrite-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
AnasX7Skillsetup-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
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- github/awesome-copilot★ 41ksame name
- epicenter-md/epicenter★ 4.8ksame name
- EpicenterHQ/epicenter★ 4.8ksame name
- CherryHQ/cherry-studio-app★ 4.1ksame name
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- formancehq/ledger★ 1.5ksame name
- getagentseal/founder-playbook★ 745same name
- victorgarciaesgi/regle★ 508same name
- amazingloft999-droid/mattpocock-skills★ 422same name
- openvetta/open-vetta★ 302same 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 repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/project-docs-prep/templates/AGENTS.mdAGENTS.md
- skills/project-docs-prep/templates/CLAUDE.mdCLAUDE.md
- deep-planningSkill
- deep-planningSkill
- deprecatedSkill
- architecture-reviewSkill
- code-reviewSkill
- tddSkill
- ui-design-engineeringSkill
- ux-ui-design-assessmentSkill
- in-progressSkill
- mcp-tool-managementSkill
- skill-managementSkill
- obsidian-canvasSkill
- obsidian-markdownSkill
- obsidian-notion-bridgeSkill
- obsidian-vault-workflowSkill
- boomz-preferencesSkill
- personal-agent-workflowSkill
- personalSkill
- automation-designSkill
- grill-with-docsSkill
- handoffSkill
- inbox-meeting-triageSkill
- markdown-reportSkill
- prompt-improvementSkill
- project-docs-prepSkill
- claim-citation-checkSkill
- daily-news-reportSkill
- github-skill-researchSkill
- project-discoverySkill
- repo-tourSkill
- research-methodologySkill
- seo-website-evaluatorSkill
- thaiSkill
- thai-addressSkill
- thai-customer-serviceSkill
- thai-date-formatSkill
- thai-festival-cardSkill
- thai-government-formSkill
- thai-id-validateSkill
- thai-invoiceSkill
- thai-pdpaSkill
- thai-resumeSkill
- thai-social-captionSkill
- thai-text-processingSkill
- thai-translateSkill
- backtest-expertSkill
- dividend-value-screenerSkill
- drawdown-circuit-breakerSkill
- exposure-coachSkill
- market-breadth-analyzerSkill
- portfolio-managerSkill
- position-sizerSkill
- tradingSkill
- trader-memory-coreSkill
- uptrend-analyzerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 13 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to find root cause before changing code.
- Distinctive: line 22
Prefer a fast deterministic signal: failing test, CLI command, curl script, browser script, replay harness, or benchmark.
- Distinctive: line 23
If flaky, raise the reproduction rate with loops, stress, narrowed timing, pinned seeds, or isolated state.
- Distinctive: line 28
Avoid fixing a nearby but different failure.
- Distinctive: line 33
Prefer the hypothesis that explains every observed breadcrumb, not only the latest one.
- Distinctive: line 36
Test one variable at a time.
- Distinctive: line 37
Prefer debugger or REPL inspection when available.
- Distinctive: line 38
Use targeted logs only at boundaries that distinguish hypotheses.
- Distinctive: line 40
Keep a short ledger of experiments and observations when the investigation has more than one branch.
- Distinctive: line 43
Write or preserve a regression signal before the fix when a correct seam exists.
- Distinctive: line 49
Delete throwaway harnesses or move them to a clearly named debug location.
- Distinctive: line 54
Stop and ask for missing artifacts when:
- Distinctive: line 60
Do not invent a fix from code reading alone unless the user explicitly asks for a speculative review.
“Common” is measured: kept by at least 6 in 10 of the 174 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Diagnose
Use this skill to find root cause before changing code.
Core Rule
Build a reliable feedback loop before committing to a hypothesis. If there is no runnable signal, create one or explain exactly what is missing.
Mantra
Reproduce, trace, falsify, validate.
Workflow
- Reproduce
- Capture exact steps, inputs, environment, command, request, fixture, or UI path.
- Prefer a fast deterministic signal: failing test, CLI command, curl script, browser script, replay harness, or benchmark.
- If flaky, raise the reproduction rate with loops, stress, narrowed timing, pinned seeds, or isolated state.
- Minimize
- Reduce the repro to the smallest case that still shows the bug.
- Confirm the minimized failure is the same symptom the user reported.
- Avoid fixing a nearby but different failure.
- Generate hypotheses
- List 3 to 5 ranked hypotheses before testing.
- For each, state a falsifiable prediction.
- Prefer the hypothesis that explains every observed breadcrumb, not only the latest one.
- Instrument
- Test one variable at a time.
- Prefer debugger or REPL inspection when available.
- Use targeted logs only at boundaries that distinguish hypotheses.
- Tag temporary logs with a unique prefix such as
[DEBUG-a4f2]. - Keep a short ledger of experiments and observations when the investigation has more than one branch.
- Fix
- Write or preserve a regression signal before the fix when a correct seam exists.
- Apply the smallest change that addresses the root cause.
- Re-run the original repro and the minimized repro.
- Clean up
- Remove temporary instrumentation.
- Delete throwaway harnesses or move them to a clearly named debug location.
- State the root cause, mechanism, fix, and verification.
Stop Conditions
Stop and ask for missing artifacts when:
- The issue cannot be reproduced locally.
- The only repro depends on an external system the agent cannot access.
- The user has logs, HAR files, screenshots, traces, or environment details that are required.
Do not invent a fix from code reading alone unless the user explicitly asks for a speculative review.
Output Format
End with:
- Reproduction signal
- Root cause
- Fix summary
- Verification commands
- Remaining risk
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.

