name: write-a-system-design-document
description: Produce a system design that maps requirements to components, interfaces, data flows, and failure handling. Use when the user needs a reviewed design for a new or substantially changed system.
domain: architecture-design
tags: [system-design, requirements, trade-offs]
triggers: ["system design document", "write a system design document", "architecture design proposal"]
Produce a system design that maps requirements to components, interfaces, data flows, and failure handling
Purpose
Produce a system design that maps requirements to components, interfaces, data flows, and failure handling.
When to use
Use when the user needs a reviewed design for a new or substantially changed system.
When NOT to use
Do not use this for a local implementation detail; use software-engineering instead.
Inputs required
- The functional and non-functional requirements
- The constraints on scale, budget and timeline
- The existing systems the design must fit
Procedure
- Collect the functional requirements, non-functional targets, constraints, and existing-system dependencies.
- Map every requirement to an owning component and mark each uncovered requirement as an open decision.
- Define each component boundary, interface, data flow, ownership model, and dependency direction.
- Describe expected failures, detection signals, containment actions, and degraded-mode behavior.
- Write the migration path, rollback point, and sequencing from the current state.
- List the assumptions, trade-offs, and unresolved risks, and label the design as a proposal.
Output contract
A design with components, interfaces, data flows, failure modes and a migration path.
Validation checklist
Safety notes
Never present a design as final without stating the assumptions it depends on.
Related skills
design-a-batch-processing-pipeline
design-a-caching-layer
design-a-data-model-for-a-feature
1---2name: write-a-system-design-document3description: Produce a system design that maps requirements to components, interfaces, data flows, and failure handling. Use when the user needs a reviewed design for a new4---5---6name: write-a-system-design-document7description: Produce a system design that maps requirements to components, interfaces, data flows, and failure handling. Use when the user needs a reviewed design for a new or substantially changed system.8domain: architecture-design9tags: [system-design, requirements, trade-offs]10triggers: ["system design document", "write a system design document", "architecture design proposal"]11---1213# Produce a system design that maps requirements to components, interfaces, data flows, and failure handling1415## Purpose1617Produce a system design that maps requirements to components, interfaces, data flows, and failure handling.1819## When to use2021Use when the user needs a reviewed design for a new or substantially changed system.2223## When NOT to use2425Do not use this for a local implementation detail; use software-engineering instead.2627## Inputs required2829- The functional and non-functional requirements30- The constraints on scale, budget and timeline31- The existing systems the design must fit3233## Procedure34351. Collect the functional requirements, non-functional targets, constraints, and existing-system dependencies.362. Map every requirement to an owning component and mark each uncovered requirement as an open decision.373. Define each component boundary, interface, data flow, ownership model, and dependency direction.384. Describe expected failures, detection signals, containment actions, and degraded-mode behavior.395. Write the migration path, rollback point, and sequencing from the current state.406. List the assumptions, trade-offs, and unresolved risks, and label the design as a proposal.4142## Output contract4344A design with components, interfaces, data flows, failure modes and a migration path.4546## Validation checklist4748- [ ] Every requirement maps to a component49- [ ] Failure and rollback paths are described50- [ ] The trade-offs behind the choice are written down5152## Safety notes5354Never present a design as final without stating the assumptions it depends on.5556## Related skills5758- `design-a-batch-processing-pipeline`59- `design-a-caching-layer`60- `design-a-data-model-for-a-feature`