debug_issue
Skill3 starsChanged 2 months agoMITView on GitHub
A strict, scientific debugging protocol (The "Iron Law"). No fixes allowed without root cause investigation.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- krishnakanthb13/antigravity_global_skillsedited, first seen Jul 4, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- krishnakanthb13/antigravity_global_skills★ 50100% same
Wrote their own version · 0
None found.
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 repository46 other files it gives its agents.
- agy-customizationsSkill
- antigravity-guideSkill
- api-and-interface-designSkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code_reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- create_launcherSkill
- create_skillSkill
- daily_logSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- document_apiSkill
- documentation-and-adrsSkill
- enhance_uiSkill
- frontend_designSkill
- frontend-ui-engineeringSkill
- generate_release_imageSkill
- git-workflow-and-versioningSkill
- idea-refineSkill
- idea_to_actionSkill
- impeccableSkill
- incremental-implementationSkill
- list_featuresSkill
- open_source_prepSkill
- optimize_codebaseSkill
- performance-optimizationSkill
- permissioned-githubSkill
- planning-and-task-breakdownSkill
- release_helperSkill
- repo_infographicSkill
- scaffold_testsSkill
- security-and-hardeningSkill
- security_auditSkill
- shipping-and-launchSkill
- software_architectureSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- test_runnerSkill
- ui_ux_pro_maxSkill
- update_docsSkill
- using-agent-skillsSkill
- using-ui-stackSkill
- web_performance_optimizationSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Core Principle: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST.
- Very specific: line 19
Use grep_search to find error messages in code.
- Very specific: line 20
Use view_file to inspect logic.
- Very specific: line 21
Use run_command to run reproduction scripts.
- Distinctive: line 28
Error Messages: Read the ENTIRE stack trace.
- Distinctive: line 35
MRE: Create a Minimal Reproducible Example (strip away everything else).
- Distinctive: line 39
Trace Data Flow: Follow the bad value backwards.
- Distinctive: line 45
The 3-Strike Rule: If you have tried 3 fixes and they failed, STOP.
- Distinctive: line 57
If you catch yourself saying these, STOP and return to Step 1:
- Distinctive: line 65
Binary Search: If a long script or a large commit history fails, cut it in half.
- Very specific: line 66
Targeted Instrumentation: Don't just console.log("here").
- Distinctive: line 67
Form Hypotheses & Controlled Experiments: Before changing code, write down what you think is wrong and what single change will prove it.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Systematic Debugging (The Iron Law)
Core Principle: NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST. Symptom patching is failure.
Inputs
- Issue Description: What is broken?
- Observed Behavior: What is happening instead?
- Stack Trace/Logs: (Optional) Error output.
Tooling Strategy
- Use
grep_searchto find error messages in code. - Use
view_fileto inspect logic. - Use
run_commandto run reproduction scripts.
Workflow
1. Isolation & Symptom Analysis
- Deviation: Clearly define
ExpectedvsObserved. - Error Messages: Read the ENTIRE stack trace. Do not skim.
- Environment: Dev vs Prod? Recent changes?
2. Reproduction (The MRE)
- Steps: List the exact steps to fail.
- Determinism: Is it 100% consistent or flaky?
- MRE: Create a Minimal Reproducible Example (strip away everything else).
3. Root Cause Investigation (The "Why")
- Trace Data Flow: Follow the bad value backwards. Where did it originate?
- Instrumentation: "Measure, Don't Guess." Add logs at boundaries.
- Hypothesis: Formulate: "I think X fails because Y."
4. Implementation (The Fix)
- The 3-Strike Rule: If you have tried 3 fixes and they failed, STOP.
- Observation: You likely have an architecture problem, not a bug.
- Action: Question the fundamental pattern.
- Single Change: Apply ONE fix. Test it.
5. Verification & Regression
- Verify: Does the MRE pass now?
- Regression: Did anything else break? Run
enhance_uior standard tests.
Rationalization Busting
If you catch yourself saying these, STOP and return to Step 1:
- "I'll just try this quickly..."
- "It's probably X..."
- "I don't know why this works but it does."
Advanced Debugging Strategies
- Binary Search: If a long script or a large commit history fails, cut it in half. Test which half fails. Repeat.
- Targeted Instrumentation: Don't just
console.log("here"). Log state:console.log({ user: req.user, authHeader: req.headers.authorization }). - Form Hypotheses & Controlled Experiments: Before changing code, write down what you think is wrong and what single change will prove it.
- Rubber Ducking / Write it Down: Explain the data flow step-by-step out loud (or in the prompt). The assumption gap often reveals itself.
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.

