code-architecture

Installation
SKILL.md

Code Architecture

Architecture patterns and code organization that survive contact with reality. The goal is code you can still understand, test, and change 18 months after it was written. This covers the decisions made at the module and application level — not how to split services, not how to design schemas, but how to organize the code within a single deployable unit.

When to Use

Use for:

  • Choosing an architecture pattern for a new project (clean, hexagonal, feature-based, vertical slice)
  • Diagnosing architectural problems in existing code (fat controllers, circular deps, tangled business logic)
  • Applying dependency inversion to untangle tightly coupled code
  • Deciding on folder structure and module organization
  • Applying SOLID principles at the module scale (not just class scale)
  • Setting up dependency injection containers
  • Defining module boundaries and barrel exports
  • Designing the test pyramid relative to architecture layers

NOT for:

  • Splitting a monolith into microservices (use microservices-patterns)
  • Database schema design, normalization, query optimization (use database-design-patterns)
Related skills
Installs
6
GitHub Stars
103
First Seen
Apr 2, 2026