Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
meleantonio avatar

Techdebt

  • 2 installs
  • 512 repo stars
  • Updated February 11, 2026
  • meleantonio/chernycode

Finds and fixes technical debt including duplicated code, dead code, outdated patterns, and code smells at the end of a session.

About

Scans the codebase for duplication, dead code, outdated patterns, and code smells like long functions or deep nesting, then fixes them. A developer runs it at end-of-session to clean up accumulated tech debt.

  • Detects duplication, dead code, and outdated Python patterns
  • Flags code smells: long functions, too many params, magic numbers

Techdebt by the numbers

  • 2 all-time installs (skills.sh)
  • Ranked #947 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/meleantonio/chernycode --skill techdebt

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2
repo stars512
Last updatedFebruary 11, 2026
Repositorymeleantonio/chernycode

What it does

Finds and fixes technical debt including duplicated code, dead code, outdated patterns, and code smells at the end of a session.

Files

SKILL.mdMarkdownGitHub ↗

Technical Debt Finder

Identify and fix technical debt in the codebase.

What to Look For

Code Duplication

  • Functions with similar logic that could be consolidated
  • Copy-pasted code blocks
  • Repeated patterns that should be abstracted

Dead Code

  • Unused imports
  • Unused functions or classes
  • Commented-out code blocks
  • Unreachable code paths

Outdated Patterns

  • Deprecated API usage
  • Old-style string formatting (% or .format) vs f-strings
  • Type hints using typing.List instead of list
  • Missing type hints on public functions

Code Smells

  • Functions longer than 50 lines
  • Too many parameters (more than 5)
  • Deep nesting (more than 3 levels)
  • Magic numbers without constants
  • Overly complex conditionals

Missing Best Practices

  • Missing docstrings on public functions
  • Missing error handling
  • Hardcoded values that should be config
  • Missing tests for critical paths

Workflow

1. Scan the Codebase

  • Look for patterns matching the issues above
  • Prioritize by impact and ease of fix

2. Report Findings

  • List issues by category
  • Include file paths and line numbers
  • Estimate severity (high/medium/low)

3. Fix Issues

  • Start with high-severity, easy fixes
  • Create atomic commits for each fix
  • Run tests after each change

4. Verify

  • Run linter: ruff check .
  • Run tests: pytest
  • Ensure no new issues introduced

Arguments

Optionally specify a directory or file to focus on.

Usage:

  • /techdebt - Scan entire project
  • /techdebt src/ - Scan specific directory
  • /techdebt src/utils.py - Scan specific file

Output

Provide a summary of:

  • Issues found (by category)
  • Issues fixed
  • Remaining items for future sessions

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.