Software Architecture Design
Designs runtime and platform architecture inside a chosen solution. Use when deciding modular monolith vs services, consistency, resilience, or estate topology.
- Skill ID
- vasilyu1983/ai-agents-public/software-architecture-design
- Publisher
- vasilyu1983
- Repository
- ai-agents-public
- Installs
- 0
- Files
- 26
- Requires
- Portable core. Works on Claude Code and Codex.
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
vasilyu1983/ai-agents-public/software-architecture-designInstalls these files- SKILL.md
- agents/openai.yaml
- assets/operations/scalability-checklist.md
- assets/patterns/event-driven-template.md
- assets/patterns/microservices-template.md
- assets/planning/adr-template.md
- assets/planning/architecture-blueprint.md
- assets/planning/estate-modernization-blueprint.md
- data/sources.json
- evals/evals.json
- learnings.consolidated.md
- learnings.md
- references/api-gateway-service-mesh.md
- references/architecture-trends.md
- references/data-architecture-patterns.md
- references/decision-theory-applied.md
- references/distributed-systems-applied.md
- references/estate-modernization.md
- references/fitness-functions-governance.md
- references/migration-modernization-guide.md
- references/modern-patterns.md
- references/operational-playbook.md
- references/queueing-theory-applied.md
- references/reliability-theory-applied.md
- references/scalability-reliability-guide.md
- references/theory-of-constraints-applied.md
What this skill tells the agent
Software Architecture Design
Use this skill for deep software and platform architecture decisions inside a known solution shape rather than implementation details within a single service or component.
If the question starts from a business workflow, system landscape, target state, or phased cross-system migration, use ../software-solution-architecture/SKILL.md first and come here for runtime, decomposition, and operability depth.
Treat estate modernization, platform engineering, and AI-native interoperability as optional deep dives. Do not load them unless the user is explicitly asking for those concerns.
Quick Reference
| Task | Pattern/Tool | Key Resources | When to Use |
|---|---|---|---|
| Choose architecture style | Layered, Microservices, Event-driven, Serverless | modern-patterns.md | Greenfield projects, major refactors |
| Design for scale | Load balancing, Caching, Sharding, Read replicas | scalability-reliability-guide.md | High-traffic systems, performance goals |
| Ensure resilience | Circuit breakers, Retries, Bulkheads, Graceful degradation | scalability-reliability-guide.md | Distributed systems, external dependencies |
| Document decisions | Architecture Decision Record (ADR) | adr-template.md | Major technical decisions, tradeoff analysis |
| Define service boundaries | Domain-Driven Design (DDD), Bounded contexts | microservices-template.md | Microservices decomposition |
| Model data consistency | ACID vs BASE, Event sourcing, CQRS, Saga patterns | data-architecture-patterns.md | Multi-service transactions |
| Plan observability | SLIs/SLOs/SLAs, Distributed tracing, Metrics, Logs | architecture-blueprint.md | Production readiness |
| Migrate from monolith | Strangler fig, Database decomposition, Shadow traffic | migration-modernization-guide.md | Legacy modernization |
| Design inter-service comms | API Gateway, Service mesh, BFF pattern | api-gateway-service-mesh.md | Microservices networking |
| Design delivery platform | IDP, golden paths, fitness functions | fitness-functions-governance.md | Multi-team platforms, governance |
| Rationalize service sprawl | Bounded-context platforms, repo-vs-runtime matrix, platform scorecards | estate-modernization.md | 20+ repos, too many services, uneven platform maturity |
| Plan estate modernization | Platform-first migration waves, consolidation, compatibility boundaries | estate-modernization-blueprint.md | Polyrepo estates, regulated migrations, legacy reduction |
| Design AI-native systems | RAG boundaries, tool gateways, agent interoperability, MCP, A2A | architecture-trends.md | LLM-powered products when architecture, not implementation, is the main question |
When to Use This Skill
Invoke when working on:
- Software shape inside a known solution: Turning a chosen solution shape into runtime boundaries, bounded contexts, and platform decisions
- System decomposition: Deciding between monolith, modular monolith, microservices
- Architecture patterns: Event-driven, CQRS, layered, hexagonal, serverless
- Platform architecture: Internal developer platforms, golden paths, policy and delivery guardrails
- Estate modernization: Too many repos, too many runtime units, polyrepo rationalization, platform-first operating models
- Data architecture: Consistency models, sharding, replication, CQRS patterns
- Scalability design: Load balancing, caching strategies, database scaling
- Resilience patterns: Circuit breakers, retries, bulkheads, graceful degradation
- API boundary design: Service-to-service contract posture, versioning strategy, and integration shape when the boundary decision is architectural
- Architecture decisions: ADRs, tradeoff analysis, technology selection
- Migration planning: Monolith decomposition, strangler fig, database separation
- AI-native architecture: RAG boundaries, tool gateways, and interoperability protocols when the request is architecture-level rather than tool/server implementation
When NOT to Use This Skill
Use other skills instead for:
- Cross-system solution design (business flow, target state, integration landscape, phased transition across systems) → software-solution-architecture
- Single-service implementation (routes, controllers, business logic) → software-backend
- API endpoint design (REST conventions, GraphQL schemas) → dev-api-design
- Security implementation (auth, encryption, OWASP) → software-security-appsec
- Frontend component architecture → software-frontend
- Database query optimization → data-sql-optimization
- Agent workflow implementation / MCP server implementation → ai-agents, agents-mcp
Boundary Rules
- This skill owns runtime boundaries, deployable-unit decisions, data consistency tradeoffs, resilience internals, and platform defaults.
- Start from the simplest architecture that satisfies the constraints; do not default to microservices, event sourcing, service mesh, or multi-agent splits without explicit evidence.
- If the unresolved question is still "which systems participate, where is the system of record, or what is the target-state landscape?" route back to software-solution-architecture.
- If the unresolved question is implementation of agent protocols, tool servers, or runtime-specific integrations, route to ai-agents or agents-mcp.
Decision Tree: Choosing Architecture Pattern
Primary question: [What kind of architecture problem is this?]
├─ Large estate with many repos/services and rising cognitive load?
│ ├─ Runtime count is the main problem → Bounded-context platforms + selective consolidation
│ ├─ Delivery inconsistency is the main problem → IDP + golden paths + scorecards
│ └─ Both are true → Platform-first modernization, then consolidate low-value runtime units
│
├─ Deterministic workflow, known steps?
│ ├─ Single deployable acceptable → Modular Monolith
│ ├─ Independent teams/capabilities required → Sequential or event-driven services
│ └─ Burst-driven or edge-triggered workload → Serverless / event-driven
│
├─ Adaptive workflow with tool use and reasoning?
│ ├─ One agent can own the task → Single-agent system
│ ├─ Specialized roles truly needed → Multi-agent with explicit stop conditions
│ └─ High stakes / regulated workflow → Human-in-the-loop + audit trail
│
├─ Strong consistency inside one domain boundary?
│ ├─ Keep data and writes together → Monolith or Modular Monolith
│ └─ Split only at stable bounded contexts → Microservices with owned data
│
└─ Need platform-level consistency across many teams?
├─ Repeated service creation / compliance needs → IDP + golden paths
└─ Cross-agent or cross-vendor interoperability → MCP for tools/context, A2A for agent-to-agentDecision Factors:
More from vasilyu1983
Use this skill in a project
Open any RiverX project, search the Skills panel for vasilyu1983/ai-agents-public/software-architecture-design, and install it in one click.
