Skip to content
Development
Skill

/review-debt

Internal tech-debt transform pass of the agentic-workflow review pack — composed in-turn by review-change and product-audit; not a menu entry. Transforms the synthesized findings table into explicit debt items, each with a re-trigger condition; it does not rescan the diff.

From plugin
agentic-workflow
2228 skills

Claude Code

$ npx -y skills add gtrabanco/agentic-workflow --skill review-debt --agent claude-code

SKILL.md

review-debt.SKILL.md
name: review-debt
user-invocable: false
version: 4.10.0
author: "Gabriel Trabanco <1969593+gtrabanco@users.noreply.github.com>"
license: MIT
description: >
  Internal tech-debt transform pass of the agentic-workflow review pack —
  composed in-turn by review-change and product-audit; not a menu entry.
  Transforms the synthesized findings table into explicit debt items, each with
  a re-trigger condition; it does not rescan the diff. Findings only; never
  edits code.

Review Tech Debt (internal)

Composed by `review-change` / `product-audit` within their conversation — on any agent, follow this file inline as the routed step. **Findings only; never edits, never refactors.**

Scope

The caller's **synthesized findings table** (the fused, classified decision table). This pass does **not** rescan the diff: debt-shaped findings are already in the table, and every ownership decision already happened in the finder axes (`review-code`, `review-verify`, …). State the scope — the change the table was synthesized over — at the top of the returned table.

Transform (evaluate EVERY row — none is optional; n/a must be stated)

Turn the table's tech-debt-shaped rows (TODO/FIXME/HACK, duplication, stale or orphaned abstractions, dead code, complexity hotspots, missing tests, workarounds pinned to upstream fixes) into explicit, payable debt items:

✓ Restate each debt-shaped finding at `file:line` with what it defers ✓ Attribute it to the axis already recorded in the table — never re-litigate ownership ✓ Confirm every debt item carries a TRIGGER: the condition under which it must be paid (e.g. "3rd consumer appears", ">100k rows") — a debt item without a trigger is itself a finding. Scheduled deletions carry their trigger as the removal condition (S8: review-debt items become *scheduled deletions* whose TRIGGER names the removal — executable by a fold batch, not archival prose). ✓ Verify no current-unit debt was mislabeled non-blocking: current-unit work cannot be `postpone`/`tradeoff`/`wontfix` — a table showing one is flagged back to the classifier, never reclassified here ✓ Honor the dead-code exception: staged/planned code cross-checked against the roadmap/SPEC/TASKS is not dead code — mark *verify* when unsure, never assert ✓ **Deletion route.** A debt item that proposes removal of a surface carries `route: fix-now (delete)`, not `route: fix-now (repair)`. The TRIGGER specifies what proves the surface is safe to remove (e.g. "no consumer in grep <scope> returns >0").

Return exactly

`Sev` and `Impact` are the two published closed sets (`BLOCKER | CRITICAL | WARNING | SUGGESTION` and `blocking | docs-only | report-only`); their meanings are owned by `review-implementation` (`CLASSIFY.md` §Severity ladder) — assign a token, never a prose grade.

REVIEW TECH DEBT — scope: <scope>

| # | Finding | Sev | Impact | Evidence | Suggested fix |
|---|---------|-----|--------|----------|---------------|
| 1 | <what>  | BLOCKER|CRITICAL|WARNING|SUGGESTION | blocking|docs-only|report-only | <file:line> | <trigger + smallest action> |

Rows: <n> transformed, <n> with trigger, <n> findings, <n> n/a (<which + why>)
Summary: <1-2 sentences>
Decision: PASS | FAIL

For this pass, the Suggested fix column carries the TRIGGER — the condition under which the debt must be paid — alongside the smallest action.

FAIL if any `BLOCKER`, `CRITICAL` or `WARNING` finding is open; PASS otherwise. `SUGGESTION` findings never block — they surface in the caller's report as debt notes.

Done when

  • Every debt-shaped row of the synthesized table was transformed with evidence

(`file:line`) or explicitly marked n/a with the reason.

  • Every debt item carries a trigger; no current-unit debt was mislabeled.
  • The fixed-format block above is returned — nothing more, nothing less — and

no code was changed.

Read more
@gtrabanco
Ships withagentic-workflow

A reusable set of agent skills that run a disciplined, doc-driven workflow for building software with agents — from idea/issue to a reviewed, classified, merge-ready change.

Stars on GitHub

Momentum

stars in total
22
Star history of gtrabanco/agentic-workflow on GitHub, a chart by star-history.com

Other skills on agentic-workflow.

audit-docs

audit-docs

Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap…

audit-pr

audit-pr

Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the…

fold-findings

fold-findings

Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded:…

init-workspace

init-workspace

Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook,…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about review-debt.

Which coding agents can use review-debt?
review-debt installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.