S

Simplification Cascades

by @obrav
4.2(120)

この Skill は、核となる洞察を特定することで、複数の類似コンポーネントや複雑なルールを簡潔な抽象化に統一し、システム全体の複雑性を大幅に排除します。開発者が共通のパターンを見つけ、重複する実装や特殊なケース処理を削減することで、コードの保守性、拡張性、開発効率を著しく向上させます。

simplificationabstractionarchitecturerefactoringcomplexity-managementGitHub
インストール方法
git clone https://github.com/obra/superpowers-skills.git
compare_arrows

Before / After 効果比較

1 组
使用前

この Skill がない場合、開発者は多数の重複実装、特殊なケース、複雑なルールに直面し、システムが肥大化し、保守が困難になります。変更のたびに新たな問題が発生する可能性があり、開発効率が低下していました。

使用後

この Skill は、核となる洞察を特定することで、複数の類似コンポーネントや複雑なルールを簡潔な抽象化に統一します。これにより、コード量と保守負担が大幅に削減され、システムの明確性と拡張性が向上し、開発プロセスが加速されます。

SKILL.md

Simplification Cascades

Overview

Sometimes one insight eliminates 10 things. Look for the unifying principle that makes multiple components unnecessary.

Core principle: "Everything is a special case of..." collapses complexity dramatically.

Quick Reference

SymptomLikely Cascade
Same thing implemented 5+ waysAbstract the common pattern
Growing special case listFind the general case
Complex rules with exceptionsFind the rule that has no exceptions
Excessive config optionsFind defaults that work for 95%

The Pattern

Look for:

  • Multiple implementations of similar concepts
  • Special case handling everywhere
  • "We need to handle A, B, C, D differently..."
  • Complex rules with many exceptions

Ask: "What if they're all the same thing underneath?"

Examples

Cascade 1: Stream Abstraction

Before: Separate handlers for batch/real-time/file/network data Insight: "All inputs are streams - just different sources" After: One stream processor, multiple stream sources Eliminated: 4 separate implementations

Cascade 2: Resource Governance

Before: Session tracking, rate limiting, file validation, connection pooling (all separate) Insight: "All are per-entity resource limits" After: One ResourceGovernor with 4 resource types Eliminated: 4 custom enforcement systems

Cascade 3: Immutability

Before: Defensive copying, locking, cache invalidation, temporal coupling Insight: "Treat everything as immutable data + transformations" After: Functional programming patterns Eliminated: Entire classes of synchronization problems

Process

  1. List the variations - What's implemented multiple ways?
  2. Find the essence - What's the same underneath?
  3. Extract abstraction - What's the domain-independent pattern?
  4. Test it - Do all cases fit cleanly?
  5. Measure cascade - How many things become unnecessary?

Red Flags You're Missing a Cascade

  • "We just need to add one more case..." (repeating forever)
  • "These are all similar but different" (maybe they're the same?)
  • Refactoring feels like whack-a-mole (fix one, break another)
  • Growing configuration file
  • "Don't touch that, it's complicated" (complexity hiding pattern)

Remember

  • Simplification cascades = 10x wins, not 10% improvements
  • One powerful abstraction > ten clever hacks
  • The pattern is usually already there, just needs recognition
  • Measure in "how many things can we delete?"

ユーザーレビュー (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 知識カード
アンケート