S

Scale Game

by @obrav
4.2(120)

此技能通过在极端规模(如1000倍大/小、瞬间/一年)下测试系统,揭示在正常规模下隐藏的根本性问题和真相。它帮助用户识别系统限制、潜在故障点和架构弱点,从而构建更健壮、可扩展且可靠的软件。

scalabilitysystem-designperformance-testingreliabilityarchitecture-validationGitHub
安装方式
git clone https://github.com/obra/superpowers-skills.git
compare_arrows

Before / After 效果对比

1 组
使用前

在没有这个技能之前,用户常常在生产环境中遭遇意想不到的性能瓶颈和系统崩溃,导致长时间的故障排查和业务中断。团队对系统在极端负载下的行为缺乏预知,难以有效规划资源和优化架构。

使用后

此技能通过模拟极端场景,帮助用户在部署前发现并解决潜在的扩展性问题,显著减少生产事故的发生。该 Skill 使得团队能够更自信地应对高并发和大数据量挑战,确保系统稳定运行。

SKILL.md

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 DimensionTest At ExtremesWhat It Reveals
Volume1 item vs 1B itemsAlgorithmic complexity limits
SpeedInstant vs 1 yearAsync requirements, caching needs
Users1 user vs 1B usersConcurrency issues, resource limits
DurationMilliseconds vs yearsMemory leaks, state growth
Failure rateNever fails vs always failsError 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

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量520
评分4.2 / 5.0
版本
更新日期2026年6月19日
对比案例1 组

用户评分

4.2(120)
5
37%
4
43%
3
13%
2
5%
1
2%

为此 Skill 评分

0.0

兼容平台

🤖claude-code

时间线

创建2026年6月19日
最后更新2026年6月19日
🎁 Agent 知识卡片
调研问卷