Tech debt
Scan codebase for technical debt and create GitHub Issues for high-severity findingsFrom its SKILL.md
npx -y skills add rioX432/ai-dev-templates --skill tech-debtAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, as published. Nobody here has run it
/tech-debt — Technical Debt Scanner
Scan the codebase for technical debt and refactoring opportunities, then create GitHub Issues for actionable items.
Steps
- Scan the codebase for the patterns listed below
- For each finding, assess severity (High / Medium / Low) and effort (S / M / L)
- Group findings by category
- For High severity items, create GitHub Issues using
gh issue create - Output a summary report
Detection Patterns
Code Smells
- Duplicated code (3+ similar blocks)
- Long functions (50+ lines)
- Large files (500+ lines)
- Deep nesting (4+ levels)
- God classes (too many responsibilities)
- Dead code (unused functions, imports, variables)
- TODO/FIXME/HACK comments left in code
Architecture
- Circular dependencies between modules
- Layer violations (check CLAUDE.md for architecture boundaries)
- Missing abstractions (concrete classes where interfaces should be)
- Inconsistent patterns across similar features
Performance
- N+1 queries
- Missing database indexes on frequently queried columns
- Unbounded lists without pagination
- Heavy computation on main thread
- Memory leaks (retain cycles, leaked references)
Testing
- Public functions without unit tests
- Test files with no assertions
- Missing edge case coverage (null, empty, boundary values)
Dependencies
- Outdated dependencies (check against latest stable versions)
- Deprecated API usage
- Security vulnerabilities in dependencies (if audit tools available)
Issue Creation
For each High severity finding:
gh issue create \
--title "Tech Debt: {concise description}" \
--body "{detailed description with file locations and suggested fix}" \
--label "tech-debt"
Output Format
## Tech Debt Report
**Scanned:** N files
**Findings:** X High, Y Medium, Z Low
**Issues created:** N
### High Severity
| # | Category | File | Description | Effort | Issue |
|---|----------|------|-------------|--------|-------|
### Medium Severity
| # | Category | File | Description | Effort |
|---|----------|------|-------------|--------|
### Low Severity
(summary only)