plugins/devops-skills/skills/techdebt-finder/SKILL.md
Find technical debt patterns in codebases. Use when asked to find duplicated code, inconsistent patterns, or refactoring opportunities.
npx skillsauth add spences10/claude-code-toolkit techdebt-finderInstall 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.
Identify duplicated code, inconsistent patterns, and refactoring opportunities.
| Debt Type | Detection Method | | ------------------- | ------------------------------ | | Duplicated code | Hash-compare function bodies | | Similar-but-diff | Fuzzy match on structure | | Inconsistent naming | Regex for mixed conventions | | Dead code | Unreferenced exports/functions | | TODO/FIXME | Grep for comment markers | | Magic numbers | Literals outside const/config | | Long functions | Line count > threshold | | Deep nesting | Indentation level analysis |
## Technical Debt Report
### High Priority (fix soon)
- [DUPLICATE] src/utils/format.ts:23 ↔ src/helpers/fmt.ts:45
Similar: 87% | Impact: High (called 12 places)
### Medium Priority (plan for)
- [INCONSISTENT] Mixed naming: getUserData vs fetch_user
Files: api.ts, service.ts, handler.ts
### Low Priority (track)
- [TODO] 23 TODO comments, oldest: 2023-01-15
development
Design and create Claude Skills using progressive disclosure principles. Use when building new skills, planning skill architecture, or writing skill content.
testing
Verify sources before presenting findings. Use when asked to research links or documentation.
data-ai
Analyze session history for learnings and persist to skills. Solves "memory zero" - correct once, never again.
tools
Validate, test, and distribute Claude Code plugins and marketplaces. Use when developing plugins, debugging validation errors, or preparing for distribution.