cognitive-load-reviewer
CommunitySimplify code, boost maintainability, reduce fatigue.
Software Engineering#architecture#code review#refactoring#maintainability#complexity#software quality#cognitive load
Authorwcygan
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Complex, poorly structured code creates significant mental overhead, slowing down development, increasing bugs, and making onboarding difficult. This Skill acts as an expert code reviewer, identifying specific patterns that contribute to high cognitive load and recommending actionable refactoring strategies to simplify systems and improve maintainability.
Core Features & Use Cases
- Complexity Detection: Pinpoints areas with complex conditionals, deep nesting, shallow modules, and excessive abstraction layers.
- Refactoring Recommendations: Provides concrete examples and strategies for simplifying code, such as using early returns, extracting intermediate variables, and merging shallow modules.
- Architectural Guidance: Offers insights into avoiding microservices over-granularity, framework magic, and misinterpretations of DRY/SRP principles.
- Use Case: During a code review, provide a code snippet to this Skill and ask for a cognitive load analysis. It will highlight problematic areas and suggest specific, evidence-based improvements to make the code easier to understand and maintain.
Quick Start
Analyze the attached Rust code snippet for cognitive load and suggest improvements.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cognitive-load-reviewer Download link: https://github.com/wcygan/sql-database/archive/main.zip#cognitive-load-reviewer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.