solid-architecture
Installation
SKILL.md
SOLID Architecture Guidelines
Apply these principles when writing or modifying code. Use them as tie-breakers when design decisions conflict.
Core Goals (Priority Order)
- Maintainability - Easy to change without breaking unrelated parts
- Testability - Core logic testable without I/O or UI
- Determinism - Reproducible given same inputs/seeded RNG
- Separation of Concerns - Domain, infrastructure, UI clearly separated
Composition Over Inheritance
Favor small, focused types composed together rather than deep inheritance trees. When tempted to extend a class, first ask: "Can this be achieved through composition instead?"