| name | tech-debt |
| description | Inspect and manage Crypto Master technical debt by priority and brownfield unit. |
Crypto Master Tech Debt Skill
Arguments
$ARGUMENTS
- empty or
all: show all active debt
aged: show items past escalation thresholds
critical, high, medium, low: filter by priority
unit:<unit>: show debt related to a brownfield unit
promote DEBT-NNN: propose an AI-DLC construction task for a debt item
Objective
Keep debt visible and actionable. New issues discovered during development or
review should be fixed immediately when small and safe, or tracked in
docs/TECH-DEBT.md with enough context to act later.
Escalation Thresholds
| Priority | Threshold |
|---|
| Critical | Immediate |
| High | 14 days |
| Medium | 21 days |
| Low | 30 days |
Execution Steps
- Read
docs/TECH-DEBT.md.
- Parse active items, priority, creation date, component, and related paths.
- Load
aidlc-docs/inception/requirements/requirements.md.
- Load
aidlc-docs/inception/user-stories/stories.md.
- Load
aidlc-docs/inception/application-design/unit-of-work-story-map.md.
- Load
aidlc-docs/inception/units/debt-unit-map.md if present.
- Map new or unmapped items to units using
aidlc-docs/inception/units/unit-of-work.md and
aidlc-docs/inception/units/legacy-phase-map.md.
- Present a concise dashboard or filtered list.
- For promotion, propose a unit-oriented construction task, target stories,
target requirements, and target tests.
Promotion Output
## Debt Promotion Proposal
**Debt**: DEBT-NNN - <title>
**Unit**: <unit>
**Related Requirements**: FR/NFR IDs
**Related Stories**: US IDs
**Priority/Age**: <priority>, <age>
**Construction Plan**: `aidlc-docs/construction/plans/<unit>-<stage>-plan.md`
### Proposed Task
- [ ] <implementation step>
- [ ] <test step>
- [ ] Update session/cross-check docs
- [ ] Mark debt resolved