Designs runtime and platform architecture inside a chosen solution. Use when deciding modular monolith vs services, consistency, resilience, or estate topology.
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.
Best for
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
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
Inspect the Agent Skill "software-architecture-design" from https://github.com/vasilyu1983/AI-Agents-public/blob/53f6cb73ea53a2646e3e7d4665062ad66f3683ac/frameworks/shared-skills/skills/software-architecture-design/SKILL.md at commit 53f6cb73ea53a2646e3e7d4665062ad66f3683ac. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
01
Workflow (System-Level)
Use this workflow when a user asks for architecture recommendations, decomposition, or major platform decisions.
Clarify: problem statement, non-goals, constraints, and success metricsCapture quality attributes: availability, latency, throughput, durability, consistency, security, compliance, costDecide workload shape: deterministic workflow, single-agent, or multi-agent; synchronous vs asynchronous
02
How to Freshness-Check
1. Start from data/sources.json and prefer official docs, standards, release notes, and lifecycle pages. 2. Run a targeted web search for the specific architecture pattern or platform. 3. Use non-primary sources only as durable background, not as freshness authority.
Start from data/sources.json and prefer official docs, standards, release notes, and lifecycle pages.Run a targeted web search for the specific architecture pattern or platform.Use non-primary sources only as durable background, not as freshness authority.
03
Quick Reference
Review the “Quick Reference” section in the pinned source before continuing.
Review and apply the “Quick Reference” source section.
04
When to Use This Skill
Software shape inside a known solution: Turning a chosen solution shape into runtime boundaries, bounded contexts, and platform decisions
Software shape inside a known solution: Turning a chosen solution shape into runtime boundaries, bounded contexts, and platform decisionsSystem decomposition: Deciding between monolith, modular monolith, microservicesArchitecture patterns: Event-driven, CQRS, layered, hexagonal, serverless
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.
AI-native architecture: RAG boundaries, tool gateways, and interoperability protocols when the request is architecture-level rather than tool/server implementation
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-agent
Decision Factors:
Default posture: prefer modular monolith over microservices unless independent deployment, ownership, and operability benefits are clear — see the explicit team-size/release-cadence/operational-maturity gates in modern-patterns.md § Modular Monolith vs. Microservices
Estate posture: optimize for fewer runtime units before fewer repos; repositories are collaboration units, runtimes are operational cost centers
Agent posture: prefer deterministic workflows or a single agent before introducing multi-agent coordination
Connectivity posture: prefer gateway plus application-library patterns until mTLS, traffic policy, or shared telemetry needs justify mesh complexity
Team structure (Conway's Law) — architecture mirrors org structure
The references in this skill are background knowledge for you — absorb the patterns and present them as your own expertise. Do not cite internal reference file names (e.g., "from data-architecture-patterns.md") in user-facing output. Users don't know these files exist.
Every architecture recommendation must cover the following; skip elements only with explicit justification:
Simplest sufficient topology — state the least-complex architecture that still satisfies requirements
Concrete technology picks — name specific technologies (e.g., "Temporal.io for workflow orchestration", not just "an orchestrator")
Recommended option + rejected alternatives — what was considered, why alternatives lost
What NOT to build — explicitly defer or exclude premature scope
Team and process alignment — CODEOWNERS, deployment ownership, on-call boundaries
Repo and runtime model — for multi-repo estates, distinguish repo count from deployable count
Pattern deep dives: references/modern-patterns.md, references/scalability-reliability-guide.md
ASCII Flow
Architecture design request
-> Define quality attributes and system boundaries
-> Map domain model, dependencies, and failure modes
-> Choose architecture pattern and integration style
-> Document rejected options and tradeoffs
-> Define migration, observability, and verification checks
-> Hand off implementable decisions and open risks
Known Traps
Choosing microservices because the estate already has many repos, even though runtime sprawl and weak ownership are the real issue.
Drawing a target-state diagram without a migration sequence, rollback boundary, or compatibility plan between old and new paths.
Splitting domains before ownership, on-call, and deploy authority are ready to support the additional surface area.
Introducing async and event-driven workflows on every boundary before deciding which paths actually need decoupling.
Calling something platform engineering while the golden path remains optional, inconsistent, or under-owned.
Common Anti-Patterns
Using deployable services as the default decomposition unit instead of bounded contexts, team ownership, and operational cost.
Copying hyperscaler or vendor reference architectures into teams that do not have equivalent scale, tooling, or platform staffing.
Designing for peak optional futures instead of the current throughput, failure, compliance, and change-management constraints.
Keeping every repo and runtime because each has "some value" despite obvious coordination and governance cost.
Conflating "modern" with "more distributed" and "AI-native" with "multi-agent by default."
Navigation
Core References
Read at most 2–3 references per question — pick the ones most relevant to the specific ask. Do not read all of them.
evals/evals.json — trigger, non-trigger, and near-boundary behavioral checks for this skill
Applied-Recipe Toolkits
references/decision-theory-applied.md — Decision-theory applied recipes for architecture: ADRs with EU + sensitivity, real-options for irreversible choices, VoI on spikes.
references/queueing-theory-applied.md — Queueing-theory applied recipes for architecture: service sizing, backpressure topology, tail-latency budget.
references/distributed-systems-applied.md — Distributed-systems primitives applied to architecture: CAP-conscious service boundaries, consensus algorithm selection, idempotency at API surfaces, leases-with-fencing for leader-elected jobs, quorum sizing, consistency-vs-latency ADR template.
docs-diagram-design — Whether a diagram earns its place, and what it must show
ai-agents — Agent system design, orchestration, evaluation
agents-mcp — MCP server/client patterns and integration
Freshness Protocol
When users ask version-sensitive questions about architecture patterns, platform engineering, or AI-native systems, verify current information before answering.
Trigger Conditions
"What's the best architecture for [use case]?"
"Microservices vs monolith — what's the current recommendation?"
"What's the latest in platform engineering / service mesh / AI architecture?"
"How do I modernize 50/100+ repos or reduce service sprawl?"
"Is [pattern] still recommended?"
How to Freshness-Check
Start from data/sources.json and prefer official docs, standards, release notes, and lifecycle pages.
Run a targeted web search for the specific architecture pattern or platform.
Use non-primary sources only as durable background, not as freshness authority.
Load only when the question explicitly involves current trends, vendor-specific constraints, AI-native architecture, or "what's the latest thinking on X?"
optional_ai_architecture — MCP/A2A protocols and architecture-level AI interoperability references
modern_architecture_2026 — ambient mesh and other version-sensitive platform patterns
If live web access is available, consult 2–3 authoritative sources from data/sources.json and fold findings into the recommendation. If not, answer with durable patterns and explicitly state assumptions that could change (vendor limits, pricing, managed-service capabilities, or lifecycle status).
Fact-Checking
Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
Use web search/web fetch to verify current external facts, versions, pricing, deadlines, regulations, or platform behavior before final answers.
Prefer primary sources; report source links and dates for volatile information.
If web access is unavailable, state the limitation and mark guidance as unverified.
Learnings Loop
Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).
After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.
Frequently asked questions
What to verify before installation and use
What does the software-architecture-design source document cover?
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.
How do I install software-architecture-design?
The source record exposes this install command: npx skills add https://github.com/vasilyu1983/AI-Agents-public --skill "frameworks/shared-skills/skills/software-architecture-design". Inspect the command and pinned source before running it.
Which Agent platforms does the source record declare?
The pinned source record declares support for: codex, claude code.
Which permission-related actions were detected?
Static rules flagged network in the source; the page lists the matching lines and excerpts.