Claude-skill-registry architecture-paradigms
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/architecture-paradigms" ~/.claude/skills/majiayu000-claude-skill-registry-architecture-paradigms && rm -rf "$T"
manifest:
skills/data/architecture-paradigms/SKILL.mdsource content
Table of Contents
- Quick Scenario Router
- 3-Step Selection Workflow
- Available Paradigm Skills
- Integration with Other Skills
- Exit Criteria
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 | or |
| Complex business rules & testing | Functional Core, Imperative Shell | |
| Real-time/event processing | Event-Driven Architecture | |
| Legacy system modernization | Hexagonal (Ports & Adapters) | |
| Cloud-native/bursty workloads | Serverless | |
| ETL/data processing pipeline | Pipeline Architecture | |
| Simple CRUD app | Layered Architecture | |
| Command/query separation | CQRS + Event Sourcing | |
3-Step Selection Workflow
Step 1: Define Your Needs
Primary Concerns (select all that apply):
- Testability: Isolate business logic →
orfunctional-corehexagonal - Team Autonomy: Independent deployment →
ormicroservicesmodular-monolith - Infrastructure Flexibility: Swap databases/frameworks →
hexagonal - Real-time Scaling: Variable loads with events →
orevent-drivenspace-based - Simplicity: Maintainable without complexity →
orlayeredmodular-monolith - Legacy Integration: Work with existing systems →
orhexagonalmicrokernel
System Context:
- Team Size:
→ Layered/Functional Core |< 5
→ Modular Monolith |5-15
→ Microservices |15-50
→ Microservices/Space-Based50+ - Domain Complexity:
→ Layered |Simple
→ Hexagonal/Modular Monolith |Moderate
→ Functional Core/CQRS |Complex
→ Microservices/Event-DrivenHighly Complex
Step 2: Evaluate Paradigms
Based on your needs from Step 1, review these options:
For Testability & Business Logic
- Load
- Isolates business logic from infrastructurearchitecture-paradigm-functional-core - Load
- Clear domain/infrastructure boundariesarchitecture-paradigm-hexagonal
For Team Autonomy
- Load
- Independent deployment and scalingarchitecture-paradigm-microservices - Load
- Team autonomy without distributed complexityarchitecture-paradigm-modular-monolith
For Infrastructure Flexibility
- Load
- Swap infrastructure without domain changesarchitecture-paradigm-hexagonal
For Simplicity & Maintainability
- Load
- Simple, well-understood separationarchitecture-paradigm-layered
For Real-time Event Processing
- Load
- Scalable, decoupled processingarchitecture-paradigm-event-driven - Load
- In-memory data grids for linear scalabilityarchitecture-paradigm-space-based
For Legacy Integration
- Load
- Plugin architecture for extensible platformsarchitecture-paradigm-microkernel - Load
- Adapters for external systemsarchitecture-paradigm-hexagonal
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:
- ✅ Complete implementation guide
- ✅ ADR templates
- ✅ Migration checklist
- ✅ Code examples
- ✅ Testing strategies
- ✅ Risk assessments
Available Paradigm Skills
| Paradigm | Complexity | Team Size | Best For | Skill Name |
|---|---|---|---|---|
| Functional Core | Medium | Small-Large | Complex business logic | |
| Hexagonal | Medium | Small-Large | Infrastructure changes | |
| Layered | Low | Small-Medium | Simple domains | |
| Modular Monolith | Medium | Medium-Large | Evolving systems | |
| Microservices | High | Large | Complex domains | |
| Event-Driven | High | Medium-Large | Real-time processing | |
| CQRS + ES | High | Medium-Large | Audit trails | |
| Service-Based | Medium | Medium | Coarse-grained services | |
| Serverless | Medium | Small-Medium | Cloud-native/bursty | |
| Microkernel | Medium | Small-Medium | Plugin systems | |
| Space-Based | High | Large | Linear scalability | |
| Pipeline | Low | Small-Medium | ETL workflows | |
| Client-Server | Low | Small | Traditional apps | |
Integration with Other Skills
- Architecture Review: Use this skill first to select paradigms, then
for evaluation/architecture-review - Implementation Planning: Select paradigms here, then
for detailed task breakdown/writing-plans - Refactoring: Identify target paradigms here, then use paradigm-specific skills for migration strategies
Exit Criteria
- At least one paradigm is selected with clear rationale
- Specific paradigm skill has been loaded for detailed guidance
- Ready to create ADR or implementation plan
Next Steps
- Load the specific paradigm skill - Use
Skill(archetypes:architecture-paradigm-NAME) - Generate an ADR - Use the paradigm's ADR templates
- Create implementation plan - Use paradigm's migration checklist
- Set up monitoring - Track success metrics from paradigm guidance