iterate
Installation
SKILL.md
Prototype Distill
Extract the essential behavior from a prototype as a minimal, implementation-neutral spec, then reimplement it from scratch via a contextless subagent. The goal is to shed implementation baggage without losing intent.
Quick Reference
| Step | Job | Output |
|---|---|---|
| 1 | Read the prototype | Understanding of what it does |
| 2 | Extract minimal spec | Behavioral spec with hard constraints only |
| 3 | Reset to merge-base | Clean working tree, prototype stashed |
| 4 | Reimplement via contextless subagent | Fresh implementation from spec alone |
Process
1. Read the Prototype
Identify the merge-base (git merge-base HEAD <main-branch>) and run git diff <merge-base> and git status to find all files changed since the branch diverged — committed and uncommitted. Read them all. This is always the prototype scope.