askill
complexity

complexitySafety 95Repository

Analyzes code for complexity issues. Use when code feels hard to understand, reviewing maintainability, or planning refactoring.

1 stars
1.2k downloads
Updated 1/13/2026

Package Files

Loading files...
SKILL.md

Complexity Analyzer

Complexity is the enemy. Good design reduces the complexity developers face.

Three Symptoms

  1. Change Amplification: Simple change requires modifications in many places

    • Duplicated magic values, scattered configuration, tight coupling
  2. Cognitive Load: Too much knowledge needed to complete a task

    • Too many parameters, deep nesting, complex conditionals, hidden state, non-obvious side effects
  3. Unknown Unknowns: Not obvious what to modify or what info is needed

    • Missing docs on non-obvious behavior, implicit contracts, hidden dependencies, action-at-a-distance

Red Flags

  • Shallow modules (interface nearly as complex as implementation)
  • Information leakage (implementation details in interfaces)
  • Pass-through methods (just call another method)
  • Conjoined methods (must be called together)
  • Temporal decomposition (split by execution order, not information hiding)

Output

Complexity level (Low/Medium/High/Critical), findings with location/symptom/impact/suggestion, prioritized refactoring recommendations.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

60/100Analyzed 3/2/2026

Solid conceptual framework for understanding code complexity with clear symptoms and red flags. However, lacks actionable step-by-step procedures for performing analysis. Functions more as a reference guide than an executable skill - users must infer how to actually conduct the analysis. The 'when to use' guidance and structured sections are good, but without concrete commands or workflow, actionability suffers. Reusable across projects due to general design principles."

95
75
80
45
40

Metadata

Licenseunknown
Version-
Updated1/13/2026
Publisherbchapuis

Tags

No tags yet.