agentsclimarketplace

Tech debt

Skill rioX432/ai-dev-templates/skills/tech-debt

Scan codebase for technical debt and create GitHub Issues for high-severity findingsFrom its SKILL.md

Install
npx -y skills add rioX432/ai-dev-templates --skill tech-debt

Assembled 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

  1. Scan the codebase for the patterns listed below
  2. For each finding, assess severity (High / Medium / Low) and effort (S / M / L)
  3. Group findings by category
  4. For High severity items, create GitHub Issues using gh issue create
  5. 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)

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.