Software Architecture
Installation
SKILL.md
Software Architecture
Assume the reader knows patterns; focus on decisions, constraints, and failure.
Workflow
- Extract the real constraints before proposing anything: expected load (RPS, data volume, growth), latency budget (p50/p99), consistency needs, team size and skills, deadline, budget, compliance (GDPR/PDPL, PCI, HIPAA), and existing systems.
- Define the quality attributes that matter, ranked. You cannot optimize all of: latency, consistency, availability, cost, delivery speed, operability. Force a top-3.
- Model the domain first (entities, invariants, lifecycle), then the boundaries. Boundaries follow invariants and change cadence — not org charts or frameworks.
- Propose 2–3 options, each with a one-line thesis, a diagram (C4 level 1–2), cost, and the failure modes it accepts.
- Write the ADR with the decision, alternatives rejected, and the trigger that would reverse it.
- Define the operational contract: SLOs, dashboards, alerts, backup/restore, rollback, on-call ownership.