code-complexity

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

/code:complexity

Measure and report code complexity metrics.

When to Use This Skill

Use this skill when... Use something else when...
Identifying refactoring targets by complexity Looking for specific anti-patterns → /code:antipatterns
Tracking codebase health trends Doing full code review → /code:review
Reviewing large PRs for complexity hotspots Finding duplicated code → /code:dry-consolidation
Setting complexity budgets for the team Configuring linting rules → /configure:linting

Context

  • Source files: !find . -type f \( -name "*.ts" -o -name "*.tsx" -o -name "*.js" -o -name "*.jsx" -o -name "*.py" -o -name "*.rs" -o -name "*.go" \) -not -path "*/node_modules/*" -not -path "*/.git/*" -not -path "*/dist/*" -not -path "*/build/*"
  • Package files: !find . -maxdepth 1 \( -name "package.json" -o -name "pyproject.toml" -o -name "Cargo.toml" -o -name "go.mod" \) -type f

Parameters

Installs
4
GitHub Stars
36
First Seen
Apr 14, 2026
code-complexity — laurigates/claude-plugins