tech-debt
Skill1 starsChanged 9 months agoMITView on GitHub
Identifies, categorizes, prioritizes, and plans paydown of technical debt. Covers making the business case, sequencing alongside feature work, and tracking progress. Use when auditing tech debt, planning maintenance work, or justifying refactoring to stakeholders.
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 asset-spec, create-control-manifest and 10 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.
cenconq25Skillasset-spec
Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.
Also in 5 projects that use this
cenconq25Skillcreate-control-manifest
Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.
Also in 5 projects that use this
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
- +7 more from cenconq25
- +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
- cenconq25/claude-code-app-studio★ 41same name
- drafthq/draft★ 40same name
- fagemx/edda★ 36same name
- CoralGame/Claude-Code-Game-Studios★ 19same name
- dawn840705/codex-code-studios★ 17same 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 repository48 other files it gives its agents.
- accessibilitySkill
- api-designSkill
- api-integrationSkill
- architectSkill
- async-patternsSkill
- best-practicesSkill
- bugSkill
- buildSkill
- cachingSkill
- ci-cdSkill
- config-managementSkill
- containerizeSkill
- database-designSkill
- data-modelingSkill
- data-pipelineSkill
- debug-latencySkill
- dependency-updateSkill
- deploySkill
- dev-setupSkill
- docsSkill
- error-handlingSkill
- estimateSkill
- feature-flag-opsSkill
- git-recoverySkill
- i18nSkill
- iacSkill
- incidentSkill
- load-testingSkill
- loggingSkill
- migrateSkill
- monitoringSkill
- observability-debugSkill
- onboardSkill
- perfSkill
- phase-gateSkill
- pr-authorSkill
- qaSkill
- refactorSkill
- reviewSkill
- rollbackSkill
- schema-evolutionSkill
- scope-checkSkill
- security-auditSkill
- state-managementSkill
- tech-stackSkill
- telemetrySkill
- testingSkill
- workflowSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 123
When a feature touches debt-heavy code, include the cleanup in the feature estimate.
- Distinctive: line 127
Keep a living tech debt register (issue tracker, wiki, or dedicated file):
“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
Technical Debt Management
Tech debt is borrowed time. Like financial debt, it's not inherently bad - but you need to track it, pay interest on it, and have a paydown plan.
What IS Tech Debt (And What Isn't)
Tech Debt
- Shortcuts taken deliberately to ship faster ("we'll fix this after launch")
- Code that worked when written but hasn't evolved with requirements
- Missing tests that make changes risky
- Outdated dependencies with known issues
- Architecture that doesn't fit current scale/requirements
NOT Tech Debt (Just Bad Code)
- Bugs (fix them now)
- Code that was never adequate (that's just poor engineering, not debt)
- "I'd write it differently" (style preferences aren't debt)
- Features that need redesign (that's product work, not debt)
Step 1: Inventory
Scan the codebase and catalog debt. Be specific.
Debt Record Template
ITEM: [specific description]
LOCATION: [files, modules, or systems affected]
TYPE: [code / architecture / dependency / testing / infrastructure]
IMPACT: [what it costs you TODAY - developer time, bugs, fragility, onboarding difficulty]
RISK: [what happens if you DON'T fix it - data loss, security, scaling failure]
EFFORT: [S / M / L / XL]
URGENCY: [blocking / degrading / annoying / dormant]Where to Look
| Area | Signs of Debt |
| Hotspots | Files changed most frequently (git log). Frequent changes = fragile code. |
| Bug clusters | Modules that generate the most bugs. |
| Onboarding friction | "Nobody understands how this works" areas. |
| Dependency audit | Unmaintained deps, major version gaps, known CVEs. |
| Test coverage gaps | Core logic with no tests. |
| Build/deploy pain | 30-min builds, manual deploy steps, flaky CI. |
| Performance bottlenecks | Known slow paths everyone works around. |
| Copy-paste code | Same logic in 5 places, each slightly different. |
Step 2: Categorize
| Category | Description | Examples |
| Deliberate-prudent | Known shortcut, planned payoff | "Ship with SQLite, migrate to Postgres next quarter" |
| Deliberate-reckless | Known shortcut, no plan | "We'll figure it out later" (later never comes) |
| Accidental-prudent | Learned better approach | "We didn't know about X pattern when we built this" |
| Accidental-reckless | Didn't know, didn't care | Poor code quality, no reviews, no standards |
Focus on: deliberate-prudent (planned payoff) and accidental-prudent (now we know better). Reckless debt often means the code needs rewriting, not refactoring.
Step 3: Prioritize
Score each item on two axes:
Impact (How much does it cost you?)
- High: Slows every sprint, causes bugs, blocks features
- Medium: Periodic pain, occasional bugs, extra complexity
- Low: Annoyance, cosmetic, rarely encountered
Risk (What happens if you ignore it?)
- High: Security vulnerability, data loss, scaling cliff
- Medium: Growing maintenance cost, harder to hire/onboard
- Low: Suboptimal but stable
Priority Matrix
| High Impact | Medium Impact | Low Impact | |
| High Risk | Fix NOW | Fix this quarter | Schedule |
| Medium Risk | Fix this quarter | Schedule | Backlog |
| Low Risk | Schedule | Backlog | Ignore |
Step 4: Making the Business Case
Engineers say: "We need to refactor." Business hears: "We want to stop shipping features."
Instead, frame debt in business terms:
| Tech Talk | Business Talk |
| "The auth module needs refactoring" | "Every security fix takes 3x longer because auth is tangled - next breach response will be slow" |
| "We should upgrade the ORM" | "Our current version has 4 known CVEs. Upgrading unblocks 2 feature requests." |
| "Tests are missing for payments" | "We can't safely change payment flow - last time an untested change caused $X in failed transactions" |
| "The build is too slow" | "Engineers wait 25 min per build. That's X hours/week of lost productivity across the team." |
The Paydown Pitch
DEBT: [what]
COST OF CARRYING: [what it costs you per sprint/month in concrete terms]
COST TO FIX: [effort estimate]
PAYBACK PERIOD: [when the fix pays for itself]
RISK OF NOT FIXING: [worst case scenario and likelihood]Step 5: Paydown Strategies
The 20% Rule
Reserve ~20% of sprint capacity for debt paydown. Every sprint. Non-negotiable. This is interest payment.
Boy Scout Rule
"Leave the code better than you found it." Small improvements alongside feature work. Rename a confusing function. Add a missing test. Extract a helper.
Dedicated Debt Sprints
Quarterly sprint focused entirely on debt. Works for larger items that can't be done incrementally.
Strangler Fig Pattern
For large architectural debt: build the new system alongside the old one. Route traffic gradually. Decommission old system when new one handles 100%.
Opportunistic Paydown
When a feature touches debt-heavy code, include the cleanup in the feature estimate. "This feature takes 3 days. If we also clean up the auth module while we're in there, it's 5 days, and every future auth change goes from 3 days to 1 day."
Tracking
Keep a living tech debt register (issue tracker, wiki, or dedicated file):
## Tech Debt Register
| ID | Item | Type | Impact | Risk | Effort | Status |
|----|------|------|--------|------|--------|--------|
| TD-001 | Auth module coupling | architecture | High | High | L | In Progress |
| TD-002 | Missing payment tests | testing | High | Medium | M | Scheduled Q2 |
| TD-003 | Node.js 16 → 20 | dependency | Medium | High | M | Backlog |Review monthly. Update status. Celebrate paydowns.
Anti-Patterns
| Anti-Pattern | Problem | Fix |
| "Big rewrite" | Takes forever, ships nothing, fails | Incremental improvement, strangler fig |
| Tracking without acting | List grows, nothing gets fixed | Reserve sprint capacity, enforce 20% rule |
| Gold plating as debt paydown | "Refactoring" that's really over-engineering | Scope debt fixes tightly. Fix the problem, not the world. |
| Only fixing debt when it breaks | Reactive, not proactive | Schedule regular paydown |
| No business justification | Debt paydown gets deprioritized | Frame in business terms (cost, risk, speed) |
Utility Scripts
scripts/debt_inventory.sh [directory]- Scan for TODO/FIXME/HACK/WORKAROUND/XXX/TEMP comments, files over 500 lines, and large functions. Groups by file with category counts.
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.

