On-demand debt sweep. Use when the owner asks for a cleanup pass, before a release or milestone, or when the codebase feels heavier than its feature count justifies.
Scanned 9/2/2026
Install to Claude Code
npx -y skills add kp-multiverse/ForgeWorks --skill tech-debt --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Tech Debt?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/kp-multiverse-tech-debt-forgeworks)More formats (shields.io, HTML) on the badges page.
---
name: tech-debt
description: >-
On-demand debt sweep. Use when the owner asks for a cleanup pass, before a
release or milestone, or when the codebase feels heavier than its feature
count justifies.
---
# tech-debt
Start with `python3 scripts/dup_check.py --list`: it prints every duplicated
block without failing, the fastest map of where the debt is. Entries in
`.dup-baseline` are debt too; the file should shrink every sweep.
Sweep for: files that outgrew one concept; duplicated logic, markup, or
config (a page repeating another page's shell, values the tokens file owns
inlined); the same convention re-justified in several docstrings (state it
once, link from the rest); dead code and unused deps; docs that drifted from
the code (`docs/features.json` statuses, `docs/SECURITY.md` vs the actual
surfaces, mockups vs shipped screens); tests that no longer test anything.
**Docs are swept like code.** Same question as for a function: what breaks if
this is deleted? Delete on sight: plans for merged features, probes whose
finding is in a fixture, mockups with no live surface, gotchas the code now
makes impossible. A budgeted doc near its cap is a finding, not a pass.
**Check the checkpoint cost.** What a fresh session reads to resume one
feature (`AGENTS.md`, the `iteration` skill, one entry, its plan) is what the
`checkpoint-budget` CI job measures. Over its cap is a finding; the usual
cause is a plan that narrates.
Output: a ranked paydown list (impact vs effort). Fix the cheap high-value
items in the same pass; file the rest as `features.json` todo entries. Do not
refactor beyond the list: a sweep that becomes a rewrite defeats its purpose.
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!