Agent skill
arch-patterns
Recommends and analyzes system architecture patterns (Microservices, EDA, Serverless, etc.) based on requirements.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/architecture-andreibesleaga-gabbe-9
SKILL.md
Architecture Patterns Skill
Triggers
- architecture
- system design
- scalability
- microservices
- event-driven
- serverless
Purpose
To help the user or agent select the most appropriate system architecture based on improved Non-Functional Requirements (NFRs) like scalability, cost, maintainability, and latency.
Instructions
When designing a system or component:
-
Analyze NFRs: Identify the key constraints.
- High Scalability? -> Consider Microservices or Space-Based.
- Complex Domain? -> Consider Domain-Driven Design (DDD) with Modular Monolith.
- Real-time Data? -> Consider Event-Driven Architecture (EDA).
- variable Workloads? -> Consider Serverless.
-
Evaluate Patterns:
- Layered (N-Tier): Standard for simple web apps. separation of concerns.
- Modular Monolith: Best starting point for most startups. High cohesion, low deployment complexity.
- Microservices: For large teams and distinct scaling needs. High operational complexity.
- Event-Driven (EDA): For decoupled, reactive systems.
- Space-Based: For extreme concurrency (in-memory data grids).
- CQRS: For separate read/write scaling profiles.
-
Recommend:
- Propose 1-2 patterns.
- Justify with "Pros vs Cons" relative to the specific project.
- Use
ARCH_DECISION_FRAMEWORK.mdto document the choice.
Best Practices
- Start Simple: Modular Monolith is often the best default.
- Defer Complexity: Don't use Microservices until you have a specific problem they solve.
- Evolutionary Arch: Design for change. Use "Fitness Functions" to measure architectural drift.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?