Solid Single Responsibility

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

majiayu000 Updated 567 repo stars

File contents

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.

majiayu000/claude-skill-registry-data/tree/main/development/solid-single-responsibility-omniaffix-dave-sessionguardian commit 7c32956201

Frequently asked questions

npx skillmds@latest add majiayu000/solid-single-responsibility