Ai debt detector

From FridrichMethod/awesome-skills · View interactive version

Ai debt detector is an AI agent skill from the GitHub repository FridrichMethod/awesome-skills. 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

How to use this skill

Skill file

AI Debt Detector

Overview

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.

When to Use

Process

After code generation, scan for these AI-specific debt patterns:

  1. FAILURE MODES - What happens when this fails?
  1. ORPHANS - What gets created but never cleaned up?
  1. EDGE CASES - What inputs break this?
  1. HALLUCINATED DEPS - Do all imports actually exist?
  1. ARCHITECTURAL DRIFT - Does this match the project's patterns?

Red Flags (stop and fix immediately)

Common Mistakes

Why This Exists

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.