uncomplex-analyzer

Analyzes Python and JavaScript/TypeScript code for cyclomatic complexity, circular dependencies, and duplication.

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/snqb/my-skills --skill uncomplex-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uncomplex-analyzer
Source: https://github.com/snqb/my-skills/tree/main/uncomplex-analyzer
Command: npx skills add https://github.com/snqb/my-skills --skill uncomplex-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes code bases to identify and reduce complexity by understanding intent and proposing library-based replacements.

Core Features & Use Cases

  • Detects high cyclomatic complexity in Python and TS/JS code
  • Identifies circular dependencies and duplicated code to guide refactors
  • Suggests battle-tested library replacements to simplify maintenance

Quick Start

Run the analyzer on a directory to detect and report high-complexity functions.

Frequently Asked Questions about uncomplex-analyzer

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

FAQPage Schema
How do I detect high cyclomatic complexity in Python and JavaScript code?

You can identify circular dependencies and duplicated code by scanning your project directory to detect structural issues that guide refactoring decisions. The analyzer evaluates these patterns across Python and JavaScript/TypeScript projects to highlight maintenance risks.

What is the best way to find libraries that simplify complex code?

The best way to find library replacements for complex code is to analyze your codebase to identify high-complexity functions and detect established patterns. The analyzer then suggests battle-tested libraries to simplify maintenance and reduce cyclomatic complexity.

Does this code complexity analyzer work with both Python and TypeScript projects?

Yes, the complexity analyzer works with both Python and TypeScript projects. It scans mixed codebases by implementing radon for Python complexity metrics and ESLint for JavaScript and TypeScript complexity, guiding unified refactoring decisions.

How do I refactor code based on cyclomatic complexity and duplication analysis?

To refactor code based on complexity and duplication analysis, run the analyzer on your directory to detect high-complexity functions, circular dependencies, and duplicated code. It evaluates these patterns and recommends library replacements to guide your refactoring workflow.

When should I use radon and ESLint to analyze code complexity?

You should use radon and ESLint to analyze code complexity when maintaining Python and JavaScript/TypeScript projects. Run the analyzer to scan for cyclomatic complexity, circular dependencies, and duplication to receive library replacement suggestions for simplification.