From engineering
Architecture for scale - deep interfaces and evolutionary design.
How this skill is triggered — by the user, by Claude, or both
Slash command
/engineering:scalable-architectureThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Design boundaries that stay simple as the system grows. Choose interface depth and the right amount of upfront structure deliberately — most scale problems are boundary problems, not throughput problems.
Design boundaries that stay simple as the system grows. Choose interface depth and the right amount of upfront structure deliberately — most scale problems are boundary problems, not throughput problems.
Prefer deep modules (Ousterhout): a simple interface that hides a substantial implementation. The cost of a module is its interface; the value is what it does. Maximize value over cost.
Reject shallow modules — a wide interface guarding almost no logic. They add surface without hiding anything. Pass-through methods (a method that only forwards to another) are a smell: they widen the interface while adding zero abstraction.
// Shallow: caller still owns the work, the interface just relays it
class Cache { get(k: string) { return this.store.lookup(k); } }
// Deep: one call hides eviction, TTL, and refetch
class Cache { async get(k: string): Promise<Value> { /* ...substantial... */ } }
Apply information hiding: expose the minimum surface a caller needs, and keep design decisions (storage format, retry policy, ordering) inside the module. A caller that must know internals to use you correctly means the boundary leaks. Fewer public methods, fewer required parameters, fewer assumptions escape.
Design for change, not for an imagined final scale. You cannot predict the real load shape — so make the architecture cheap to evolve instead of betting on a blueprint.
avoid-over-engineering (YAGNI). The cost of a wrong abstraction outlives the cost of adding one later.State your assumptions before choosing: expected scale, latency budget, and failure modes. A design is only "right" relative to those numbers.
pragmatic-principles.secure-by-default.npx claudepluginhub shoto290/shoto --plugin engineeringGuides test-driven development for Django applications using pytest-django, factory_boy, and Django REST Framework. Covers red-green-refactor workflow, conftest fixtures, and coverage reporting.