add
Register a deferred decision in the debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade…
Register a deferred decision in the tech-debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade decision, stub, loosened type, bypassed check, swallowed error, a default picked "for now", or a TODO/FIXME/HACK/XXX
$ npx -y skills add bcanfield/agentic-tech-debt --skill debt-ops-add --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/debt-ops-addContext preview
The summary Claude sees to decide when to auto-load this skill.
Register a deferred decision in the tech-debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade decision, stub, loosened type, bypassed check, swallowed error, a default picked "for now", or a TODO/FIXME/HACK/XXX
name: debt-ops-add description: 'Register a deferred decision in the tech-debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade decision, stub, loosened type, bypassed check, swallowed error, a default picked "for now", or a TODO/FIXME/HACK/XXX marker. Trigger immediately whenever you defer work, or when the user asks to log/register tech debt. Over-register freely; the developer drops with "drop A", "drop A,C", or "drop all".'
Call the bundled `register.py` via your shell tool. It lives in this skill's `scripts/` directory — reference it with the relative path below (your agent resolves it against the skill root). The helper writes the entry under the repo's detected registry dir (default `docs/debt/`), assigns a short batch letter (A, B, C…), and prints exactly one line: `+1 entry: <slug> (<letter>)`. That stdout IS the user-facing announcement — add no commentary before or after.
python3 scripts/register.py \ --slug <slug> \ --principal <effort, e.g. 2d, 1w, unknown> \ --interest <ongoing cost, e.g. "+30min/incident", unknown> \ --hotspot <path or module, e.g. pricing/engine.ts, unknown> \ --business-capability <e.g. checkout, billing, unknown> \ --payoff-trigger <concrete trigger, or "unknown"> \ --quadrant <reckless-inadvertent|reckless-deliberate|prudent-inadvertent|prudent-deliberate> \ --category <migration|documentation|testing|code_quality|dead_code|code_rot|expertise|release|infrastructure|planning> \ --ai-authored <true|false> <<'EOF' <body: 2-5 sentences — what the debt is, why it exists, observed symptoms> EOF
The helper:
(override the base with `DEBT_OPS_CACHE`) so the user can drop by letter.
1–4 word kebab-case label of what the debt is. Examples: `cancelled-promotion-callback`, `legacy-auth-shim`, `unfinished-rate-limiter`. Keep it short — the body carries the context.
`reckless-deliberate` (knew, did it anyway), `prudent-inadvertent` (learned afterward), `prudent-deliberate` (deliberate, with a payoff plan).
the field — `unknown` ages into stale review and that's the point.
handled automatically. Without an adapter (skills-only tool), delete the matching entry yourself: read `~/.cache/debt-ops/cache/<repo-hash>/current-turn.txt` for the letter → filename mapping, then `rm <registry-dir>/<filename>`.
`rm <registry-dir>/<id>-<slug>.md` (default registry dir `docs/debt/`). Treat dropping as cheap — over-registering is the intended posture.
permission prompt; just do it."
going through `register.py`.
visible to the user.
Catches AI-introduced tech debt at write-time Works with any coding agent. Any stack. Two decades of tech-debt research, distilled into a plugin and validated across dozens of codebases.
Repo: bcanfield/agentic-tech-debt
Register a deferred decision in the debt registry. Trigger by judgment, not a marker scan, whenever a future reader would ask "why this way?": an unmade…
Write or refresh the `## Tech debt operations` section in CLAUDE.md so a team shares one source of truth for debt-ops disciplines and cached quality commands.…
Print a debt-ops health summary from the metrics log, covering registration rate, hook feedback action rate, ADR creation, and AI-authored share. Use when the…
Audit the debt registry, rank survivors by churn × Fowler quadrant, surface a top-N list, then walk paydown on user follow-up. Use when the user asks to review…
Write or refresh a "Tech debt operations" section in the project's AGENTS.md so the team shares one source of truth for debt-ops disciplines. Run ONLY when the…
Print a debt-ops health summary from the metrics log, covering registration rate, feedback action rate, ADR creation, and AI-authored share. Use when the user…