跳到正文
cccskills
免费在 GitHub 公开

Simplification Cascades

Find one insight that eliminates multiple components - "if this is true, we don't need X, Y, or Z"

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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?"

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Interactive idea refinement using Socratic method to develop fully-formed designs

中文简介正在准备中。当前显示原文说明。

obra/superpowers-skills7542025年10月15日 更新

Receive and act on code review feedback with technical rigor, not performative agreement or blind implementation

中文简介正在准备中。当前显示原文说明。

obra/superpowers-skills7542025年10月15日 更新

Force unrelated concepts together to discover emergent properties - "What if we treated X like Y?"

中文简介正在准备中。当前显示原文说明。

obra/superpowers-skills7542025年10月15日 更新

Replace arbitrary timeouts with condition polling for reliable async tests

中文简介正在准备中。当前显示原文说明。

obra/superpowers-skills7542025年10月15日 更新

Validate at every layer data passes through to make bugs impossible

中文简介正在准备中。当前显示原文说明。

obra/superpowers-skills7542025年10月15日 更新

Use multiple Claude agents to investigate and fix independent problems concurrently

中文简介正在准备中。当前显示原文说明。

obra/superpowers-skills7542025年10月15日 更新

查看 obra 的全部技能

报告此技能的问题