System Specs
Reusable Markdown blueprints for documenting foundational architecture decisions. Schema-validated, status-tracked, and ready for your project.
How It Works
Cross-cutting documentation
Structured templates for every architectural concern
Template-Based
Copy templates from templates/specs/ to your project's specs/ directory. Each template covers a different cross-cutting concern.
Schema Validated
System specs validate against schemas/system-spec.schema.json with required fields: spec_type, title, status, last_updated.
Status Tracked
Specs carry a lifecycle: draft → approved → deprecated. Enforced by vb validate --only-specs.
Jump to spec
Template Catalog
All spec templates
Click any template to see its full section structure. Copy to specs/ and fill in your project's decisions.
Tech Stack
17 sectionsLanguages, runtimes, frameworks, data stores, messaging, and third-party integrations
Template file
templates/specs/tech-stack.md
spec_type
tech-stack
Sections
Local Development
14 sectionsDeveloper onboarding, toolchain requirements, secrets management, and troubleshooting
Template file
templates/specs/local-development.mdspec_type
local-developmentSections
Hosting & Infrastructure
14 sectionsCloud/on-prem topology, networking, disaster recovery, and scaling strategy
Template file
templates/specs/hosting-and-infrastructure.mdspec_type
hosting-and-infrastructureSections
CI/CD Pipeline
12 sectionsBuild/test/deploy stages, quality gates, security checks, and rollback strategy
Template file
templates/specs/ci-cd-pipeline.mdspec_type
ci-cd-pipelineSections
Database Schema
14 sectionsEntity catalog, migration strategy, lifecycle, retention policies, and performance planning
Template file
templates/specs/database-schema.mdspec_type
database-schemaSections
Caching & Performance
13 sectionsPerformance targets, cache layers, invalidation strategy, and performance budgets
Template file
templates/specs/caching-and-performance.mdspec_type
caching-and-performanceSections
Security & Compliance
13 sectionsThreat modeling, access control, data protection, compliance controls, and incident response
Template file
templates/specs/security-and-compliance.mdspec_type
security-and-complianceSections
Observability & Incident Response
12 sectionsSLIs/SLOs, telemetry coverage, alerting strategy, and incident management lifecycle
Template file
templates/specs/observability-and-incident-response.mdspec_type
observability-and-incident-responseSections
Schema
Spec frontmatter
Every spec file starts with validated YAML frontmatter
---
spec_type: tech-stack
title: "Acme Corp Tech Stack"
owner: platform-team
status: approved
last_updated: 2026-04-12
applicability:
- all-services
related_initiatives:
- FTR-0001
---
Required fields
spec_type— one of 8 recognized typestitle— human-readable namestatus— draft, approved, or deprecatedlast_updated— YYYY-MM-DD formatapplicability— which services/products
schemas/system-spec.schema.json via vb validate --only-specs
Getting Started
Use specs in your project
Copy templates
cp -r templates/specs/* specs/
Fill in decisions
Replace placeholder text with your project's specific decisions. Update status from draft to approved as decisions are reviewed.
Validate
vb validate --only-specs
vb validate tech-stack.md
Maintain over time
Specs are living documents. Update last_updated when decisions change. Set status: deprecated for replaced decisions — keep them as historical record.