tech-debt
Skill41 starsChanged 7 months agoMITView on GitHub
Track, categorize, and prioritize technical debt across the codebase. Scans for debt indicators (TODO, FIXME, deprecated APIs, version-skew, dead flags, stale dependencies), maintains a debt register, and recommends repayment scheduling.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- HunLuanZhiZhu/Game-Studios-Plugintheir own version, first seen Oct 5, 2026
- Donchitos/Claude-Code-Game-Studiostheir own version, first seen Sep 29, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- znut/agent-skillstheir own version, first seen Sep 25, 2026
- angelgabrieljacintohuayllasco/clipboard-skillstheir own version, first seen Sep 20, 2026
- talhaMah56/claude_skillstheir own version, first seen Sep 12, 2026
Used with
Projects with it also use playtest-report, team-audio and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
CoralGameSkillplaytest-report
Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.
Also in 6 projects that use this
CoralGameSkillteam-audio
Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.
Also in 6 projects that use this
- +1 more from CoralGame
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- pixel-cellar/Claude-Code-Game-Studios★ 338same name
- striderZA/OpenCodeGameStudios★ 90same name
- tranhieutt/software_development_department★ 72same name
- drafthq/draft★ 40same name
- fagemx/edda★ 36same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- dawn840705/codex-code-studios★ 17same name
- pantheon-org/tekhne★ 10same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository77 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- design/CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- adoptSkill
- architecture-decisionSkill
- architecture-reviewSkill
- asset-auditSkill
- asset-specSkill
- balance-checkSkill
- brainstormSkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- code-reviewSkill
- consistency-checkSkill
- content-auditSkill
- create-architectureSkill
- create-control-manifestSkill
- create-epicsSkill
- create-storiesSkill
- day-one-patchSkill
- design-bibleSkill
- design-reviewSkill
- design-systemSkill
- dev-storySkill
- estimateSkill
- extractSkill
- gate-checkSkill
- helpSkill
- hotfixSkill
- launch-checklistSkill
- localizeSkill
- map-systemsSkill
- milestone-reviewSkill
- onboardSkill
- patch-notesSkill
- perf-profileSkill
- prd-reviewSkill
- project-stage-detectSkill
- propagate-design-changeSkill
- prototypeSkill
- qa-planSkill
- quick-designSkill
- regression-suiteSkill
- release-checklistSkill
- retrospectiveSkill
- reverse-documentSkill
- review-all-prdsSkill
- scope-checkSkill
- security-auditSkill
- setup-frameworkSkill
- skill-improveSkill
- skill-testSkill
- smoke-checkSkill
- soak-testSkill
- sprint-planSkill
- sprint-statusSkill
- startSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 3 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 139
Ask before each write.
- Very specific: line 145
When invoked with --plan:
- Distinctive: line 147
Read the active sprint plan to estimate available "debt capacity" (default: 10-15% of sprint capacity).
- Very specific: line 155
Use AskUserQuestion to confirm the plan and ask whether to convert chosen entries into stories via /create-stories.
- Distinctive: line 169
Ask before each register edit.
- Very specific: line 231
After every release -> run /tech-debt --scan to keep the register honest.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tech Debt
A debt register that lives in docs/tech-debt.md. This skill keeps the
register current, scores entries on impact and effort, and recommends
which entries to repay each sprint based on capacity.
Phase 1: Mode
Parse the argument:
--scan(default) — search for new debt indicators and update the register.--register— render the current register without scanning.--plan— propose which entries to repay in the next sprint.--pay-down=<id>— close out a register entry once the work shipped.
Phase 2: Scan for Indicators
Grep across src/ and tests:
TODO,FIXME,HACK,XXX,KLUDGEcomments. Capture file, line, comment text, author (viagit blameif quick), date added.// @deprecated/@Deprecated/[Obsolete]annotations on public APIs.- Imports of known deprecated framework APIs:
- RN:
AsyncStoragefromreact-native(now community), legacy Navigation v4,WebViewfromreact-native. - iOS: pre-iOS-13 lifecycle methods, UIKit code that should be SwiftUI per the project ADR, deprecated APIs flagged by the framework reference.
- Android: deprecated AsyncTask, old support libs (
android.support.*), pre-Compose Views in Compose-target areas. - Flutter: pre-3.0 widget APIs,
RaisedButton, etc.
- RN:
- Dependency files: parse manifests for outdated versions.
npm outdated --jsonflutter pub outdated --machinebundle outdated./gradlew dependencyUpdates
- Stale feature flags (cross-reference
/balance-checkoutput if available). - Code with
git blameage > 18 months that has been touched recently with non-trivial regression risk — surface for review.
For each, capture: id, type, location, age, last-touched date.
Phase 3: Score Each Entry
Per entry, derive:
- Impact (0-3) — how much harm if left?
- 0: cosmetic
- 1: minor maintainability cost
- 2: blocks a known upcoming feature, performance, or security issue
- 3: production risk (deprecated API will break in next OS / store deadline, security CVE, looming framework removal)
- Effort (0-3) — to pay down:
- 0: < 1 hour
- 1: 1-4 hours
- 2: half-day to two days
- 3: > 2 days
- Priority = Impact - (0.5 * Effort), high to low.
Surface high-impact-low-effort entries first — those are free wins.
Phase 4: Categorize
Group entries:
- Code smells (TODO/FIXME/HACK).
- Deprecated APIs.
- Outdated dependencies.
- Version skew (multiple versions of the same lib transitively).
- Dead code / dead flags / orphaned assets.
- Architecture violations (cross-cutting; usually surfaced via
/code-reviewover time). - Test debt (skipped tests, stale fixtures, missing regression coverage).
Each category gets its own table in the register.
Phase 5: Maintain docs/tech-debt.md
Render or update:
# Tech Debt Register
Last reviewed: [date]
Total open: [N] | High priority: [N] | Closed this quarter: [N]
## Code Smells
| ID | Location | Type | Note | Impact | Effort | Priority | Owner | Added |
## Deprecated APIs
| ID | Location | API | Removal target | Impact | Effort | Priority | Owner |
## Outdated Dependencies
| Package | Current | Latest | Risk | Impact | Effort | Priority | Owner |
## Version Skew
| Lib | Versions present | Caused by | Impact |
## Dead Code / Flags / Assets
| Path | Type | Last touched | Owner |
## Test Debt
| Test path | Issue | Owner |
## Closed (rolling 6 months)
| ID | Summary | Closed in | Date |
## How to use
- New TODOs/FIXMEs should be filed with: `// TODO(handle): brief — see DEBT-NN`.
- Pay down in scheduled sprints via `/tech-debt --plan`.
- Mark closed via `/tech-debt --pay-down=DEBT-NN`.ID format: DEBT-NNN, incrementing.
Ask before each write.
Phase 6: Plan Mode
When invoked with --plan:
- Read the active sprint plan to estimate available "debt capacity" (default: 10-15% of sprint capacity).
- Sort the register by Priority descending.
- Greedy-pack entries into the available capacity, preferring diverse categories (don't use all debt capacity on one category unless required).
- Render a recommendation table.
Use AskUserQuestion to confirm the plan and ask whether to convert
chosen entries into stories via /create-stories.
Phase 7: Pay-Down Mode
When invoked with --pay-down=DEBT-NN:
- Locate the entry in the register.
- Confirm the work shipped (commit ref, story ID).
- Move the entry to the "Closed" rolling list with date and reference.
- Suggest a regression test if appropriate (link
/regression-suite).
Ask before each register edit.
Phase 8: Render Summary
## Tech Debt — [date]
Open: [N] (High: [P], Med: [Q], Low: [R])
New since last scan: [count]
Closed since last scan: [count]
Top 5 by priority:
1. [DEBT-NN] [summary] — Impact [I] / Effort [E]
...Phase 9: Update State
Append to production/session-state/active.md:
## Tech Debt — [date]
- Open: [N]
- High priority: [count]
- Plan generated: [yes/no]
- Register: docs/tech-debt.mdQuality Gates / PASS-FAIL
- HEALTHY — high-priority entries < 5; no entry older than 6 months in the High tier; release-blocking debt (deprecated API with OS removal date) has an active story.
- ACCUMULATING — high-priority entries trending up across scans.
- BLOCKING — at least one High-priority entry has a known external deadline (OS update, store policy change) within 60 days and no active story.
Examples
Example 1 — Quarterly scan: Finds 38 TODOs (8 high-priority), 4 deprecated API uses (one with iOS 17 removal warning), 6 outdated deps. User accepts plan that schedules the iOS 17 fix this sprint and 3 other high entries.
Example 2 — Single pay-down:
/tech-debt --pay-down=DEBT-042. Confirms the deprecated API was
replaced in commit abc1234, moves entry to Closed.
Next Steps
- Plan mode ->
/create-storiesfor chosen entries. - BLOCKING -> emergency story or
/hotfixif already breaking. - After every release -> run
/tech-debt --scanto keep the register honest.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

