[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F1RNZ71WH8ZF45G2RSHEQ0":3,"skill-same:01M7F1RNZ71WH8ZF45G2RSHEQ0":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F1RNZ71WH8ZF45G2RSHEQ0","ai-debt-detector",null,"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.","shotcowboystyle\u002Fag-skills","shotcowboystyle","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F62471?v=4","01M7EZTCFCZJ6K3MYW8BPM4X6R","Curtis Blanton","01M7EZTCG1S5M04J90A931X9BX",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fskill-forge-essentials\u002Fskills\u002Fai-debt-detector\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: ai-debt-detector\ndescription: >-\n  Use after generating code, after accepting AI suggestions, or when reviewing\n  AI-written modules. Also use when code works but feels brittle, when error\n  handling seems thin, when orphaned resources or missing cleanup are suspected,\n  or when the agent claims done but hidden debt may exist. Catches the specific\n  failure patterns AI agents produce that humans would not.\n---\n\n# AI Debt Detector\n\n## Overview\n\nAI 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.\n\n## When to Use\n\n- After an AI code generation session that produced more than a trivial edit\n- Before merging AI-generated PRs\n- When code works but something feels off\n- After a fast prototyping sprint with little review\n- When the agent claims done without showing verification\n\n## Process\n\nAfter code generation, scan for these AI-specific debt patterns:\n\n1. **FAILURE MODES** - What happens when this fails?\n   - Network timeout? Disk full? Permission denied? Null input?\n   - Is there a try\u002Fcatch? Does it catch SPECIFIC errors or swallow everything?\n   - Are resources cleaned up on failure? (streams closed, connections returned, temp files deleted)\n\n2. **ORPHANS** - What gets created but never cleaned up?\n   - Temp files, event listeners, intervals, subscriptions, connections\n   - Are there corresponding cleanup\u002Fdispose\u002Fclose calls for every open\u002Fcreate?\n   - In React: does every addEventListener have a removeEventListener in cleanup?\n\n3. **EDGE CASES** - What inputs break this?\n   - Empty array\u002Fstring? null\u002Fundefined? Multi-MB input? Unicode? Concurrent calls?\n   - Does the code assume the happy path? (generated code often does)\n\n4. **HALLUCINATED DEPS** - Do all imports actually exist?\n   - Is every package in package.json\u002Frequirements.txt?\n   - Are API methods real? (AI invents plausible-sounding methods that don't exist)\n   - Does this library's latest version still export this function?\n\n5. **ARCHITECTURAL DRIFT** - Does this match the project's patterns?\n   - Same error handling style as existing code?\n   - Uses the project's established utilities (not reinventing)?\n   - Follows the file structure convention?\n\n## Red Flags (stop and fix immediately)\n\n- `catch (e) {}` or `catch (e) { console.log(e) }` - swallowed error\n- No `finally` block when resources were opened\n- `\u002F\u002F TODO: handle error` - AI's way of punting\n- Import from a path that doesn't exist in the project\n- Timeout set but no abort\u002Fcleanup on timeout\n- Database connection opened but never released back to pool\n\n## Common Mistakes\n\n- Trusting that compilation means correctness (compilation checks syntax, not logic)\n- Reviewing only the diff without checking what the AI did NOT generate (missing error paths)\n- Assuming the AI used the right library version (it often uses deprecated APIs)\n- Skipping the orphan check because garbage collection handles it (it doesn't for connections, listeners, timers)\n\n## Why This Exists\n\nAI 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.\n","# AI Debt Detector\n\n## Overview\n\nAI 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.\n\n## When to Use\n\n- After an AI code generation session that produced more than a trivial edit\n- Before merging AI-generated PRs\n- When code works but something feels off\n- After a fast prototyping sprint with little review\n- When the agent claims done without showing verification\n\n## Process\n\nAfter code generation, scan for these AI-specific debt patterns:\n\n1. **FAILURE MODES** - What happens when this fails?\n   - Network timeout? Disk full? Permission denied? Null input?\n   - Is there a try\u002Fcatch? Does it catch SPECIFIC errors or swallow everything?\n   - Are resources cleaned up on failure? (streams closed, connections returned, temp files deleted)\n\n2. **ORPHANS** - What gets created but never cleaned up?\n   - Temp files, event listeners, intervals, subscriptions, connections\n   - Are there corresponding cleanup\u002Fdispose\u002Fclose calls for every open\u002Fcreate?\n   - In React: does every addEventListener have a removeEventListener in cleanup?\n\n3. **EDGE CASES** - What inputs break this?\n   - Empty array\u002Fstring? null\u002Fundefined? Multi-MB input? Unicode? Concurrent calls?\n   - Does the code assume the happy path? (generated code often does)\n\n4. **HALLUCINATED DEPS** - Do all imports actually exist?\n   - Is every package in package.json\u002Frequirements.txt?\n   - Are API methods real? (AI invents plausible-sounding methods that don't exist)\n   - Does this library's latest version still export this function?\n\n5. **ARCHITECTURAL DRIFT** - Does this match the project's patterns?\n   - Same error handling style as existing code?\n   - Uses the project's established utilities (not reinventing)?\n   - Follows the file structure convention?\n\n## Red Flags (stop and fix immediately)\n\n- `catch (e) {}` or `catch (e) { console.log(e) }` - swallowed error\n- No `finally` block when resources were opened\n- `\u002F\u002F TODO: handle error` - AI's way of punting\n- Import from a path that doesn't exist in the project\n- Timeout set but no abort\u002Fcleanup on timeout\n- Database connection opened but never released back to pool\n\n## Common Mistakes\n\n- Trusting that compilation means correctness (compilation checks syntax, not logic)\n- Reviewing only the diff without checking what the AI did NOT generate (missing error paths)\n- Assuming the AI used the right library version (it often uses deprecated APIs)\n- Skipping the orphan check because garbage collection handles it (it doesn't for connections, listeners, timers)\n\n## Why This Exists\n\nAI 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.\n",{"name":5,"description":7},"main","f846d9a97082ff30d613b55a085cef425d822473","plugins\u002Fskill-forge-essentials\u002Fskills\u002Fai-debt-detector","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle","https:\u002F\u002Fshotcowboystyle.github.io","Building smarter with AI, automation & modern tools. Exploring how far one person can go without a big team using today’s AI.","2026-11-10 04:58:27",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add shotcowboystyle\u002Fag-skills --skill ai-debt-detector",{"tool":38,"command":39},"bunx","bunx skills add shotcowboystyle\u002Fag-skills --skill ai-debt-detector",{"tool":41,"command":42},"pnpm","pnpm dlx skills add shotcowboystyle\u002Fag-skills --skill ai-debt-detector","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Fskill-forge-essentials\u002Fskills\u002Fai-debt-detector\u002FSKILL.md",true,[],[47,53,60,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7F1YRY5S5QRJ1V0BJS130QX","no-description","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fno-description\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7F1Y9BV2FJNQJ3NB32JS5CM","good-skill","Fixture skill that satisfies every rule.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fgood-skill\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7F1XXBQ3NQRXZSS0KAGAR9V","broken-link","Links to a reference file that does not exist.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbroken-link\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7F1XBX4R46NR9W0HXQ7XCDX","Bad_Name","Name violates the kebab-case rule and does not match the directory.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fbad-name\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7F1WNAF8WNEQ7S5HKT5VK0D","skill-authoring","Write, review, and validate portable agent skills in SKILL.md format. Use when creating a new skill, editing an existing one, or asked whether a skill follows the Agent Skills spec.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fskills\u002Fskill-authoring\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7F1W30TC0XFNSF7YBRGETK2","weigh-bags","Record scale readings for each bag — empty (tare), outbound, current, final — and reconcile them against the itemised inventory to find unaccounted weight. Use when the user gives a bag weight, says how heavy something is, weighs their luggage, or asks how close to the limit they are. Appends to bags.yaml and runs scripts\u002Freconcile.py.","https:\u002F\u002Fgithub.com\u002Fshotcowboystyle\u002Fag-skills\u002Fblob\u002Fmain\u002Fplugins\u002Ftravel-packing-assistant\u002Fskills\u002Fweigh-bags\u002FSKILL.md",[],[]]