ai-factory.architecture

Guide software architecture pattern selection across Clean Architecture, DDD, and microservices.

Updated Mar 31, 2025
One-click install
npx skills add https://github.com/spraby/api --skill ai-factory-architecture-spraby
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-factory.architecture
Source: https://github.com/spraby/api/tree/main/.claude/skills/architecture
Command: npx skills add https://github.com/spraby/api --skill ai-factory-architecture-spraby

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides guidance on selecting and implementing effective software architecture patterns, helping developers design scalable, maintainable, and well-structured systems.

Core Features & Use Cases

  • Architecture Selection: Offers decision matrices and guides for choosing between Monolith, Modular Monolith, and Microservices.
  • Pattern Deep Dives: Explains core concepts of Clean Architecture and Domain-Driven Design (DDD) with practical examples.
  • Use Case: When starting a new project, use this Skill to understand the trade-offs between different architectural styles and choose the most suitable one for your team and project goals.

Quick Start

Use the architecture skill to get a quick overview of software architecture patterns.

Frequently Asked Questions about ai-factory.architecture

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

FAQPage Schema
How do I choose between microservices and a modular monolith for system design?

Choosing between microservices and a modular monolith involves evaluating team size, scalability needs, and deployment frequency. This Skill provides decision matrices to compare Monolith, Modular Monolith, and Microservices architectures based on your specific project goals.

What is Domain-Driven Design and how does it apply to software architecture?

Domain-Driven Design (DDD) is an architectural approach that structures complex domains through strategic and tactical patterns. This Skill explains DDD concepts with practical examples to help align your code with core business requirements.

How do I implement Clean Architecture in a new software project?

Implementing Clean Architecture involves separating dependencies into distinct layers to isolate domain logic from external concerns. This Skill explains Clean Architecture concepts with practical examples to guide your system design and refactoring efforts.

When should I refactor a monolith into microservices?

Refactoring a monolith into microservices is appropriate when you need independent deployment, isolated fault tolerance, or specific scaling demands. This Skill facilitates informed refactoring decisions by covering microservice communication and data strategies.

What are the communication rules for a modular monolith?

Modular monolith communication rules define how modules interact while maintaining decoupled boundaries to prevent tight coupling. This Skill details modular monolith structure and communication rules to ensure maintainable system design without distributed overhead.