tl-complexity-assessment

Analyze TypeScript/JavaScript codebases to surface complexity hotspots and refactoring opportunities.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/toddlevy/tl-agent-skills --skill tl-complexity-assessment
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tl-complexity-assessment
Source: https://github.com/toddlevy/tl-agent-skills/tree/main/skills/tl-complexity-assessment
Command: npx skills add https://github.com/toddlevy/tl-agent-skills --skill tl-complexity-assessment

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rg, madge, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Systematic complexity assessment for TypeScript/JavaScript/React codebases. Identifies monoliths, god files, high coupling, and component smells to guide targeted refactoring.

Core Features & Use Cases

  • Automated scanning of codebases to surface hotspots and actionable findings
  • ROI-focused prioritization to guide sprint planning
  • Evidence-backed reports with file paths, metrics, and split recommendations

Quick Start

Run the automated scanner to generate a complexity assessment report for your codebase.

Frequently Asked Questions about tl-complexity-assessment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find code complexity hotspots in a TypeScript and React codebase?

To find code complexity hotspots, scan your TypeScript and React codebase to surface monoliths, god files, and high coupling. This generates a prioritized list of actionable findings with file-level metrics and split recommendations.

What is the best way to prioritize refactoring opportunities in JavaScript?

Prioritize refactoring opportunities using ROI-focused analysis of JavaScript code. This evaluates cross-domain imports and component smells to generate evidence-backed recommendations suitable for sprint planning workflows.

How do I detect god files and monolith architecture in my web application?

Detect god files and monolith architecture by scanning your codebase to surface high coupling and cross-domain imports. The assessment returns file-level metrics and evidence to guide targeted refactoring.

Can I identify React component smells using static code analysis?

Yes, you can identify React component smells through static code analysis. The scanner evaluates your React files to detect architectural issues and generates evidence-backed reports with actionable split recommendations.

Does the complexity assessment scanner require any specific dependencies installed?

Yes, the complexity assessment scanner requires ripgrep and madge to be installed. These dependencies enable automated scanning of your codebase to surface architectural hotspots and cross-domain import issues.