solid

Apply SOLID design principles to TypeScript code reviews and refactoring.

41|7|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/DGouron/review-flow --skill solid-dgouron
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: solid
Source: https://github.com/DGouron/review-flow/tree/main/.claude/skills/solid
Command: npx skills add https://github.com/DGouron/review-flow --skill solid-dgouron

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SOLID principles from Clean Architecture guide code reviews, refactoring decisions, and the design of new modules/components to improve maintainability and scalability.

Core Features & Use Cases

  • Enforces SRP, OCP, LSP, ISP, and DIP across use cases, gateways, controllers, and entities.
  • Provides concrete examples and best practices for architectural boundaries and extensibility.
  • Use Case: audit a module and rearchitect it to align with SOLID when adding new features.

Quick Start

Review a module using SOLID principles to keep responsibilities clear and extensible.

Frequently Asked Questions about solid

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

FAQPage Schema
How do I apply SOLID principles to a TypeScript codebase during code reviews?

Apply SOLID principles to TypeScript code reviews by enforcing SRP, OCP, LSP, ISP, and DIP across gateways, use cases, controllers, and entities to ensure clear responsibilities and architectural boundaries.

What is the best way to rearchitect a module to align with SOLID design principles?

Rearchitect a module for SOLID compliance by auditing responsibilities across controllers and entities, enforcing consistent interface contracts, and promoting modular gateways to improve extensibility when adding new features.

When do I need to enforce the Dependency Inversion Principle in clean architecture?

Enforce the Dependency Inversion Principle in clean architecture when designing new modules to decouple use cases from concrete gateways, ensuring scalable and maintainable TypeScript interface contracts.

Can I use SOLID principles to audit and refactor existing use cases and controllers?

Yes, you can use SOLID principles to audit and refactor existing use cases and controllers, providing concrete guidance and examples to enforce the Single Responsibility Principle and Interface Segregation Principle.

Why does clean architecture promote modular gateways in TypeScript?

Clean architecture promotes modular gateways in TypeScript to enforce consistent interface contracts, decouple dependencies, and improve the maintainability and scalability of the codebase.

Does the solid Skill work with generic TypeScript projects or only specific architectures?

The Skill targets TypeScript codebases structured around clean architecture, specifically guiding the design and refactoring of gateways, use cases, controllers, and entities using SOLID principles.