Scans your project for tech debt, TODOs, and inconsistent patterns, generating a prioritized task list.

Install

mkdir -p .claude/skills/tech-debt-agentty-xyz && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19385" && unzip -o skill.zip -d .claude/skills/tech-debt-agentty-xyz && rm skill.zip

Installs to .claude/skills/tech-debt-agentty-xyz

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Sweep the codebase for tech debt and return a prioritized markdown task list of findings.
89 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Traverse project directories to identify tech debt
  • Detect TODO, FIXME, HACK, and XXX comments
  • Identify outdated API usage and legacy code paths
  • Flag inconsistent error handling and missing documentation
  • Analyze dependency versions and unused code
  • Generate a prioritized markdown task list

How it works

The skill traverses target directories, reads project conventions from AGENTS.md, and analyzes code for maintenance issues. Findings are categorized by priority and returned as a structured markdown task list.

Inputs & outputs

You give it
Target directory or full codebase
You get back
Prioritized markdown task list of findings

When to use tech-debt

  • Identify stale patterns
  • List TODOs and FIXMEs
  • Standardize error handling
  • Find missing documentation

About this skill

Tech Debt Skill

Use this skill when asked to find tech debt, stale patterns, or maintenance issues in a codebase.

The user may scope the sweep to specific directories or modules (e.g., "sweep crates/agentty/src/app"). When a scope is given, restrict traversal to those paths. When no scope is given, sweep the full codebase.

Workflow

  1. Read Project Context

    • Read the root AGENTS.md for project conventions, architecture references, and style rules.
    • Identify which directories and modules are relevant to the sweep (respecting any user-provided scope).
  2. Traverse Target Directories

    • Navigate into each target directory and read the nearest available AGENTS.md for local conventions, entry points, and change guidance.
    • Use the architecture docs and module routers to prioritize which files and modules to inspect when no deeper local guide exists.
  3. Analyze for Tech Debt

    • TODOs and FIXMEs: Find TODO, FIXME, HACK, and XXX comments that indicate deferred work.
    • Outdated Patterns: Identify deprecated API usage, legacy code paths retained without justification, and patterns that conflict with current project conventions.
    • Inconsistent Error Handling: Flag mixed error handling strategies (e.g., unwrap() alongside proper Result propagation), swallowed errors, and missing error context.
    • Missing Documentation: Note public types, traits, and functions lacking doc comments, especially in areas with complex logic.
    • Stale Dependencies: Look for pinned dependency versions that lag behind current releases, unused dependencies, or feature flags that are no longer needed.
    • Dead Code: Identify unused functions, modules, imports, or feature gates that can be removed.
    • Test Gaps: Flag critical logic paths that lack test coverage or tests that are marked #[ignore].
    • Convention Violations: Check code against the project conventions discovered in Step 1 (e.g., naming rules, module layout, import style, constructor patterns) and flag deviations.
  4. Return Findings as a Task List

    • Structure your answer as a prioritized markdown task list.
    • Use the format below for each finding.

Task List Format

# Tech Debt Report

## Summary
[Brief overview: total finding count, highest-risk area, and overall codebase health impression.]

## Critical
- [ ] **[Title]** — `[file/module scope]`
  [Description of the issue and why it is critical.]

## High
- [ ] **[Title]** — `[file/module scope]`
  [Description of the issue and recommended action.]

## Medium
- [ ] **[Title]** — `[file/module scope]`
  [Description of the issue and recommended action.]

## Low
- [ ] **[Title]** — `[file/module scope]`
  [Description of the issue and recommended action.]

Priority Guidelines

PriorityCriteria
CriticalCauses runtime failures, data loss, or blocks other work.
HighSignificant maintenance burden, outdated patterns actively causing confusion, or missing error handling in critical paths.
MediumStyle inconsistencies, missing documentation, minor dead code, or deferred TODOs with clear scope.
LowCosmetic issues, minor naming improvements, or optional cleanup with no immediate impact.

When not to use it

  • When the codebase lacks any project conventions or architecture documentation
  • When the user requires automated code refactoring rather than a task list

Prerequisites

AGENTS.md file for project conventions

Limitations

  • Requires manual implementation of the generated task list
  • Scope is restricted to the provided directory or full codebase

How it compares

Unlike a generic search, this skill prioritizes findings based on project-specific conventions and defined risk criteria.

Compared to similar skills

tech-debt side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
tech-debt (this skill)022dNo flagsIntermediate
antfu62moReviewIntermediate
backfill-feature01moReviewAdvanced
effective-go3239moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

antfu

antfu

Anthony Fu's opinionated tooling and conventions for JavaScript/TypeScript projects. Use when setting up new projects, configuring ESLint/Prettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.

633

backfill-feature

0xdeafcafe

Use when the user says "/backfill-feature", "backfill the ADR", "this feature has no ADR", "I need to document what's already there before I change it", or wants to capture an existing feature's architectural rationale and behaviour *before* modifying it. Reads the relevant code, drafts a reverse-en

00

effective-go

openshift

Apply Go best practices, idioms, and conventions from golang.org/doc/effective_go. Use when writing, reviewing, or refactoring Go code to ensure idiomatic, clean, and efficient implementations.

323536

solid-principles

SmidigStorm

Enforce SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) in object-oriented design. Use when writing or reviewing classes and modules.

57236

typescript-review

metabase

Review TypeScript and JavaScript code changes for compliance with Metabase coding standards, style violations, and code quality issues. Use when reviewing pull requests or diffs containing TypeScript/JavaScript code.

39178

deepwiki-rs

sopaco

AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.

25170

Search skills

Search the agent skills registry