Vibe Debt Scanner — AI skill for Claude Code
Scans any module for the technical debt AI coding tools generate invisibly.
How to install Vibe Debt Scanner
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open sowadalmughni/vibe-debt-scanner and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Vibe Debt Scanner does
Scans any module for the technical debt AI coding tools generate invisibly. Assigns a Debt Severity Score (1-10), outputs a PR Gate verdict (PASS / WARN / BLOCK), and provides the exact rewritten function for every finding. No vague advice.
Alternatives in AI
- Sast Skills — Collection of agent skills that turn your AI coder into a SAST scanner 620 ★
- Hol Guard — Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, M 485 ★
- Module Feature — Add a new feature (model + service + controller + views + routes + tests) to an existing module 407 ★
README
vibe-debt-scanner
A Claude Code skill that detects the specific technical debt patterns that AI coding tools generate invisibly — and outputs the exact rewritten code to remove each one.
**Vague advice is a failure state.** Every finding includes the exact offending code block and the exact replacement function. No "consider refactoring this." Just the fix.
The Problem
AI coding tools optimize for the immediate prompt. A function generated at cyclomatic complexity 5 becomes complexity 15 as edge cases are injected one prompt at a time. A list endpoint generated without pagination works on 10 rows and crashes on 10,000. Code is duplicated rather than reused because the model cannot see the existing helper patterns of the codebase.
GitClear analyzed 211 million changed lines and confirmed the pattern: copy-paste duplication rose 8x from 2021 to 2024. Refactoring activity collapsed from 25% of commits to under 10%. Every AI-assisted commit makes the next one harder.
The "Spaghetti Point" hits around month 3. Teams consistently report spending 20–30% of sprint capacity on bugs. This skill detects the signals before the wall.
Install
# Via Claude Code plugin marketplace
/plugin marketplace add sowadalmughni/vibe-debt-scanner
/plugin install vibe-debt-scanner@vibe-debt-scanner
# Manually — personal (follows you across projects)
mkdir -p ~/.claude/skills
git clone https://github.com/sowadalmughni/vibe-debt-scanner ~/.claude/skills/vibe-debt-scanner
# Manually — project-level
mkdir -p .claude/skills
git clone https://github.com/sowadalmughni/vibe-debt-scanner .claude/skills/vibe-debt-scanner
Quick Score
bash .claude/skills/vibe-debt-scanner/scripts/score-module.sh ./src/users
Output:
═══════════════════════════════════════════════════
DEBT SEVERITY SCORE: 7 / 10
PR GATE: 🔴 BLOCK
Action: Refactor required before merge
═══════════════════════════════════════════════════
TOP DEBT CONTRIBUTORS:
→ N
Related Skills
Codemap Skill
🧹 A code janitor for AI agents — map any codebase into functional modules, score every module 0-100 for tech
Silent Failure Scanner
Scan AI outputs for silent failures: placeholders, empty stubs, hedging, no-progress repeats, hallucination ma
Prompt Injection Scanner
A zero-dependency Python CLI that scans READMEs, SKILL files, and source code for prompt-injection patterns ta
Windows Computer Use Notes
Field notes for AI agents driving Windows apps on a shared desktop: act on minimized windows invisibly, stop t
Contextpack
Compile a repository into a lean, reusable context bundle for AI agents (Claude, GPT, Codex, Cursor): architec
Erd UX Review
Review the rendered dbdocs ERD's UI/UX (overview + model-page "Related ERD") against a real dbt project — inst
Related Agents
Hygiene Synthesizer
Combines all tool outputs and agent findings into unified health report. Generates architecture.md, calculates
Secrets Auditor
Credential scanner — scans staged diff and working tree for secrets, tokens, and credentials. Groups findings
Parallel Review Synthesizer
Synthesizes chunk-reviewer outputs plus 3 specialist workers into a BLOCKED/WARN/OK verdict. Invoked only by p