跳到主要内容
知仓学习社ZHICANG

Scale Game

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

不碰外部(只输出文字)无严重或高危命中mrgoonie/claudekit-skills

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 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

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 2,216
本站分层T1
该仓技能数45
原文件路径.claude/skills/problem-solving/scale-game/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 45 个技能