Technical Debt
Reckless versus prudent categorization, tracking the inventory, and a payoff cadence that does not freeze delivery.
от clawic★ 23 звезды на GitHub
Установить Technical Debt в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
What counts as debt
The quadrant that matters is reckless vs prudent; the deliberate/inadvertent split is post-hoc. The #1 adds the axis that drives action: does the debt accrue interest?
- Prudent, deliberate = a conscious speed-vs-quality trade with a booked payoff. "Ship now, learn; pay down before X." The only debt that is genuinely a tool; write the item to the register when you merge the shortcut, or it is a gift, not debt.
- Prudent, inadvertent = you chose well with what you knew; a better path surfaced later. Retroactive, not a mistake. Pay when the better path lands on the critical path.
- Reckless, deliberate = "we don't have time to do it right." Convert it to prudent by writing the payoff trigger; without the trigger it is just bad code.
- Reckless, inadvertent = the dangerous quadrant: you do not know it is there until it bites. "What is the architecture?" answered with silence = here. Hunt it via the behavior signals below.
- Bugs are not debt: a defect is a correctness gap with user impact, paid through triage. Calling bugs "debt" inflates the register and defers the fix.
- Missing features are not debt: a gap is a product decision, not a quality trade. Conflating them makes "debt" mean "everything we didn't do."
- A kludge with no clean design in mind is not debt, it is bad code. Debt implies you know the clean version and chose to defer; if you don't know the clean design, the work is design, not payoff.
- The labels do not prioritize; the interest rate does. A prudent debt with high interest blocks the next feature; a reckless debt with zero interest is noise. Rank by interest x blast radius, not by how bad it feels.
Three numbers per item: interest, blast radius, payoff cost
Every item carries three. The #1 ranks with all three; the #1000 ranks by gut annoyance.
- Interest (carry) = (time lost per change) x (change frequency). A complex file nobody touches has zero interest; a simple file touched weekly with a bad abstraction compounds fast. Estimate it as: how much longer does a typical change here take than it should, times how often.
- Blast radius = how many distinct changes the debt touches. Local (one module) vs structural (every cross-cutting change pays). Structural debt is far costlier per line than local; prioritize it out of proportion to its size.
- Payoff cost = refactor effort + regression risk + opportunity cost of the feature you are not shipping. The #1 budgets the regression risk explicitly (characterization tests, staged rollout); the #1000 estimates only the refactor hours.
- Pay when fix cost < ~2-3x one quarter's carry: the fix pays back within 2-3 quarters. Below that ratio, leave it with a comment and a trigger; the payoff capital is better elsewhere.
- High interest + high blast radius + low payoff cost = the highest-ROI work in the codebase. Low interest + high payoff cost = never worth a dedicated effort; fold it into boy-scout cleanup when you are already there.
- Interest compounds on test debt and architecture debt: each change layered on top makes the next one harder. Duplication and doc debt are mostly flat; they do not worsen on their own.
- Don't pre-pay debt on code with no upcoming change. Speculative refactoring is debt creation: you spend now, the code drifts, and you re-pay when the change finally arrives.
The inventory
A debt register is a living doc, not tickets scattered among features. The #1 maintains one; the #1000 keeps debt "in our heads."
- One row per item: id, area, type, interest (L/M/H), blast radius (local/structural), payoff cost (S/M/L), trigger, owner. That is the minimum that prioritizes; less is noise, more rots.
- The trigger is the load-bearing field: "pay when we next touch auth," "pay when the dependency goes EOL," "pay when cycle time in this module > X." An item without a trigger is a wish; it will never be prioritized.
- TODOs are not inventory. A TODO is a wish; a register item with a trigger is a commitment. Auditing TODOs produces noise; auditing register items produces decisions.
- Tag debt items in the tracker with a
debtlabel AND keep the aggregate register. Tracker-only scatters debt among features and hides it; register-only rots because engineers do not live there. Both: tickets for execution, register for the view. - A register nobody triages is worse than none: it grows, demoralizes, and is never the source of a real decision. Prune monthly to quarterly: close paid items, re-rate interest, delete items whose code was deleted. An item that survives three prunes unpaid is mis-rated or has no real trigger.
- An empty register means the register is broken, not that there is no debt. Run a "debt wall" session: each engineer adds the items they route around daily. Zero debt = invisible, not absent.
- The register is the week-1 onboarding map: it tells a new hire where the bodies are and which decisions were deliberate. Withholding it makes every new engineer r
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
FAQ
Что делает скилл Technical Debt?
Reckless versus prudent categorization, tracking the inventory, and a payoff cadence that does not freeze delivery.
Как установить скилл Technical Debt?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Technical Debt запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…