rewrite-codestack
Technique
Split the seed prompt into words, push them onto a Python deque stack in reverse order (popping reconstructs the original), and wrap it in a Python function with comments instructing the model to "follow the code." Two variants: (0) steps template requesting specific actionable instructions, (1) paragraphs template requesting detailed 100-word paragraphs. Deterministic — no LLM call needed, 100% intent preservation through code completion context.
I/O protocol
| Direction | Format |
|-----------|--------|
| stdin | SkillContext JSON |
| stdout | SkillExecutionResult JSON |