Tech debt tracker

From event4u-app/agent-config · View interactive version

Tech debt tracker is an AI agent skill from the GitHub repository event4u-app/agent-config. Use when surfacing tech debt as trackable items — interest-vs-principal framing, prioritisation by carrying cost, repayment plan — even if the user just says 'this codebase is a mess'.

How to use this skill

Skill file

tech-debt-tracker

Turn vague "this is messy" complaints into a ranked debt ledger

with carrying-cost estimates and a repayment plan the team can

execute. Frames debt as principal (the gap) plus interest

(what we keep paying because the gap exists). Output is copy-paste

ready; ticket / backlog write-back is user-gated.

When to use

and wants them turned into trackable items.

ranked, not all addressed at once.

team wants the carrying cost surfaced before committing.

"Aufräumen-Plan".

Do NOT use when:

surface as ops debt, not code debt; consider escalating to PO.

Procedure

1. Inspect inputs and collect candidate debt items

Read the input (retro notes, code-review threads, pasted complaints,

agent observations). Analyze each source for one candidate per

bullet, no editing yet.

2. Classify each item

| Class | Examples |

|---|---|

| Code debt | Smells, duplication, dead code, weak tests, missing types |

| Architecture debt | Coupling, layer violations, missing seams |

| Operations debt | Manual deploys, alert fatigue, runbook gaps |

| Knowledge debt | Stale docs, single-owner systems, missing onboarding |

Items spanning two classes split into two entries — never merge.

3. Estimate principal and interest

For each item:

because the debt exists. Quantify or mark unknown (unknown

interest is itself a finding — surface it).

Carrying cost = interest × time-until-repaid. High principal +

zero interest → leave it. Low principal + recurring interest →

top of the queue.

4. Rank by `interest ÷ principal`

Sort descending. The top ten are the candidates. Items below the

top ten get a single line each (so they are not lost) but no

deeper analysis — debt-list bloat is itself a debt.

5. Shape a repayment plan

For the top 3-5 items:

re-architecture.

feature X", "when test runtime > 10 min", "next quarterly").

Items without a trigger sit forever. A trigger that is "someday"

is no trigger — push back.

6. Issue a verdict

| Verdict | When to issue |

|---|---|

| track | Items added to the ledger; no immediate action |

| pay-now | One or more items have a trigger that already fired |

| block | New feature work blocked until top item is repaid (rare) |

7. Validate the ledger

Verify before emitting: every top item has a class, principal,

interest (or unknown), trigger, and owner; the ranking matches

interest ÷ principal; tail items have one line each. Ensure no

"someday" triggers and no agent-owned repayment owners slipped in.

Output format

The ledger is a single block with these ordered fields:

  1. Inventory: — count and classes touched
  2. Top items: — numbered list ranked by interest ÷ principal,

each with class, principal, interest, trigger, owner, shape

  1. Tail: — one-line bullets for tracked-but-deferred items
  2. Verdict: — exactly one of track / pay-now / block
  3. Next: — handoff target (/adr-create or backlog write-back)
Tech-Debt Ledger
Inventory: <count> items, <classes touched>

Top items (interest ÷ principal):
  1. [arch] <item>             Principal: M  Interest: high (3 hrs/sprint)
        Trigger: <condition>  Owner: <role>  Shape: <PR / series / campaign>
  2. [code] <item>             Principal: S  Interest: med  ...
  ...

Tail (tracked, no immediate action):
  - <item>
  - <item>

Verdict: track | pay-now | block
Next:    /adr-create (if a tradeoff lock is needed) | backlog write-back

Gotcha

name the gap and what it costs.

unknown and ask a probe ("how often do you hit this?") rather

than inventing a number.

has no plan to ever repay.

Do NOT

a tail is the contract.

repayment belongs to a human role.

output is copy-paste ready, write-back is gated.

the team should do.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.