code-simplicity-reviewer

Community

Simplify code, embrace YAGNI.

Authorgvkhosla
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the problem of overly complex, redundant, or prematurely abstracted code that hinders maintainability and clarity, ensuring that only necessary functionality is present.

Core Features & Use Cases

  • Line-by-Line Necessity Analysis: Identifies and flags code that doesn't directly serve current requirements.
  • Complexity Reduction: Simplifies intricate logic, reduces nesting, and promotes early returns.
  • Redundancy Elimination: Detects and suggests removal of duplicate checks, patterns, and commented-out code.
  • Abstraction Challenge: Questions unnecessary abstractions, inlines code, and removes premature generalizations.
  • YAGNI Enforcement: Ruthlessly removes features or extensibility points not needed now.
  • Readability Optimization: Prioritizes self-documenting code and descriptive naming.
  • Use Case: After implementing a new feature, use this Skill to ensure the code is as lean and straightforward as possible, removing any "just in case" additions.

Quick Start

Review the recently implemented user authentication system for simplicity and minimalism.

Dependency Matrix

Required Modules

None required

Components

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: code-simplicity-reviewer
Download link: https://github.com/gvkhosla/compound-engineering-pi/archive/main.zip#code-simplicity-reviewer

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 223,000+ vetted skills library on demand.