tech-debt

Scan, categorize, and prioritize technical debt in a codebase register.

Updated Aug 2, 2026
One-click install
npx skills add https://github.com/claretagrapelike32/codex-ai-game-studio --skill tech-debt-claretagrapelike32
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tech-debt
Source: https://github.com/claretagrapelike32/codex-ai-game-studio/tree/main/plugins/ai-game-studio/skills/tech-debt
Command: npx skills add https://github.com/claretagrapelike32/codex-ai-game-studio --skill tech-debt-claretagrapelike32

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Technical debt accumulates silently in codebases through TODO comments, workarounds, and outdated dependencies, making it hard to track what needs fixing and when. This Skill scans for debt indicators, maintains a structured debt register, and prioritizes repayment so teams can make conscious decisions about code quality. ## Core Features & Use Cases - Automated Debt Scanning: Detects TODO, FIXME, and HACK comments, deprecated markers, duplicated code, oversized files, and overly long functions, then categorizes findings into architecture, code quality, test, documentation, dependency, and performance debt. - Debt Register Management: Adds manual entries with category and effort estimates, and maintains a persistent register at docs/tech-debt-register.md with IDs, impact ratings, and sprint assignments. - Priority Scoring and Reporting: Re-sorts the register using an impact-times-frequency-over-effort formula and generates trend reports flagging items older than three sprints. - Use Case: Before sprint planning, run a scan to catch new debt, then prioritize the register to decide which high-impact, low-effort items to schedule into the upcoming sprint. ## Quick Start Use the tech-debt skill to scan this codebase for debt indicators and write the findings to the debt register.

Frequently Asked Questions about tech-debt

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a codebase for technical debt?

Run the tech-debt skill with the scan subcommand to search for TODO, FIXME, and HACK comments, deprecated markers, duplicated code blocks, files over 500 lines, and functions over 50 lines. Findings are categorized and can be written to docs/tech-debt-register.md with your approval.

How do I prioritize technical debt items for a sprint?

Use the prioritize subcommand, which scores each register entry by multiplying impact if unfixed by frequency of encounter, then dividing by fix effort. The register is re-sorted by score and the top items are recommended for the next sprint.

What categories of technical debt does the scan detect?

The scan categorizes findings into six types: architecture debt, code quality debt, test debt, documentation debt, dependency debt, and performance debt. Each category maps to specific indicators like coupling issues, duplication, missing tests, or outdated packages.

Does the tech debt scan modify my source code?

No, the scan mode only reads source files and reports findings. The only file it writes is docs/tech-debt-register.md, and only after you explicitly approve the write. Report mode is fully read-only.

When should technical debt items be removed from the register?

Items older than three sprints without action should either be fixed or consciously accepted with a documented reason. Running the report subcommand at each sprint start flags these stale items and tracks whether total debt is growing, stable, or shrinking.