/skill-forge-essentials:ai-debt-detectorfrom skill-forge-essentials
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.
Ships in skill-forge-essentials. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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. How often, relative to hand-written code, needs measurement in your codebase. This skill forces an audit for those specific blind spots.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
3 skills in this plugin
/session-guardUse when a long session shows drift: the agent contradicts an earlier decision, breaks a rule it followed before, lets naming or style conventions slide, loses context after compaction, or lets task scope grow. Re-anchors on the project's rule files and writes a checkpoint so work continues on solid ground./visual-edit-precisionUse when making UI/frontend changes guided by visual context, when the user selects elements visually, draws annotations, or provides screenshots alongside change requests. Also use when editing components where spatial context (element identity, DOM references, layout data) supplements text instructions.npx claudepluginhub shotcowboystyle/ag-skills --plugin skill-forge-essentials