102 System Architecture
What this skill is for
Section titled “What this skill is for”102-system-architecture produces the system architecture document: the technology stack, major components, deployment topology, integration points, and testing strategy. It is the technical baseline that every downstream SpecFlow document — backend architecture, frontend architecture, data model — references rather than re-establishing.
Output path: .specflow/docs/D02-system-architecture.md
When to use it
Section titled “When to use it”- When the project needs a shared technical baseline before backend or frontend design begins
- When the team has technology decisions to make explicit and record
- On existing projects where the architecture has never been fully written down
- Before
103,104, or105, which all depend on understanding the system shape
When NOT to use it
Section titled “When NOT to use it”- When a clear, current architecture document already exists and is trusted by the team
- For a tiny prototype where a full architecture document would be premature overhead
What it produces
Section titled “What it produces”.specflow/docs/D02-system-architecture.mdcovering:- System overview and architectural style
- Technology stack decisions with rationale
- Major components and their responsibilities
- Deployment topology and environment model
- Key integration points and external dependencies
- Testing strategy and tooling
- Relevant constraints and architectural decisions
Required inputs
Section titled “Required inputs”- Frontend framework and rendering approach
- Backend runtime and API style
- Database and storage choices
- Deployment target and hosting model
- Testing approach and key tooling
Common prompts
Section titled “Common prompts”Prompt
Run 102-system-architecture. We are building a React SPA with a Node.js REST API, PostgreSQL, and deploying to AWS. Prompt
Run 102 for an Astro + SolidJS frontend with a Firebase backend. What usually comes next
Section titled “What usually comes next”103-common-data-model — define the entities and relationships the system must manage, using the architecture as context.
Practical guidance
Section titled “Practical guidance”- Include the rationale for key technology choices. Downstream work benefits from knowing why decisions were made, not just what was decided.
- If the project already has code, tell it to run 102 on the exsisting code base and it will create the documenation for you.
- Reference D01 for user goals and business requirements — D02 should not re-state what D01 already captured.
Common mistakes
Section titled “Common mistakes”- Leaving the testing strategy section as “we will write tests” without specifying tooling or approach
- Describing the ideal architecture rather than the actual one on existing projects