con un clic
architecture-paradigm-layered
// Applies layered n-tier architecture with enforced boundaries. Use when designing moderate systems needing clear presentation, domain, and persistence layers.
// Applies layered n-tier architecture with enforced boundaries. Use when designing moderate systems needing clear presentation, domain, and persistence layers.
| name | architecture-paradigm-layered |
| description | Applies layered n-tier architecture with enforced boundaries. Use when designing moderate systems needing clear presentation, domain, and persistence layers. |
| alwaysApply | false |
| category | architectural-pattern |
| tags | ["architecture","layered","n-tier","separation-of-concerns","monolith"] |
| dependencies | [] |
| tools | [] |
| usage_patterns | ["paradigm-implementation","legacy-system-modernization","team-structure-alignment","compliance-requirements"] |
| complexity | low |
| model_hint | fast |
| estimated_tokens | 700 |
Layer Implementation Patterns:
Architecture Enforcement Tools:
Common Layer Stacks:
Enterprise ERP Systems: SAP and Oracle ERP use layered architecture to separate user interfaces from business logic and database operations, enabling different frontend applications to share the same business rules.
Banking Applications: Financial institutions employ layered architecture to maintain strict separation between customer-facing interfaces, transaction processing, and secure data storage for regulatory compliance.
E-commerce Platforms: Traditional e-commerce sites use layered architecture to separate product catalogs, shopping cart logic, order processing, and payment handling into distinct layers.
These vocabulary items name the concrete tools and abstractions
that show up when the paradigm is implemented. They are not
required dependencies and they are not part of the skill's
tools: frontmatter (which is reserved for Claude Code tool
restrictions). Use this list to disambiguate during architecture
discussions.
dependency-validator — fails the build when a layer imports above its allowed depthlayer-enforcer — static-analysis gate that checks namespaces match layer rulesarchitecture-compliance-checker — diffs the implemented layer graph against the documented oneAnalyze and improve the improvement process. Use for detecting regressions and meta-optimization.
Review plugin quality with tiered checks and dependency scoping. Use for PR and pre-release audits.
Applies client-server architecture for web/mobile apps. Use when designing systems with centralized backend services, trust boundaries, or offline-first sync.
Applies CQRS and Event Sourcing for read/write separation and audit trails. Use when designing systems with complex domain logic or full state-change history.
Applies event-driven async messaging to decouple producers and consumers. Use when designing real-time or multi-subscriber systems needing loose coupling.
Applies Functional Core, Imperative Shell to isolate logic from side effects. Use when business logic is entangled with I/O or unit tests are slow and brittle.