skills/tech-debt/SKILL.md
Identifies, classifies, and prioritizes technical debt. Use when auditing technical debt, assessing code quality, analyzing maintenance burden, or asking what's slowing us down. Produces categorized inventory with severity rankings, remediation roadmap, and fix recommendations.
npx skillsauth add philoserf/claude-code-setup skills/tech-debtInstall 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.
Systematic methodology for identifying, classifying, and prioritizing technical debt across a codebase. This skill diagnoses — it produces an inventory and remediation roadmap but does not modify code.
These skills form a diagnose/treat pair:
Run tech-debt first to build the inventory, then hand prioritized items to refactor-clean for execution.
Walk the codebase and identify debt items using the debt categories.
Scaling by codebase size:
| Files | Strategy | | ------ | -------------------------------------------------------------------------------------- | | < 50 | Read all non-trivial files | | 50–500 | Use Glob/Grep to identify hotspots; read the top 10 by smell-pattern hit density | | 500+ | Limit to top-level architecture, entry points, and files with 5+ smell pattern matches |
Note the sampling strategy used in the report Summary.
If the Glob scan returns no files, stop and ask the user to confirm the working directory. Do not synthesize findings from empty results.
If the user specifies a subdirectory or module scope, restrict all scanning to that path. Note the scope limitation in the report Summary and flag that cross-cutting debt (e.g., shared utilities outside scope) may be underreported.
Score each debt item using the ROI framework.
Rank items into action tiers:
| Tier | Profile | Action | | ----------- | ------------------------ | ----------------------- | | Quick Wins | High impact, low effort | Address immediately | | Medium-Term | High impact, high effort | Plan for next cycle | | Long-Term | Moderate impact, large | Roadmap for future | | Skip | Low impact, high effort | Accept or revisit later |
Deliver the analysis in structured format:
## Tech Debt Inventory
### Summary
- Total items found: N
- Critical: N | High: N | Medium: N | Low: N
- Sampling strategy: <all files | hotspot top-10 | architecture + heavy-smell>
- Scope: <full codebase | path/to/subdirectory (cross-cutting debt may be underreported)>
### Debt Items
| # | Category | Item | Location | Risk | Effort | Tier |
|---|----------|------|----------|------|--------|------|
| 1 | Code | ... | ... | ... | ... | ... |
### Prioritized Roadmap
#### Quick Wins
- [items with rationale]
#### Medium-Term
- [items with rationale]
#### Long-Term
- [items with rationale]
### Recommendations
- [key observations and suggested next steps]
refactor-clean.Detailed taxonomy and scoring guidance:
code-auditrefactor-cleandiff-reviewdeps-audittesting
Audits ~/.claude/skills/ for unused entries, duplicate names, missing descriptions, and the longest descriptions. Use when trimming the user-level skill set, asking which skills are unused, finding duplicates, or auditing skill hygiene.
tools
Publishes and manages Flowershow sites with the `fl` CLI (the Go-based successor to the deprecated `@flowershow/publish` npm package). Use when publishing a note or folder to Flowershow, syncing updates to an existing site, managing auth, listing or deleting sites, or installing/upgrading the CLI.
tools
Copy edits prose while preserving voice and register. Use when asked to edit, copy edit, line edit, proofread, revise, polish, tighten, rewrite, or clean up essays, articles, drafts, or fiction. Flags wordiness, passive voice, clichés, hedging, and nominalizations with bracket markup or clean rewrites.
tools
Improves CLAUDE.md by analyzing conversation patterns. Use when Claude keeps repeating a mistake, when teaching a new preference, or when consolidating guidance from repeated instructions. Captures recurring corrections and style preferences into project instructions.