never-nester
CommunityFlatten code, reduce complexity.
AuthorShaulLavo
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces clean, readable, and maintainable code by preventing excessive nesting, which often leads to complex and error-prone logic.
Core Features & Use Cases
- Nesting Depth Enforcement: Limits code blocks to a maximum nesting depth of 3.
- Refactoring Techniques: Utilizes code extraction (pulling inner blocks into functions) and inversion (using early returns) to simplify deeply nested structures.
- Use Case: When writing new functions, reviewing pull requests, or refactoring existing code, this Skill ensures that the code remains easy to understand and debug.
Quick Start
Apply the never-nester skill to refactor the provided code snippet to reduce nesting depth.
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: never-nester Download link: https://github.com/ShaulLavo/ellie/archive/main.zip#never-nester 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 223,000+ vetted skills library on demand.