debug-systematically
Skill0 starsChanged 4 months agoMITView on GitHub
Reproduces software failures, isolates causal conditions, tests competing hypotheses, and either reports the supported diagnosis or implements and verifies the smallest authorized root-cause fix. Use for diagnosis or repair when the cause of a bug, crash, flaky test, incorrect output, performance regression, race condition, integration failure, or environment-specific behavior is unknown; do not use for feature development or a known-cause change that the user explicitly wants implemented test-first.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- cellrishi-code/claude-skills-atlastheir own version, first seen Oct 4, 2026
- Chrike/coding-agent-skillstheir own version, first seen Aug 4, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- cellrishi-code/claude-skills-atlas★ 4same name
- Chrike/coding-agent-skills★ 1same name
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 repository72 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- agents-md-initSkill
- analytical-frameworksSkill
- appkit-accessibility-auditorSkill
- assess-security-controlsSkill
- audit-accessibilitySkill
- automated-security-reviewSkill
- changelogSkill
- check-ai-onboard-updatesSkill
- agents-sdkSkill
- cloudflare-email-serviceSkill
- cloudflare-oneSkill
- durable-objectsSkill
- sandbox-sdkSkill
- turnstile-spinSkill
- workers-best-practicesSkill
- wranglerSkill
- cobra-commandSkill
- competitive-intelSkill
- component-scaffoldSkill
- conduct-open-source-investigationSkill
- conduct-user-researchSkill
- conventional-commitSkill
- coordinate-data-viewsSkill
- core-data-expertSkill
- data-storytellingSkill
- datavizSkill
- define-brand-foundationSkill
- dependency-vuln-scanSkill
- design-and-build-websiteSkill
- design-product-contentSkill
- design-product-interfaceSkill
- develop-apple-platform-appSkill
- develop-test-firstSkill
- evolve-design-systemSkill
- gh-issueSkill
- gh-prSkill
- gh-releaseSkill
- identity-managementSkill
- input-sanitizationSkill
- manage-vulnerability-riskSkill
- map-attack-surfaceSkill
- market-researchSkill
- measure-product-experimentsSkill
- obsidianSkill
- pr-descriptionSkill
- preserve-web-evidenceSkill
- prisma-migrateSkill
- retrieve-technical-docsSkill
- secret-managementSkill
- secret-scanSkill
- secure-codingSkill
- security-auditSkill
- shape-product-opportunitySkill
- simplify-code-safelySkill
- swift-api-design-guidelinesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
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 22
Run the smallest experiment that could disprove it.
- Distinctive: line 25
Use logs, assertions, traces, profilers, debuggers, or temporary instrumentation only where they distinguish competing causes.
- Distinctive: line 35
Add or refine a regression test that fails for the reproduced defect.
- Distinctive: line 37
Do not suppress errors, weaken assertions, add arbitrary sleeps or retries, broaden timeouts, or upgrade dependencies without evidence that …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Debug systematically
Replace guess-and-check editing with a reproducible chain from symptom to cause to verified correction.
Reproduce the failure
Capture the exact command or user path, expected result, observed result, environment, versions, input, frequency, and earliest known good state. Reduce nondeterminism where possible. If the failure cannot be reproduced, gather discriminating evidence instead of changing code speculatively.
Narrow the causal surface
- Identify the boundary where correct state first becomes incorrect.
- Compare passing and failing inputs, environments, commits, timing, or dependencies.
- Trace data and control flow across that boundary.
- Form one falsifiable hypothesis at a time.
- Run the smallest experiment that could disprove it.
- Record rejected hypotheses so they are not repeated.
Use logs, assertions, traces, profilers, debuggers, or temporary instrumentation only where they distinguish competing causes. Remove temporary instrumentation before finishing unless it has lasting operational value.
Respect the request boundary
For a diagnosis-only request, stop after identifying the supported cause, evidence, and likely correction. Implement only when the user asks to fix the bug or the request clearly includes repair.
Fix the cause
- Add or refine a regression test that fails for the reproduced defect.
- Make the smallest coherent correction at the causal boundary.
- Do not suppress errors, weaken assertions, add arbitrary sleeps or retries, broaden timeouts, or upgrade dependencies without evidence that the change addresses the cause.
- Preserve unrelated behavior and existing architecture.
Verify
Confirm the original reproduction now passes, the regression test detects the old behavior, and the relevant broader checks remain green. Exercise nearby edge cases implied by the cause. For intermittent failures, run enough repetitions to support the stability claim and report the sample.
Compose with test-browser-workflows for browser failures, a platform-specific testing skill where one
exists, and a verifier agent for independent acceptance. When the cause and intended behavior are already
known and the user wants a regression-first implementation, hand the change to develop-test-first
instead of repeating its red-green-refactor loop here.
Finish a diagnosis-only request with the supported cause, decisive evidence, likely correction, commands run, and residual uncertainty. When repair was authorized, also report the implemented fix and regression coverage.
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.

