Use after generating code, after accepting AI suggestions, or when reviewing AI-written modules. Also use when code works but feels brittle, when error handling seems thin, when orphaned resources or missing cleanup are suspected, or when the agent claims done but hidden debt may exist. Catches the specific failure patterns AI agents produce that humans would not.
AI agents generate code that passes the happy path but hides debt: missing error handling, orphaned resources, ignored failure modes, hallucinated packages, silent architectural drift. This skill forces a targeted audit for the exact patterns AI agents get wrong.
After code generation, scan for these AI-specific debt patterns:
FAILURE MODES - What happens when this fails?
ORPHANS - What gets created but never cleaned up?
EDGE CASES - What inputs break this?
HALLUCINATED DEPS - Do all imports actually exist?
ARCHITECTURAL DRIFT - Does this match the project's patterns?
catch (e) {} or catch (e) { console.log(e) } - swallowed errorfinally block when resources were opened// TODO: handle error - AI's way of puntingAI agents systematically optimize for "looks correct" and "passes the happy path." They miss failure modes, orphan resources, and hallucinate dependencies at rates significantly higher than manual code. This skill forces an audit for those specific blind spots.
Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/ai-debt-detector · pinned to the source commit
# Run from your project root
git clone https://github.com/wshobson/agents.git .skillboard-tmp
git -C .skillboard-tmp checkout 38e19c20d2b154510b0e624a2e3e186b19b5c527
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/plugins/skill-forge-essentials/skills/ai-debt-detector" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/wshobson/agents.git .skillboard-tmp
git -C .skillboard-tmp checkout 38e19c20d2b154510b0e624a2e3e186b19b5c527
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/plugins/skill-forge-essentials/skills/ai-debt-detector" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/ai-debt-detector
Scanner static-checks@0.1.0 · commit 38e19c20d2b1. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.