New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Automated and manual technical debt analysis for JavaScript/TypeScript codebases, with a maintained debt register and ADR templates.

skills.sh installs
989
GitHub stars
473
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers automated code smell detection, dependency analysis, manual architecture and security review, categorization, and prioritization
  • Includes detect_code_smells.py for large files, complex functions, debt markers, and weak typing, plus analyze_dependencies.py for deprecated and duplicate packages
  • Assigns Critical, High, Medium, and Low severity with an impact-by-effort priority matrix to guide scheduling
  • Designed for teams that maintain a debt register and want to document major decisions as ADRs

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/ailabs-393/ai-labs-claude-skills
Category
Code Review & Quality
First seen
May 16, 2026

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

All 23

Similar to Tech Debt Analyzer

More Code Review & Quality