Agent skill

solid-single-responsibility

Each class should encapsulate a single concept or responsibility Use when designing system architecture. Architecture category skill.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/solid-single-responsibility

Metadata

Additional technical details for this skill

category
Architecture
priority
high
is built in
YES
session guardian id
builtin_solid_srp

SKILL.md

SOLID - Single Responsibility

Each class should encapsulate a single concept or responsibility. If a class has methods that change for different reasons (UI changes vs. business logic vs. persistence), split it. Signs of SRP violation: large classes, many dependencies, god objects, difficulty naming the class. Apply this at module level too—each module should have a cohesive purpose.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results