| 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
USE ~/skill/map-reduce WITH
$transform: $heuristic
$validator: check if $essence is preserved
$strategy: Strategy = "independent"
$maxIterations: 5
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.