What problem does it solve?
This Skill helps teams identify, quantify, and monitor technical debt using PMAT (Pragmatic AI Labs MCP Agent Toolkit). It detects Self-Admitted Technical Debt (SATD) annotations in code (TODO, FIXME, HACK, XXX, NOTE), estimates repayment effort in hours, tracks debt trends over time, and creates stakeholder-ready reports.
Core Features & Use Cases
- SATD Detection: Identify and categorize self-admitted debt across the codebase.
- Debt Quantification: Estimate hours required to resolve each debt item.
- Trend Tracking: Baseline vs. current debt to monitor improvement or regression.
- Reporting: Generate markdown or executive reports for stakeholders.
Quick Start
- Inventory SATD annotations: pmat analyze satd --path . --output satd_inventory.json
- Estimate repayment hours: pmat analyze tech-debt --path . --estimate-hours --output debt_estimates.json
- Track changes over time:
- pmat analyze satd --path . --baseline satd_baseline.json
- pmat compare-debt --baseline satd_baseline.json --current debt_current.json
- Create a debt report: pmat analyze satd --path . --format markdown --output TECH_DEBT_REPORT.md