This one runs Python scripts to scan your JavaScript/TypeScript codebase for technical debt, then helps you document everything in a structured register. It catches the usual suspects: bloated files over 500 lines, functions with high complexity, deprecated dependencies, TODO comments, and TypeScript any types. The manual review checklist covers architectural problems, test gaps, and security issues that automation misses. What I like is the debt register template that forces you to justify priority and estimate effort, not just list problems. The 20% sprint capacity recommendation for debt work is solid advice, though good luck getting that past your PM. Best used when you inherit a messy codebase or need to make a case for refactoring time.

skills.sh installs
988
GitHub stars
467
last updated
Aug 21, 2026

Install

$ npx -y skills add ailabs-393/ai-labs-claude-skills --skill tech-debt-analyzer --agent claude-code

Installs into .claude/skills of the current project.

Files

Technical Debt Analyzer

Overview

Systematically identify, analyze, document, and track technical debt in JavaScript/TypeScript codebases. This skill provides automated analysis tools, comprehensive debt categorization frameworks, and documentation templates to maintain a technical debt register.

Core Workflow

1. Automated Analysis

Run automated scripts to detect technical debt indicators across the codebase.

Code Smell Detection

Identify code quality issues using the automated detector:

python3 scripts/detect_code_smells.py src --output markdown

The script analyzes:

  • Large Files: Files exceeding 500 lines
  • Complex Functions: High cyclomatic complexity (>10) or long functions (>50 lines)
  • Debt Markers: TODO, FIXME, HACK, XXX, BUG comments
  • Console Statements: Debug statements left in code
  • Weak Typing: Use of any type in TypeScript
  • Long Parameters: Functions with >5 parameters
  • Deep Nesting: Code nested >4 levels deep
  • Magic Numbers: Hardcoded numeric values

Output Example:

# Technical Debt Analysis Report

**Files Analyzed:** 127
**Total Lines:** 15,432
**Total Issues:** 89

Sponsors

Details

Repository
github.com/ailabs-393/ai-labs-claude-skills
Categories
Security, Documentation, Code Review & Quality, AI & Agent Building
First seen
May 16, 2026

More from ailabs-393/ai-labs-claude-skills

All 27

Recommended

More Security
1davila7 avatarcode-reviewerdavila7/claude-code-templatesComprehensive code review skill for TypeScript, JavaScript, Python, Swift, Kotlin, Go. Includes automated code analysis, best practice checking, security scanni975skills.sh installs
2testdino-hq avatarplaywright-coretestdino-hq/playwright-skillBattle-tested Playwright patterns for writing and debugging reliable E2E, API, component, visual, accessibility, and security tests. Use when you need locator s966skills.sh installs
3zubair-trabzada avatargeo-technicalzubair-trabzada/geo-seo-claudeTechnical SEO audit with GEO-specific checks — crawlability, indexability, security, performance, SSR, and AI crawler access948skills.sh installs
4daymade avatarrepomix-safe-mixerdaymade/claude-code-skillsSafely package codebases with repomix by automatically detecting and removing hardcoded credentials before packing. Use when packaging code for distribution, cr946skills.sh installs
5alirezarezvani avatartech-stack-evaluatoralirezarezvani/claude-skillsTechnology stack evaluation and comparison with TCO analysis, security assessment, and ecosystem health scoring. Use when comparing frameworks, evaluating techn923skills.sh installs
6liveblocks avatarliveblocks-best-practicesliveblocks/skillsUse this skill when building, debugging, or answering questions about Liveblocks. Liveblocks gives you the building blocks and infrastructure to enable people a923skills.sh installs