Scalability Design & Enforcement
Enforces architectural best practices and stateless designs to ensure software can handle 10x-100x growth without costly redesigns.
This skill acts as an architectural gatekeeper for Claude Code, ensuring that every design, plan, and implementation is built for future growth rather than just current load. It mandates stateless services, optimized database access, asynchronous processing for long-running tasks, and strict resource limits to prevent system bottlenecks. By integrating these rules into the planning and review phases, it prevents technical debt and ensures systems remain performant and horizontally scalable as they transition from prototypes to enterprise-grade applications.
Características Principales
01Database Optimization: Mandates indexing, pagination, and the elimination of N+1 query patterns.
025 GitHub stars
03Stateless Design Enforcement: Ensures services can scale horizontally without shared in-memory state.
04Performance Budgeting: Defines and tracks latency goals for APIs, database queries, and page loads.
05Resource Limiting & Guardrails: Sets explicit caps on request sizes, query results, and concurrent connections.
06Async Workflow Orchestration: Automatically identifies operations suitable for background processing.
Casos de Uso
01Reviewing legacy code to identify scalability bottlenecks like unbounded queries or synchronous operations.
02Designing a new microservice architecture that needs to scale from 100 to 10,000+ users.
03Planning an API migration where horizontal scalability and high availability are critical requirements.