Solid Interface Segregation

Keep interfaces small and focused Use when designing system architecture. Architecture category skill.

majiayu000 Updated 567 repo stars

File contents

SOLID - Interface Segregation

Keep interfaces small and focused. If classes implementing an interface leave methods empty or throw "not supported," the interface is too large. Split large interfaces into smaller, cohesive ones. Clients should only need to know about methods relevant to them. Prefer multiple small interfaces over one large one—composition is flexible.

majiayu000/claude-skill-registry-data/tree/main/development/solid-interface-segregation-omniaffix-dave-sessionguardian commit 1e18ccb30c

Frequently asked questions

npx skillmds@latest add majiayu000/solid-interface-segregation