# Solid Interface Segregation

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

- Skill: `majiayu000/solid-interface-segregation` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/solid-interface-segregation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/solid-interface-segregation/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/majiayu000/solid-interface-segregation

---


# 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.
