plugins/coordinator.bak/skills/debt-triage/SKILL.md
Use when the technical debt backlog needs review and prioritization, on demand, or when the backlog exceeds 20 open items. This is an EM-PM conversation, not a dispatched agent — the EM reads the backlog, applies judgment, and presents recommendations. Note: weekly-architecture-audit will increasingly insist as the count grows — mild concern at >20, visible disappointment at >30, and a full coffee-down stare-down at >40.
npx skillsauth add oduffy-delphi/coordinator-claude debt-triageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review the debt backlog, verify items are still relevant, re-prioritize based on current state, close resolved items, and present recommendations to the PM.
Announce at start: "I'm using the coordinator:debt-triage skill to review the debt backlog."
This is an EM-PM conversation, not a dispatched agent. The EM reads the backlog, applies judgment, and presents recommendations.
tasks/debt-backlog.mdAlso read tasks/bug-backlog.md (if it exists). Flag any BS-* entries that overlap with open DCH-/WAA- items by file path or description similarity. When overlap is found, populate the Cross-ref field on both entries (e.g., Cross-ref: BS-2026-03-18-1 on the debt item, Cross-ref: WAA-2026-03-19-1 on the bug item). Present overlaps to PM for deduplication decision.
Dispatch Haiku agents to verify each open item against the current code. This is mechanical read-and-confirm work — no judgment needed. Group items by system for efficient dispatch (one Haiku per system).
Each Haiku agent receives a list of items for its system and:
git log --since="<finding-date>" -- <file-path>
still-open / already-fixed / partially-addressedThe coordinator then categorizes:
already-fixed: mark as no-longer-applicablestill-open: item remains openpartially-addressed: update the description based on Haiku's reportWhy Haiku: 12 of 16 items in the 2026-03-19 triage were already fixed. Haiku verification costs minutes; dispatching Sonnet executors on ghost debt costs significantly more.
Based on current state:
Group remaining items by system for efficient batch execution:
## Triage Results
### Closed (no longer applicable): N items
| ID | Reason |
|----|--------|
### Recommended for immediate action: N items
| ID | System | Severity | Description | Effort |
|----|--------|----------|-------------|--------|
### Can defer: N items
| ID | System | Severity | Reason to defer |
|----|--------|----------|----------------|
### Needs PM decision (YAGNI/scope): N items
| ID | System | Description | Question |
|----|--------|-------------|----------|
Present the triage results and ask for:
After PM decisions:
closed — [reason])git add tasks/debt-backlog.md
git commit -m "debt-triage: reviewed N items, closed M, N remain open"
tools
Orient session — preflight, load context, choose work
documentation
Wrap up finished work — capture lessons, update docs
testing
Use before commit, /merge-to-main, /workday-complete, or to validate repo state. Resolves and runs the project's configured fast-test command.
development
Root-cause discipline for ONE identified bug, test failure, or unexpected behavior — pin the premise, reproduce, trace to source, fix at source, verify. For a single known issue, not a codebase sweep.