convention-solid-srp

Community

Enforce single responsibility in code design.

AuthorsunLeee
Version1.0.0
Installs0

System Documentation

What problem does it solve?

SRP (Single Responsibility Principle) states that a class or function should have only one reason to change; without SRP, responsibilities are mixed and changes ripple across code.

Core Features & Use Cases

  • Design modular components by separating concerns into focused classes or functions.
  • Improve testability and maintainability by reducing coupling and changes to single responsibilities.
  • Use case: refactor a multi-role class into separate, cohesive components such as data loading, preprocessing, analysis, and reporting.

Quick Start

Refactor a monolithic class with multiple responsibilities into separate, focused classes each responsible for a single change.

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: convention-solid-srp
Download link: https://github.com/sunLeee/optimization/archive/main.zip#convention-solid-srp

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.