troubleshoot
Skill2 starsChanged 15 days agoMITView on GitHub
- Invoke for failures, regressions, unclear errors, flaky behavior, broken tests, build issues, runtime faults, or unexpected output. - Execute immediately upon invocation. Don't wait for confirmation. - Observe real behavior, test one hypothesis at a time, fix proven root causes, and verify the result. - Identify the root cause with evidence. - Apply the smallest safe fix. - Prove the fix through targeted tests and the strongest relevant check. Determine input by one of the following: - Issue, symptom,…
27 other projects use a version of this.
Adopted by
Most recently taken up by
- naman10parikh/pennytheir own version, first seen Nov 8, 2026
- synchronicity-labs/skillstheir own version, first seen Nov 8, 2026
- naman10parikh/wikimemtheir own version, first seen Nov 8, 2026
- google/ml-workload-debugging-wikitheir own version, first seen Nov 1, 2026
- naman10parikh/turbotheir own version, first seen Oct 25, 2026
- naman10parikh/pixeltheir own version, first seen Oct 25, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation 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.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
MicrosoftSkillact-on-feedback
Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.
Also in 3 projects that use this
MicrosoftSkillgenerate-run-commands
Generate or modify run commands for the current session. Use when the user wants to set up or update run commands that appear in the session's Run button.
Also in 3 projects that use this
KirchliveSkillskill-routing
Decides which of the installed skills a task needs and loads them before the work starts. This skill should be used at the beginning of any multi-step task — build, fix, refactor, migrate, review, plan, release, research, write, design, video — and again at every phase change, after context compaction, and when work moves into a different part of the codebase. Use it for requests like "let's build X", "fix this bug", "refactor Y", "plan the migration", "review this", and also when the user asks which skill applies, why a skill did not fire, or asks to check what is available.
Also in 5 projects that use this
sublimotionSkillagent-runtime
Launch and manage detached agent runs on EKS via the agent-runner CLI. Use when the user says "launch an agent run", "agent runtime", "agent-runner", "run this spec on the cluster", "check run status", "agent run logs", or "stop a run". Do NOT use for writing the agent-runner code itself (edit the sibling ../agent-runner repo), Terraform of the foundation (use terraform-automation), or GPU serving deployments (use infra-deployer).
Also in 5 projects that use this
- +6 more from naman10parikh
Other versions27 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 27
- microsoft/vscode★ 195ksame name
- DeL-TaiseiOzaki/claude-code-orchestra★ 199same name
- serithemage/serverless-openclaw★ 196same name
- Azure-Samples/art-voice-agent-accelerator★ 74same name
- cafferychen777/ChatSpatial★ 45same name
- microsoft/Employee-Self-Service-Agent-Developer-Kit★ 29same name
- google/ml-workload-debugging-wiki★ 20same name
- laaielichter/Reverseport★ 18same name
- jamie8johnson/cqs★ 15same name
- managelm/claude-extension★ 9same name
17 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 repository21 other files it gives its agents.
- auto-commitSkill
- cleanSkill
- code-reviewSkill
- coverageSkill
- documentSkill
- purifySkill
- puritySkill
- refactorSkill
- spae-buildSkill
- spae-checkSkill
- spae-fixSkill
- spae-inspectSkill
- spae-orchestrateSkill
- spae-planSkill
- spae-prepareSkill
- spae-spawnSkill
- spae-specSkill
- spae-verifySkill
- structureSkill
- testSkill
- tipSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 14 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 22 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Run the targeted check; on rejection, return to PLAN.
- Distinctive: line 60
After 3 rejections, trace data flow from entry point.
- Very specific: line 61
Read references/testing-guide.md.
- Distinctive: line 81
Don't fix until the test confirms the hypothesis.
- Distinctive: line 82
After 3 failed hypotheses, stop generating new ones and trace data flow from the entry point.
- Distinctive: line 84
When coexisting issues or expensive reproduction arise, assess severity and scope before observing.
- Distinctive: line 87
Prefer evidence from real failures over inference.
- Distinctive: line 93
No Confirmation Halts: Never halt to request user confirmation mid-investigation.
- Distinctive: line 96
Don't broaden scope beyond the failure under investigation.
- Distinctive: line 97
Don't mask failures, weaken tests, or remove coverage to pass checks.
- Distinctive: line 98
Don't leave speculative changes after a hypothesis fails.
- Very specific: line 99
No violations of DRY and SOLID software principles.
- Distinctive: line 100
No workarounds, hacks, or shortcuts.
- Very specific: line 103
Never edit build or tool configuration files.
- Very specific: line 106
Never suppress or disable compiler or linter diagnostics.
- Very specific: line 108
Never weaken type contracts to silence errors.
- Distinctive: line 113
All test suites pass without any issues.
- Very specific: line 118
No self-introduced cleanup violation remains per references/cleanup-guide.md.
- Distinctive: line 125
Keep prose terse while ensuring clarity.
- Distinctive: line 128
Use lists and sub-lists for long sentences and dense paragraphs.
“Common” is measured: kept by at least 6 in 10 of the 22 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
Troubleshoot
When to use
- Invoke for failures, regressions, unclear errors, flaky behavior, broken tests, build issues, runtime faults, or unexpected output.
- Execute immediately upon invocation. Don't wait for confirmation.
Goal
- Observe real behavior, test one hypothesis at a time, fix proven root causes, and verify the result.
- Identify the root cause with evidence.
- Apply the smallest safe fix.
- Prove the fix through targeted tests and the strongest relevant check.
Input
Determine input by one of the following:
- Issue, symptom, error, failing command, stack trace, or test failure provided by the user.
- Current repository state and failing verification when the user gives only a broad troubleshooting request.
Testing
See references/testing-guide.md for test structure, isolation,
mocking, assertion, and performance standards.
Shell commands
See references/shell-command-guide.md for command safety, timeouts,
redirects, and non-interactive environment directives.
Cleanup
See references/cleanup-guide.md for the self-introduced-artifact
checklist and diff-only audit scope.
Workflow
- GATE—Require an actionable symptom: error, failure, trace, or incorrect output. Halt with a diagnostic if none exists.
- ORIENT—Name the failure and scope in one sentence. State what won't change.
- PLAN—Read
references/shell-command-guide.md. State one likely root cause and one targeted check to confirm or reject it. - ACT—Execute:
- Reproduce the failure.
- Run the targeted check; on rejection, return to PLAN.
- After 3 rejections, trace data flow from entry point.
- Read
references/testing-guide.md. Write a failing test reproducing the root cause, when practical. - Apply the smallest safe fix after evidence confirms.
- VERIFY—Loop over every criterion declared in PLAN:
- Audit the task's own
git diff/git statusagainst the Self-cleanup checklist inreferences/cleanup-guide.md; remove every self-introduced artifact before proceeding. - For each unmet criterion: revert the fix, return to ACT, execute, then re-enter VERIFY.
- Exit only when all criteria pass.
- Halt only for out-of-scope blockers (missing external services, credentials, or hardware dependencies).
- Audit the task's own
- PERSIST—Write all fix artifacts once, atomically, after VERIFY passes. Never precedes VERIFY. Never partial.
- REPORT—Emit the result following the result directives and using the result template.
Directives
- Work one hypothesis at a time.
- Don't fix until the test confirms the hypothesis.
- After 3 failed hypotheses, stop generating new ones and trace data flow from the entry point.
- When coexisting issues or expensive reproduction arise, assess severity and scope before observing.
- Fix root causes, not symptoms.
- Prefer evidence from real failures over inference.
- State missing evidence plainly. If you didn't run a check, say so.
- Fix contract mismatches and unhandled failure paths explicitly.
Constraints
- No Confirmation Halts: Never halt to request user confirmation mid-investigation; fix proven root causes autonomously or report diagnostic findings.
- Don't broaden scope beyond the failure under investigation.
- Don't mask failures, weaken tests, or remove coverage to pass checks.
- Don't leave speculative changes after a hypothesis fails.
- No violations of
DRYandSOLIDsoftware principles. - No workarounds, hacks, or shortcuts.
- Forbid laziness; fix issues properly, correctly, and idiomatically; for example, don't add lint ignore comments.
- Never edit build or tool configuration files; for example,
tsconfig.json,.eslintrc.*,webpack.config.*,vite.config.*,jest.config.*,Makefile,pyproject.toml,Cargo.toml. - Never suppress or disable compiler or linter diagnostics; for example,
@ts-ignore,eslint-disable,@SuppressWarnings,# type: ignore. - Never weaken type contracts to silence errors; for example,
as any,!non-null assertions, or broadening union types.
Verification
- All test suites pass without any issues.
- Reproduced the failure before the fix when practical.
- Root cause identified with evidence.
- Fix covered by a test when practical.
- Strongest relevant checks pass.
- No self-introduced cleanup violation remains per
references/cleanup-guide.md. - Report remaining risks or skipped checks plainly.
Result directives
- Minimum words. Maximum signal.
- Keep prose terse while ensuring clarity.
- Optimize prose for agent, token, and context efficiency.
- Split actions, findings, and summaries into terse bullet points.
- Use lists and sub-lists for long sentences and dense paragraphs.
- Emit the result template as live markdown—never in a code fence.
- Output nothing outside the template.
Result template
<!-- prettier-ignore-start -->### Execution Summary
- **Actions**:
- [Terse list of actions taken]
- **Files**:
- [Terse list of affected files]
- **Findings**:
- [Terse list of notable findings]
- **Summary**:
- [Terse list of summary of changes]
> **Troubleshoot Status** • `[scope]`
> **Result**: [Fixed | No Action | Failed]
> **Impact**: [Terse impact statement]<!-- prettier-ignore-end -->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.

