design-patterns
Installation
SKILL.md
ABOUTME: Architectural patterns skill for TypeScript ecommerce
ABOUTME: Covers DI, error handling, testing, and common anti-patterns
Design Patterns (Ecommerce)
Architectural patterns for the TypeScript/Node.js ecommerce stack.
Quick Reference
| Pattern | Frontend (Next.js) | Backend (Fastify) |
|---|---|---|
| DI | React Context | Constructor injection |
| Errors | Error boundaries | Fastify error handler |
| Config | env.local | dotenv + config module |
| State | React Query | In-memory + Redis |
| Testing | Testing Library | Testcontainers |
Related skills