shashank-sn/clean-code/clean-debug
Claude Code and agent skill by shashank-sn/clean-code
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Diagnose bugs and failing behavior with causal-chain discipline before fixing. Use for errors, regressions, failed tests, or stuck investigations after a bad fix.
Install
npx vskill@latest install shashank-sn/clean-code/clean-debugSKILL.md
The same SKILL.md was published earlier as shashank-sn/clean-code/clean-debug.
Clean Debug
Investigate systematically, explain the full causal chain, then fix with test-first discipline.
Workflow
- Parse the failure: stack trace, test path, issue reference, or reproduction steps.
- Reproduce the bug. Trace the code path from trigger to symptom without gaps.
- Form hypotheses. For uncertain links, make predictions testable in another scenario.
- Stop at the causal chain gate: do not fix until the chain is complete or labeled as symptom-only with evidence.
- If fixing: run or add a failing test first, apply one change, rerun affected checks through
clean-verifywhen configured. - Hand evidence to
clean-reviewwhen the fix touches behavior-bearing code.
Modes
- Interactive (default): ask whether to fix after diagnosis when appropriate.
- Pipeline (`mode:pipeline`): fix convergent root causes, defer divergent issues, return structured status.
Safety
- One hypothesis change at a time. No shotgun debugging.
- Never treat passing tests alone as proof when mutation or acceptance gaps remain.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/clean-debug/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/shashank-sn/clean-code/clean-debug)