Game Dev Code

tech-debt

Donchitos/Claude-Code-Game-Studios · updated Apr 16, 2026

$npx skills add https://github.com/Donchitos/Claude-Code-Game-Studios --skill tech-debt
summary

### Tech Debt

  • description: "Track, categorize, and prioritize technical debt across the codebase. Scans for debt indicators, maintains a debt register, and recommends repayment scheduling."
  • argument-hint: "[scan|add|prioritize|report]"
  • allowed-tools: Read, Glob, Grep, Write
skill.md

Phase 1: Parse Subcommand

Determine the mode from the argument:

  • scan — Scan the codebase for tech debt indicators
  • add — Add a new tech debt entry manually
  • prioritize — Re-prioritize the existing debt register
  • report — Generate a summary report of current debt status

If no subcommand is provided, output usage and stop. Verdict: FAIL — missing required subcommand.


Phase 2A: Scan Mode

Search the codebase for debt indicators:

  • TODO comments (count and categorize)
  • FIXME comments (these are bugs disguised as debt)
  • HACK comments (workarounds that need proper solutions)
  • @deprecated markers
  • Duplicated code blocks (similar patterns in multiple files)
  • Files over 500 lines (potential god objects)
  • Functions over 50 lines (potential complexity)

Categorize each finding:

  • Architecture Debt: Wrong abstractions, missing patterns, coupling issues
  • Code Quality Debt: Duplication, complexity, naming, missing types
  • Test Debt: Missing tests, flaky tests, untested edge cases
  • Documentation Debt: Missing docs, outdated docs, undocumented APIs
  • Dependency Debt: Outdated packages, deprecated APIs, version conflicts
  • Performance Debt: Known slow paths, unoptimized queries, memory issues

Present the findings to the user.

Ask: "May I write these findings to docs/tech-debt-register.md?"

If yes, update the register (append new entries, do not overwrite existing ones). Verdict: COMPLETE — scan findings written to register.

If no, stop here. Verdict: BLOCKED — user declined write.


Phase 2B: Add Mode

Prompt for: description, category, affected files, estimated fix effort, impact if left unfixed.

Present the new entry to the user.

Ask: "May I append this entry to docs/tech-debt-register.md?"

If yes, append the entry. Verdict: COMPLETE — entry added to register.

If no, stop here. Verdict: BLOCKED — user declined write.


Phase 2C: Prioritize Mode

Read the debt register at docs/tech-debt-register.md.

Score each item by: (impact_if_unfixed × frequency_of_encounter) / fix_effort

Re-sort the register by priority score and recommend which items to include in the next sprint.

Present the re-prioritized register to the user.

Ask: "May I write the re-prioritized register back to docs/tech-debt-register.md?"

If yes, write the updated file. Verdict: COMPLETE — register re-prioritized and saved.

If no, stop here. Verdict: BLOCKED — user declined write.


Phase 2D: Report Mode

Read the debt register. Generate summary statistics:

  • Total items by category
  • Total estimated fix effort
  • Items added vs resolved since last report
  • Trending direction (growing / stable / shrinking)

Flag any items that have been in the register for more than 3 sprints.

Output the report to the user. This mode is read-only — no files are written. Verdict: COMPLETE — debt report generated.


Phase 3: Next Steps

  • Run /sprint-plan to schedule high-priority debt items into the next sprint.
  • Run /tech-debt report at the start of each sprint to track debt trends over time.

Debt Register Format

## Technical Debt Register
Last updated: [Date]
Total items: [N] | Estimated total effort: [T-shirt sizes summed]

| ID | Category | Description | Files | Effort | Impact | Priority | Added | Sprint |
|----|----------|-------------|-------|--------|--------|----------|-------|--------|
| TD-001 | [Cat] | [Description] | [files] | [S/M/L/XL] | [Low/Med/High/Critical] | [Score] | [Date] | [Sprint to fix or "Backlog"] |

Rules

  • Tech debt is not inherently bad — it is a tool. The register tracks conscious decisions.
  • Every debt entry must explain WHY it was accepted (deadline, prototype, missing info)
  • "Scan" should run at least once per sprint to catch new debt
  • Items older than 3 sprints without action should either be fixed or consciously accepted with a documented reason
general reviews

Ratings

4.846 reviews
  • Mateo Thomas· Dec 16, 2024

    Registry listing for tech-debt matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Aditi Gill· Dec 12, 2024

    Useful defaults in tech-debt — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • James Reddy· Dec 12, 2024

    I recommend tech-debt for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Kabir Malhotra· Nov 7, 2024

    Solid pick for teams standardizing on skills: tech-debt is focused, and the summary matches what you get after install.

  • Aditi Rao· Nov 3, 2024

    I recommend tech-debt for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Kabir Chawla· Oct 26, 2024

    We added tech-debt from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Amelia Taylor· Oct 22, 2024

    tech-debt reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Sofia Chen· Sep 21, 2024

    tech-debt has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Oshnikdeep· Sep 9, 2024

    tech-debt reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Piyush G· Sep 5, 2024

    Keeps context tight: tech-debt is the kind of skill you can hand to a new teammate without a long onboarding doc.

showing 1-10 of 46

1 / 5