manastalukdar/ai-devstudio

complexity-reduce

Reduce cyclomatic complexity with targeted refactoring strategies

First seen Feb 21, 2026

Installation

$ npx skills add manastalukdar/ai-devstudio --skill complexity-reduce

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from manastalukdar/ai-devstudio · top by installs.

npx skills add manastalukdar/ai-devstudio

Browse all from manastalukdar/ai-devstudio

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 1
License LICENSE
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 902 B
  • docs SUMMARY.md 90 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 6 installs

SKILL.md

Cyclomatic Complexity Reduction

I'll analyze your code for high cyclomatic complexity, identify complex functions and methods, and suggest targeted refactoring strategies to improve maintainability.

Supported Languages:

  • JavaScript/TypeScript (ESLint complexity rules)
  • Python (Radon, mccabe)
  • Go (gocyclo)
  • Java (Checkstyle complexity)

Token Optimization

Expected range: 1,500–2,500 tokens (initial), 400 tokens (cache hit)

Caching: Caches complexity analysis in .claude/cache/complexity/ for 7 days. Invalidated when source files change.

Early exit: Returns immediately if all functions are below the complexity threshold.

Patterns used: Grep-before-Read, early exit, git diff scope default, Bash for system queries