Choose debt by consequence
Identify the code or delivery boundary that repeatedly delays work, produces defects or prevents a needed change. Link a recent example. Rank candidates against the product’s next decisions rather than sorting every static-analysis warning by one score.
Ask whether the component will change again. A costly cleanup in code due for retirement may have less value than a small boundary test around code the team changes every week. Keep that reasoning with the backlog item.
Make the smallest useful repair
Write an acceptance check before the patch. For a duplicated calculation, preserve the recorded inputs and outputs. For a flaky check, reproduce the nondeterminism and confirm that the repaired fixture detects a real failure.
Separate structural edits, dependency updates and business-rule changes when possible. Smaller patches let reviewers reason about the effect and give the team a clearer rollback path if an assumption proves wrong.
Check whether the original friction changed
Use the same signal that justified the work. If a repeated manual release step was the problem, verify that another maintainer can perform the documented automated step. If divergent rules were the problem, compare the agreed cases.
Record debt you deliberately keep. Add an owner and revisit trigger. Prevention comes from a feedback loop that catches recurrence, not from declaring that all future work must be perfectly clean.
Working sheet
| Observed friction | First bounded repair | Evidence of improvement |
|---|---|---|
| Two copies of one business rule diverge | Extract one shared tested calculation | Same recorded outputs at both callers |
| Developers rerun an unreliable check | Isolate fixture state | Repeat runs plus an intentional failing case |
| One module is difficult to change safely | Add a characterisation boundary | Baseline and candidate outputs compared |
| Release needs an undocumented manual step | Automate that step with rollback | A second maintainer follows the runbook |
Use AI to reduce technical debt
Ask an agent for a bounded change with an explicit invariant, such as extracting duplicate validation without changing accepted inputs. Supply the baseline tests and require a small diff.
Review the tests independently from the implementation. An agent can produce matching mistakes in both. Run the candidate against the agreed checks before accepting it.
Define technical debt remediation by outcome
A remediation item needs observable harm and a stopping condition. Replace “clean up checkout” with “remove the duplicate tax calculation while preserving the recorded rounding cases.”
Keep debt that is deliberately accepted in the register with its owner and revisit trigger. Remediation is not a promise to eliminate every compromise in the system.
Questions about how to reduce technical debt
How much sprint capacity should go to debt?
Choose it from product risk, upcoming changes and evidence of recurring cost. A fixed percentage is a planning policy, not proof that the selected items are valuable.
Can technical debt be eliminated?
A system continues to make trade-offs. Aim to make harmful compromises visible and manageable; do not promise that a one-off cleanup removes every future maintenance cost.
How should I use the working sheet?
Download the CSV and replace the sample rows with evidence from your repository. Record a clear acceptance check and an owner for each item. Keep unresolved assumptions visible rather than treating the example as a completed assessment.
Sources and further reading
Examples are illustrative. They are not customer results, security guarantees, or a substitute for checking the documentation for your installed version.
