About solid-principles
A reference skill for developers applying SOLID principles to object-oriented code. It summarizes the five principles and points to detailed documentation.
Key features
- 01Single Responsibility Principle
- 02Open-Closed Principle
- 03Liskov Substitution Principle
- 04Interface Segregation Principle
- 05Dependency Inversion Principle
Use cases
- 01Check whether a class has too many responsibilities
- 02Extend code through interfaces
- 03Design smaller interfaces
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ thebeardedbearsas/ claude-craft --skill solid-principlesAfter installing, type/solid-principlesin Claude Code to confirm it loaded.
Bundled filesREADME.mdREFERENCE.md
Details
From the project READMESOLID Principles
This skill provides universal SOLID principles guidelines for object-oriented code quality.
See @REFERENCE.md for detailed documentation.
Quick Reference
- SRP: One reason to change per class
- OCP: Extend via interfaces, don't modify existing
- LSP: Subtypes substitutable for base types
- ISP: Small interfaces (< 5 methods)
- DIP: Depend on abstractions, not implementations
Comments
Markdown supported