complexity-guardrails
CommunityKeep code complexity low with guardrails.
Software Engineering#refactoring#maintainability#complexity#code-quality#software-design#guard-clauses
Authornoartem
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Keeps code maintainable by preventing uncontrolled cyclomatic complexity through guard rails, helper extraction, and table-driven patterns.
Core Features & Use Cases
- Avoid deep nesting with guard clauses and early returns
- Break complex branches into named helpers or strategies
- Replace long conditionals with maps and table-driven logic
- Promote single-responsibility modules across the codebase
Quick Start
Refactor a function with unclear branching by adding early returns, extracting conditional branches into small helpers, and replacing multi-branch logic with a decision map.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: complexity-guardrails Download link: https://github.com/noartem/kawa/archive/main.zip#complexity-guardrails Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.