solid-architecture

Community

Write maintainable, testable code.

Authorgarethdaine
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenges of writing complex, hard-to-maintain, and brittle code by providing clear guidelines on software design principles and architectural patterns.

Core Features & Use Cases

  • SOLID Principles: Enforces Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion.
  • Composition Over Inheritance: Guides developers to favor composition for flexibility.
  • Module Organization: Provides best practices for file granularity, layering, and dependency management.
  • Side Effect Management: Helps in separating pure computation from impure operations and managing external interactions.
  • Use Case: When refactoring a large class with multiple responsibilities, this skill helps identify how to break it down into smaller, more manageable, and testable modules adhering to SRP.

Quick Start

Apply the SOLID principles to refactor the existing UserService class to improve its maintainability.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: solid-architecture
Download link: https://github.com/garethdaine/agent/archive/main.zip#solid-architecture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.