Home / Market / architecture-paradigms

architecture-paradigms

Routes to the right architecture paradigm

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

--- name: architecture-paradigms description: Routes to the right architecture paradigm version: 1.10.3 triggers:

metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/archetypes", "emoji": "\ud83e\udd9e", "requires": {"config": ["night-market.architecture-paradigm-functional-core", "night-market.architecture-paradigm-hexagonal", "night-market.architecture-paradigm-domain-driven", "night-market.architecture-paradigm-cqrs-es", "night-market.architecture-paradigm-event-driven", "night-market.architecture-paradigm-layered", "night-market.architecture-paradigm-modular-monolith", "night-market.architecture-paradigm-microkernel", "night-market.architecture-paradigm-microservices", "night-market.architecture-paradigm-service-based", "night-market.architecture-paradigm-space-based", "night-market.architecture-paradigm-pipeline", "night-market.architecture-paradigm-serverless", "night-market.architecture-paradigm-client-server"]}}} source: claude-night-market source_plugin: archetypes

---

> Night Market Skill: ported from claude-night-market/archetypes. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

When NOT To Use

pensive:architecture-review)

Architecture Paradigm Router

This skill helps you select the right architecture paradigm(s) for your system, then routes you to the specific paradigm skill for implementation details.

Quick Scenario Router

Match your needs to the recommended paradigm:

| Your Scenario | Primary Paradigm | Load Skill | |---------------|------------------|------------| | Enterprise app with multiple teams | Microservices or Modular Monolith | architecture-paradigm-microservices or architecture-paradigm-modular-monolith | | Complex business rules & testing | Functional Core, Imperative Shell | architecture-paradigm-functional-core | | Real-time/event processing | Event-Driven Architecture | architecture-paradigm-event-driven | | Legacy system modernization | Hexagonal (Ports & Adapters) | architecture-paradigm-hexagonal | | Cloud-native/bursty workloads | Serverless | architecture-paradigm-serverless | | ETL/data processing pipeline | Pipeline Architecture | architecture-paradigm-pipeline | | Simple CRUD app | Layered Architecture | architecture-paradigm-layered | | Command/query separation | CQRS and Event Sourcing | architecture-paradigm-cqrs-es | | Rich business rules to model | Domain-Driven Design | architecture-paradigm-domain-driven |

One of these is not like the others. Domain-Driven Design answers "what are the concepts and what do we call them." The rest answer "where does the code go." DDD composes with a structural paradigm (commonly layered, hexagonal, or modular monolith) rather than competing with it, so selecting it does not mean deselecting one of the others.

3-Step Selection Workflow

Step 1: Define Your Needs

Primary Concerns (select all that apply):

System Context:

Step 2: Evaluate Paradigms

Based on your needs from Step 1, review these options:

For Testability & Business Logic

For Team Autonomy

For Infrastructure Flexibility

For Simplicity & Maintainability

For Rich Business Rules

own language. Pair it with whichever structural paradigm you picked above. It does not replace one. Skip it when the domain is CRUD over a form, where the model would just be the schema under a new name.

For Real-time Event Processing

For Legacy Integration

Step 3: Load Paradigm Skill for Implementation

Once you've selected your paradigm(s), load the specific skill for detailed guidance:

# Example: You selected Hexagonal Architecture
Skill(archetypes:architecture-paradigm-hexagonal)

The individual paradigm skill provides:

Available Paradigm Skills

| Paradigm | Complexity | Team Size | Best For | Skill Name | |----------|------------|-----------|----------|------------| | Functional Core | Medium | Small-Large | Complex business logic | architecture-paradigm-functional-core | | Hexagonal | Medium | Small-Large | Infrastructure changes | architecture-paradigm-hexagonal | | Layered | Low | Small-Medium | Simple domains | architecture-paradigm-layered | | Modular Monolith | Medium | Medium-Large | Evolving systems | architecture-paradigm-modular-monolith | | Microservices | High | Large | Complex domains | architecture-paradigm-microservices | | Event-Driven | High | Medium-Large | Real-time processing | architecture-paradigm-event-driven | | CQRS and ES | High | Medium-Large | Audit trails | architecture-paradigm-cqrs-es | | Service-Based | Medium | Medium | Coarse-grained services | architecture-paradigm-service-based | | Serverless | Medium | Small-Medium | Cloud-native/bursty | architecture-paradigm-serverless | | Microkernel | Medium | Small-Medium | Plugin systems | architecture-paradigm-microkernel | | Space-Based | High | Large | Linear scalability | architecture-paradigm-space-based | | Pipeline | Low | Small-Medium | ETL workflows | architecture-paradigm-pipeline | | Client-Server | Low | Small | Traditional apps | architecture-paradigm-client-server | | Domain-Driven Design | Medium | Small-Large | Rich business rules (composes with the above) | architecture-paradigm-domain-driven |

Integration with Other Skills

Exit Criteria

Next Steps

  1. Load the specific paradigm skill - Use Skill(archetypes:architecture-paradigm-NAME)
  2. Generate an ADR - Use the paradigm's ADR templates
  3. Create implementation plan - Use paradigm's migration checklist
  4. Set up monitoring - Track success metrics from paradigm guidance