code-simplification-patterns

Community

Simplify code with proven patterns.

AuthorGGEdu
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Patterns for simplifying working code to reduce cognitive load. Early returns, async/await, extract nested logic, eliminate redundant state, simplify booleans, flatten collections. Behavior preservation is non-negotiable.

Core Features & Use Cases

  • Early returns to reduce nesting and clarify the happy path.
  • Promise-to-async/await conversion and parallel execution where safe.
  • Extracting nested logic into named functions for readability and maintainability.
  • Eliminating redundant state by deriving values from existing data.

Quick Start

Review a codebase and apply the listed simplification patterns to reduce cognitive load without changing observable behavior.

Dependency Matrix

Required Modules

None required

Components

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: code-simplification-patterns
Download link: https://github.com/GGEdu/claude-god-mode-template/archive/main.zip#code-simplification-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.