Write a Solution Architecture Document
Purpose
Produce a single, reviewable description of a solution that explains what is built, why it is shaped this way and how it runs, at the level needed for architecture boards, delivery teams and operations.
When to use
- A new solution or major change needs approval from an architecture board.
- A design exists only in slides, whiteboards or people's heads and must be handed over.
- Auditors, security or operations need a reference description.
- A vendor-delivered solution must be documented for the client.
When not to use
- A single feature or component design for developers. Use
technical-design-doc.
- Only one decision needs recording. Use
adr.
- Only diagrams are needed. Use
c4-model.
Inputs
Required:
- Business goal and scope of the solution.
- Functional requirements or main use cases, and known quality requirements (NFRs).
Optional:
- Existing systems and integrations, constraints (standards, platforms, regulation, budget).
- Design notes, diagrams, decisions already taken.
- Organizational context: teams, operating model, hosting.
If goal or requirements are missing, ask. Sections without input stay in the document with [TBD] and an open question.
Process
- Section 1 Introduction and goals: top 3-5 requirements, top 3 quality goals with measurable targets, stakeholders and their expectations.
- Section 2 Constraints: technical, organizational, regulatory (e.g., KVKK/GDPR, sector regulation), conventions.
- Section 3 Context and scope: business context (actors, external systems, data exchanged) and technical context (channels, protocols). Include a C4 system context diagram as code.
- Section 4 Solution strategy: the few fundamental decisions (architecture style, key technologies, decomposition approach, how top quality goals are achieved) with links to ADRs.
- Section 5 Building block view: level 1 containers with responsibilities and interfaces; level 2 only for complex parts.
- Section 6 Runtime view: 2-4 architecturally significant scenarios (critical path, failure path, batch) as sequence descriptions.
- Section 7 Deployment view: environments, nodes, network zones, scaling units, mapping of containers to infrastructure.
- Section 8 Crosscutting concepts: security (authN/Z, secrets, data protection), observability, error handling, persistence, integration, configuration.
- Sections 9-11: decisions index, quality scenarios (stimulus/response/measure), risks and technical debt with mitigations.
- Section 12 Glossary. Run a consistency pass: every container in section 5 appears in 7; every quality goal in 1 is addressed in 4, 8 or 10.
- If the goal continues, suggest
architecture-review before sign-off, nfr-to-architecture for weak quality sections or technical-design-doc for component-level design.
Output format
# Solution Architecture – <solution name>
Version · Status · Authors · Reviewers
1. Introduction and Goals (requirements overview, quality goals table, stakeholders)
2. Constraints
3. Context and Scope (business context table, technical context, context diagram)
4. Solution Strategy
5. Building Block View (container table: name, responsibility, tech, interfaces, owner)
6. Runtime View (scenarios)
7. Deployment View
8. Crosscutting Concepts
9. Architecture Decisions (ADR index)
10. Quality Requirements (quality tree, scenarios)
11. Risks and Technical Debt (risk, impact, mitigation, owner)
12. Glossary
Open Questions
Quality checklist
Common pitfalls
- Documenting technology lists instead of reasons. Section 4 must say why.
- Only the happy path. Reviewers need failure, retry and recovery behavior.
- Diagrams without legends or inconsistent names across views.
Example
Input: "Loan origination: web and branch channels, credit bureau integration, core banking for disbursement, target 99.9% availability."
Excerpt of output:
| Quality goal |
Scenario |
Target |
| Availability |
Credit bureau times out during application |
Application saved, user informed, retried asynchronously; 99.9% monthly for submission [confirm SLO] |
| Security |
Branch user accesses another branch's application |
Denied and audited; data scoped by branch claim |
1---2name: solution-architecture-document3description: "Writes a solution architecture document structured on arc42 - goals and quality requirements, constraints, context and scope, solution strategy, building blocks, runtime scenarios, deployment, crosscutting concepts, decisions, risks and glossary - from requirements and design notes. Use when a solution must be documented for review, handover, approval or audit, or when an existing design lives only in slides and heads."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/solution-architecture-document7 version: "1.0.0"8 language: en9 category: 04-architecture10 role: solution-architect11 area: design12 title: "Write a solution architecture document"13 related: "c4-model, adr, nfr-to-architecture, architecture-review, technical-design-doc"14 prompt: "Write a solution architecture document for our new loan origination platform; here are the requirements, the integration list and our whiteboard notes."15---1617# Write a Solution Architecture Document1819## Purpose20Produce a single, reviewable description of a solution that explains what is built, why it is shaped this way and how it runs, at the level needed for architecture boards, delivery teams and operations.2122## When to use23- A new solution or major change needs approval from an architecture board.24- A design exists only in slides, whiteboards or people's heads and must be handed over.25- Auditors, security or operations need a reference description.26- A vendor-delivered solution must be documented for the client.2728## When not to use29- A single feature or component design for developers. Use `technical-design-doc`.30- Only one decision needs recording. Use `adr`.31- Only diagrams are needed. Use `c4-model`.3233## Inputs34Required:35- Business goal and scope of the solution.36- Functional requirements or main use cases, and known quality requirements (NFRs).3738Optional:39- Existing systems and integrations, constraints (standards, platforms, regulation, budget).40- Design notes, diagrams, decisions already taken.41- Organizational context: teams, operating model, hosting.4243If goal or requirements are missing, ask. Sections without input stay in the document with `[TBD]` and an open question.4445## Process461. Section 1 Introduction and goals: top 3-5 requirements, top 3 quality goals with measurable targets, stakeholders and their expectations.472. Section 2 Constraints: technical, organizational, regulatory (e.g., KVKK/GDPR, sector regulation), conventions.483. Section 3 Context and scope: business context (actors, external systems, data exchanged) and technical context (channels, protocols). Include a C4 system context diagram as code.494. Section 4 Solution strategy: the few fundamental decisions (architecture style, key technologies, decomposition approach, how top quality goals are achieved) with links to ADRs.505. Section 5 Building block view: level 1 containers with responsibilities and interfaces; level 2 only for complex parts.516. Section 6 Runtime view: 2-4 architecturally significant scenarios (critical path, failure path, batch) as sequence descriptions.527. Section 7 Deployment view: environments, nodes, network zones, scaling units, mapping of containers to infrastructure.538. Section 8 Crosscutting concepts: security (authN/Z, secrets, data protection), observability, error handling, persistence, integration, configuration.549. Sections 9-11: decisions index, quality scenarios (stimulus/response/measure), risks and technical debt with mitigations.5510. Section 12 Glossary. Run a consistency pass: every container in section 5 appears in 7; every quality goal in 1 is addressed in 4, 8 or 10.5611. If the goal continues, suggest `architecture-review` before sign-off, `nfr-to-architecture` for weak quality sections or `technical-design-doc` for component-level design.5758## Output format59```markdown60# Solution Architecture – <solution name>61Version · Status · Authors · Reviewers62631. Introduction and Goals (requirements overview, quality goals table, stakeholders)642. Constraints653. Context and Scope (business context table, technical context, context diagram)664. Solution Strategy675. Building Block View (container table: name, responsibility, tech, interfaces, owner)686. Runtime View (scenarios)697. Deployment View708. Crosscutting Concepts719. Architecture Decisions (ADR index)7210. Quality Requirements (quality tree, scenarios)7311. Risks and Technical Debt (risk, impact, mitigation, owner)7412. Glossary75Open Questions76```7778## Quality checklist79- [ ] Quality goals are measurable and traced to strategy, concepts or scenarios.80- [ ] Every external system in the context has an interface with protocol and data.81- [ ] Every container has one clear responsibility and an owner.82- [ ] Runtime view includes at least one failure scenario.83- [ ] Personal data flows and their protection are explicit.84- [ ] Unknowns are `[TBD]` with an open question, not invented.85- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.8687## Common pitfalls88- Documenting technology lists instead of reasons. Section 4 must say why.89- Only the happy path. Reviewers need failure, retry and recovery behavior.90- Diagrams without legends or inconsistent names across views.9192## Example93Input: "Loan origination: web and branch channels, credit bureau integration, core banking for disbursement, target 99.9% availability."9495Excerpt of output:96| Quality goal | Scenario | Target |97|---|---|---|98| Availability | Credit bureau times out during application | Application saved, user informed, retried asynchronously; 99.9% monthly for submission `[confirm SLO]` |99| Security | Branch user accesses another branch's application | Denied and audited; data scoped by branch claim |