prompt-compile
Installation
SKILL.md
Prompt Compile
Define-do-verify for real tasks. Compile a brief (define), execute it in fresh context where possible (do), check the result against the brief (verify). The brief is the prompt an experienced operator would have hand-written before a big task - now generated in-session, every time.
When this runs
- Fired by the
prompt-compile-gate.shhook (medium and high bands), or invoked manually. - Not for bug fixes: your debugging workflow owns those.
- Not for trivial one-file one-step edits: if the gate misfired, say "trivial, skipping brief" in one line and just do it.
Compile the brief
Seven sections. All required. Missing section = brief not done.
1. TASK + NON-GOALS
One paragraph: what changes, and what is explicitly preserved. Non-goals are the highest-value words in the brief ("polish pass, not a rebuild. Preserve data, routing, behavior. Change presentation only.").