agentsclimarketplace

Techdebt finder

Skill spences10/skills/techdebt-finder

Find technical debt patterns in codebases. Use when asked to find duplicated code, inconsistent patterns, or refactoring opportunities.From its SKILL.md

Install
npx -y skills add spences10/skills --skill techdebt-finder

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.
  • 15 stars15 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.2 KB, 449 tokens by cl100k_base, as published. Nobody here has run it

Tech Debt Finder

Identify duplicated code, inconsistent patterns, and refactoring opportunities. Prefer pnpx fallow when available for deeper static analysis; use this skill to interpret, prioritize, and turn findings into a practical refactor plan.

When to Use

  • "Find duplicate code"
  • "What needs refactoring?"
  • "Are there inconsistent patterns?"
  • Code review prep
  • Pre-refactor analysis

Detection Process

  1. Tool scan - Run pnpx fallow when available, then supplement with targeted grep/search
  2. Cluster - Group similar issues
  3. Prioritize - Rank by frequency × impact
  4. Report - Show findings with locations and suggested refactor seams

Quick Patterns

Debt TypeDetection Method
Duplicated codeHash-compare function bodies
Similar-but-diffFuzzy match on structure
Inconsistent namingRegex for mixed conventions
Dead codeUnreferenced exports/functions
Deferred-work notesGrep for comment markers
Magic numbersLiterals outside const/config
Long functionsLine count > threshold
Deep nestingIndentation level analysis

Output Format

## 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)
- [DEFERRED] 23 deferred-work comments, oldest: 2023-01-15

References

What ships with it: 3 files

11.4 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. 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.