simplify
当需要简化解决方案(代码、架构、文档等)时,使用此技能结合编排-映射-归约来找到其本质。
📖 中文导读:当需要简化解决方案(代码、架构、文档等)时,使用此技能结合编排-映射-归约来找到其本质。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: simplify description: When a solution needs simplifying, load this skill with the map-reduce skill to find its essence.
::input::
$target: what to simplify $essence: what must be preserved
::context::
$relevantHeuristics: a list of heuristics picked from #heuristics
::workflow::
FOR $heuristic IN $relevantHeuristics Apply to $target Check if $essence is preserved IF simpler and essence intact THEN Keep the change END END
Heuristics
- Subtractive Iteration: remove one element and check if it still works.
- Forced Constraints: reimplement with half the lines and note what survives.
- Explain to Caveman: if you can't explain it simply, simplify it.
- Reverse Complexity Audit: list every abstraction and name the catastrophe it prevents.
- Rewrite Bet: two hours to rewrite from scratch, note what you keep.