scale-game

Test at extremes (1000x bigger/smaller, instant/year-long) to expose fundamental truths hidden at normal scales

⭐1.1kstars🔀227forks📁View on GitHub🕐Updated Dec 30, 2025⬇️2downloads

When & Why to Use This Skill

The Scale Game Claude skill is a strategic framework designed to stress-test software architecture by simulating extreme operational scales. By analyzing system behavior at 1000x capacity or across decade-long durations, it exposes hidden architectural flaws, concurrency bottlenecks, and scalability limits that remain invisible under normal conditions. This tool is essential for developers and architects looking to validate system robustness and ensure long-term production stability.

Use Cases

  • Scalability Validation: Testing if a database schema or API design can transition from 1,000 to 1 billion records to uncover algorithmic complexity limits.
  • Reliability Engineering: Simulating extreme failure rates to ensure error-handling mechanisms and circuit breakers are robust enough for high-stakes production environments.
  • Resource Management: Identifying potential memory leaks and unbounded state growth by projecting system usage over years instead of hours to ensure long-term persistence strategies.
  • Latency Analysis: Determining the threshold where synchronous communication must be replaced by asynchronous messaging to maintain responsiveness at a global scale.
nameScale Game
descriptionTest at extremes (1000x bigger/smaller, instant/year-long) to expose fundamental truths hidden at normal scales
when_to_usewhen uncertain about scalability, edge cases unclear, or validating architecture for production volumes
version1.1.0

Scale Game

Overview

Test your approach at extreme scales to find what breaks and what surprisingly survives.

Core principle: Extremes expose fundamental truths hidden at normal scales.

Quick Reference

Scale Dimension Test At Extremes What It Reveals
Volume 1 item vs 1B items Algorithmic complexity limits
Speed Instant vs 1 year Async requirements, caching needs
Users 1 user vs 1B users Concurrency issues, resource limits
Duration Milliseconds vs years Memory leaks, state growth
Failure rate Never fails vs always fails Error handling adequacy

Process

  1. Pick dimension - What could vary extremely?
  2. Test minimum - What if this was 1000x smaller/faster/fewer?
  3. Test maximum - What if this was 1000x bigger/slower/more?
  4. Note what breaks - Where do limits appear?
  5. Note what survives - What's fundamentally sound?

Examples

Example 1: Error Handling

Normal scale: "Handle errors when they occur" works fine At 1B scale: Error volume overwhelms logging, crashes system Reveals: Need to make errors impossible (type systems) or expect them (chaos engineering)

Example 2: Synchronous APIs

Normal scale: Direct function calls work At global scale: Network latency makes synchronous calls unusable Reveals: Async/messaging becomes survival requirement, not optimization

Example 3: In-Memory State

Normal duration: Works for hours/days At years: Memory grows unbounded, eventual crash Reveals: Need persistence or periodic cleanup, can't rely on memory

Red Flags You Need This

  • "It works in dev" (but will it work in production?)
  • No idea where limits are
  • "Should scale fine" (without testing)
  • Surprised by production behavior

Remember

  • Extremes reveal fundamentals
  • What works at one scale fails at another
  • Test both directions (bigger AND smaller)
  • Use insights to validate architecture early