Scale Game

GitHub

一种架构评估方法,通过在极端规模(如10亿用户或毫秒级)下测试系统,暴露正常尺度下隐藏的根本性缺陷与限制。

.claude/skills/problem-solving/scale-game/SKILL.md mrgoonie/claudekit-skills

Trigger Scenarios

评估系统可扩展性 识别性能瓶颈 验证架构鲁棒性 发现潜在的资源限制

Install

npx skills add mrgoonie/claudekit-skills --skill Scale Game -g -y
More Options

Non-standard path

npx skills add https://github.com/mrgoonie/claudekit-skills/tree/main/.claude/skills/problem-solving/scale-game -g -y

Use without installing

npx skills use mrgoonie/claudekit-skills@Scale Game

指定 Agent (Claude Code)

npx skills add mrgoonie/claudekit-skills --skill Scale Game -a claude-code -g -y

安装 repo 全部 skill

npx skills add mrgoonie/claudekit-skills --all -g -y

预览 repo 内 skill

npx skills add mrgoonie/claudekit-skills --list

SKILL.md

Frontmatter
{
    "name": "Scale Game",
    "version": "1.1.0",
    "description": "Test at extremes (1000x bigger\/smaller, instant\/year-long) to expose fundamental truths hidden at normal scales",
    "when_to_use": "when uncertain about scalability, edge cases unclear, or validating architecture for production volumes"
}

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

Version History

  • 80113d8 Current 2026-08-20 08:14

Same Skill Collection

.claude/skills/chrome-devtools/SKILL.md
.claude/skills/databases/SKILL.md
.claude/skills/debugging/defense-in-depth/SKILL.md
.claude/skills/debugging/root-cause-tracing/SKILL.md
.claude/skills/debugging/SKILL.md
.claude/skills/debugging/systematic-debugging/SKILL.md
.claude/skills/debugging/verification-before-completion/SKILL.md
.claude/skills/devops/SKILL.md
.claude/skills/docs-seeker/SKILL.md
.claude/skills/document-skills/docx/SKILL.md
.claude/skills/document-skills/pdf/SKILL.md
.claude/skills/document-skills/pptx/SKILL.md
.claude/skills/document-skills/xlsx/SKILL.md
.claude/skills/frontend-design/SKILL.md
.claude/skills/frontend-development/SKILL.md
.claude/skills/mcp-builder/SKILL.md
.claude/skills/mcp-management/SKILL.md
.claude/skills/mermaidjs-v11/SKILL.md
.claude/skills/payment-integration/SKILL.md
.claude/skills/problem-solving/collision-zone-thinking/SKILL.md
.claude/skills/problem-solving/inversion-exercise/SKILL.md
.claude/skills/problem-solving/meta-pattern-recognition/SKILL.md
.claude/skills/problem-solving/simplification-cascades/SKILL.md
.claude/skills/problem-solving/SKILL.md
.claude/skills/problem-solving/when-stuck/SKILL.md
.claude/skills/sequential-thinking/SKILL.md
.claude/skills/skill-creator/SKILL.md
.claude/skills/threejs/SKILL.md
.claude/skills/ui-styling/SKILL.md
.claude/skills/web-testing/SKILL.md
.claude/skills/aesthetic/SKILL.md
.claude/skills/ai-multimodal/SKILL.md
.claude/skills/backend-development/SKILL.md
.claude/skills/better-auth/SKILL.md
.claude/skills/code-review/SKILL.md
.claude/skills/context-engineering/SKILL.md
.claude/skills/media-processing/SKILL.md
.claude/skills/repomix/SKILL.md
.claude/skills/shopify/SKILL.md
.claude/skills/web-frameworks/SKILL.md
.claude/skills/template-skill/SKILL.md

Metadata

Files
0
Version
80113d8
Hash
43373c54
Indexed
2026-08-20 08:14

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-24 22:38
浙ICP备14020137号-1 $방문자$