solid-principles

Apply SOLID design principles to verify and improve software module structure.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/agnaldo4j/kanban-vision-api-kt --skill solid-principles-agnaldo4j
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solid-principles
Source: https://github.com/agnaldo4j/kanban-vision-api-kt/tree/main/.claude/skills/solid-principles
Command: npx skills add https://github.com/agnaldo4j/kanban-vision-api-kt --skill solid-principles-agnaldo4j

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the common challenge of maintaining, testing, and extending complex software systems by providing a structured framework to identify and resolve design flaws.

Core Features & Use Cases

  • Design Verification: Evaluate classes, interfaces, and modules against the five SOLID principles to ensure high-quality architecture.
  • Refactoring Guidance: Identify specific violations like "God classes" or tight coupling and receive actionable advice on how to decouple components.
  • Use Case: When reviewing a Pull Request, use this Skill to check if a new service implementation violates the Open-Closed Principle or if a repository interface is too bloated, ensuring the code remains maintainable as the project scales.

Quick Start

Use the solid-principles skill to analyze the CreateBoardUseCase class for potential violations of the Dependency Inversion Principle.

Frequently Asked Questions about solid-principles

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my code for SOLID principle violations during a code review?

To check code for SOLID principle violations during a code review, evaluate classes and modules against the five principles to identify design flaws like bloated interfaces and tight coupling, ensuring maintainable architecture.

What is the best way to refactor a God class to follow clean architecture principles?

The best way to refactor a God class for clean architecture is to apply the Single Responsibility Principle to decouple components, enforcing strict dependency rules and interface segregation to resolve tight coupling and improve extensibility.

How does interface segregation improve software design and module structure?

Interface segregation improves software design by forcing clients to depend only on the methods they actually use, which prevents bloated repository interfaces, reduces coupling, and directly enforces clean architecture rules within your modules.

Can I use SOLID principles to verify if a new service violates the Open-Closed Principle?

Yes, you can use SOLID principles to verify if a new service implementation violates the Open-Closed Principle by analyzing whether the module structure requires modification rather than extension, ensuring the code remains maintainable as the project scales.

When should I enforce strict dependency rules in software design refactoring?

You should enforce strict dependency rules during software design refactoring when you need to resolve tight coupling and satisfy clean architecture requirements, ensuring that high-level modules do not depend on low-level implementations but rather on abstractions.

Why does applying the Dependency Inversion Principle help with software maintainability?

Applying the Dependency Inversion Principle helps with software maintainability by decoupling high-level components from low-level modules, enforcing strict dependency rules on abstractions, and making complex software systems significantly easier to test and extend.