shashank-sn/clean-code/clean-debug

Claude Code and agent skill by shashank-sn/clean-code

Trust tier 2
  • community
LLM review pending
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-debug

SKILL.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

  1. Parse the failure: stack trace, test path, issue reference, or reproduction steps.
  2. Reproduce the bug. Trace the code path from trigger to symptom without gaps.
  3. Form hypotheses. For uncertain links, make predictions testable in another scenario.
  4. Stop at the causal chain gate: do not fix until the chain is complete or labeled as symptom-only with evidence.
  5. If fixing: run or add a failing test first, apply one change, rerun affected checks through clean-verify when configured.
  6. Hand evidence to clean-review when 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/shashank-sn/clean-code/clean-debug/badge)](https://verified-skill.com/skills/shashank-sn/clean-code/clean-debug)

Something wrong with this skill or its page? Tell us.