From devops-skills
Identifies technical debt patterns like duplicated code, inconsistent naming, dead code, TODOs, magic numbers, long functions, and deep nesting. Use for code reviews and refactoring analysis.
npx claudepluginhub spences10/claude-code-toolkit --plugin devops-skillsThis skill uses the workspace's default tool permissions.
Identify duplicated code, inconsistent patterns, and refactoring opportunities.
Detects duplicated code, dead imports, security vulnerabilities, and complexity hotspots using parallel subagents. Run at session end, before commits, merges, or code reviews.
Identifies, categorizes, and prioritizes technical debt across code, architecture, tests, dependencies, docs, and infrastructure. Scores by impact, risk, effort; outputs remediation plans.
Analyzes codebases to identify, quantify, prioritize technical debt in code, architecture, testing, docs, and infra, with remediation plans.
Share bugs, ideas, or general feedback.
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