
architecture-paradigms
Selects and routes to the right architecture paradigm. Use when choosing patterns for a new system or comparing trade-offs before making architecture decisions.
- Installs
- 126
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/athola/claude-night-market --skill architecture-paradigms- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads architecture-paradigms automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
When NOT To Use
- The paradigm is already chosen, so go straight to that paradigm's skill
- Reviewing an existing design against its ADRs (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):
- Testability: Isolate business logic →
functional-coreorhexagonal - Team Autonomy: Independent deployment →
microservicesormodular-monolith - Infrastructure Flexibility: Swap databases/frameworks →
hexagonal - Real-time Scaling: Variable loads with events →
event-drivenorspace-based - Simplicity: Maintainable without complexity →
layeredormodular-monolith - Legacy Integration: Work with existing systems →
hexagonalormicrokernel
System Context:
- Team Size:
< 5→ Layered/Functional Core |5-15→ Modular Monolith |15-50→ Microservices |50+→ Microservices/Space-Based - Domain Complexity:
Simple→ Layered |Moderate→ Hexagonal/Modular Monolith |Complex→ Functional Core/CQRS |Highly Complex→ Microservices/Event-Driven
Step 2: Evaluate Paradigms
Based on your needs from Step 1, review these options:
For Testability & Business Logic
- Load
architecture-paradigm-functional-core- Isolates business logic from infrastructure - Load
architecture-paradigm-hexagonal- Clear domain/infrastructure boundaries
For Team Autonomy
- Load
architecture-paradigm-microservices- Independent deployment and scaling - Load
architecture-paradigm-modular-monolith- Team autonomy without distributed complexity
For Infrastructure Flexibility
- Load
architecture-paradigm-hexagonal- Swap infrastructure without domain changes
For Simplicity & Maintainability
- Load
architecture-paradigm-layered- Simple, well-understood separation
For Rich Business Rules
- Load
architecture-paradigm-domain-driven- Models the business in its 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
- Load
architecture-paradigm-event-driven- Scalable, decoupled processing - Load
architecture-paradigm-space-based- In-memory data grids for linear scalability
For Legacy Integration
- Load
architecture-paradigm-microkernel- Plugin architecture for extensible platforms - Load
architecture-paradigm-hexagonal- Adapters for external systems
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 | 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
- Architecture Review: Use this skill first to select paradigms, then
/architecture-reviewfor evaluation - Implementation Planning: Select paradigms here, then
/writing-plansfor detailed task breakdown - 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
FAQ
What does the architecture-paradigms skill do?
Selects and routes to the right architecture paradigm. Use when choosing patterns for a new system or comparing trade-offs before making architecture decisions.
How do I install architecture-paradigms?
Run npx skills add https://github.com/athola/claude-night-market --skill architecture-paradigms in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/architecture-paradigms/ (personal) or .claude/skills/architecture-paradigms/ (project).
Which AI agents can use architecture-paradigms?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is architecture-paradigms safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains architecture-paradigms?
It is published by athola in athola/claude-night-market. It has 126 recorded installs.
More from athola/claude-night-market
project-planning
athola/claude-night-market
Converts a specification into a phased, dependency-ordered implementation plan. Use after specification is complete and before execution begins.
slop-detector
athola/claude-night-market
Detects AI-generated writing patterns in prose. Use when reviewing docs for slop, vague language, or identity leaks before publishing.
code-quality-principles
athola/claude-night-market
Applies KISS, YAGNI, and SOLID principles for clean code with reduced complexity. Use when refactoring or reviewing code for over-engineering.
bloat-detector
athola/claude-night-market
Detects codebase bloat via dead code, duplication, complexity, and doc bloat scans. Use when codebase feels large or before a release.
doc-generator
athola/claude-night-market
Generates or remediates documentation with human-quality writing. Use when creating new docs, rewriting AI-generated content, or applying style profiles.
project-brainstorming
athola/claude-night-market
Guides project ideation via Socratic questioning to produce a validated brief. Use before specification when requirements are unclear.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.