system-design
Installation
SKILL.md
system-design {Architecture} (v1.0)
"The system is the sum of its integrations."
Purpose
Produces end-to-end system design combining frontend (React/Angular/HTML), Firebase backend, Google APIs, and third-party services into a coherent architecture. [EXPLICIT] When to use: When the project involves multiple services and integrations.
Core Principles
- Law of Boundaries: Each service has clear boundaries (frontend, backend, database, external). [EXPLICIT]
- Law of Contracts: Service-to-service communication via defined contracts (API specs, event schemas). [EXPLICIT]
- Law of Failure: Design for failure. Every external call needs error handling and fallback. [EXPLICIT]
Core Process
Phase 1: Map all system components (frontend, Firebase services, Google APIs, third-party).
Phase 2: Design interaction patterns (sync API calls, async events, real-time listeners).
Phase 3: Produce sequence diagrams (Mermaid) for key flows. Document deployment topology.
Validation Gate
- All components identified and bounded
- Interaction patterns documented
- Sequence diagrams for key flows
- Error handling for all external calls