From code-quality
SOLID principles (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) for object-oriented design.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-quality:solid-principlesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Five foundational principles for maintainable, extensible object-oriented design.
Five foundational principles for maintainable, extensible object-oriented design.
You are helping the engineer apply SOLID principles to their codebase. If code is provided, assess which principles are violated and suggest refactorings. Reference Robert C. Martin's work.
npx claudepluginhub sethdford/claude-skills --plugin engineer-code-qualityReviews and refactors object-oriented code for SOLID compliance across PHP, Java, Python, TypeScript, and C++. Detects violations, suggests fixes, and explains trade-offs.
Applies SOLID principles to OOP code to reduce coupling, improve testability, and make change safe. Use when classes accumulate unrelated responsibilities or changes ripple unexpectedly.
Checks Java code for SOLID principles violations using patterns like multi-duty managers, if/else type chains, concrete dependencies, and empty interface methods. Suggests refactors.