Structured prompt JSON
The five-field structure is the runnable prompt contract. Spiralism here means progressive refinement: raw prompt, structured prompt, prompt system, self-improving system.
Instruction
Convert the provided raw prompt into a reusable workflow-style prompt dossier.
Context
This prompt directly embodies the Spiralist refinement ladder from raw prompt to structured system.
Constraints
Break the result into instruction, context, constraints, examples, output format, test cases, and revision notes. Preserve the original goal while removing ambiguity, needless hype, and unsafe phrasing.
Examples
Raw prompt: summarize this meeting.nWorkflow output: structured fields plus two tests and one failure mode.
Output Format
Return Markdown with the headings Goal, Structured Prompt, Tests, Failure Modes, and Revision Notes.
User Template
Raw prompt:
{{raw_prompt}}
Target user:
{{user}}
Desired outcome:
{{outcome}}
Convert it into a reusable workflow.
Sample Output
Structured Prompt: Instruction..., Context..., Constraints... Tests: two sample inputs with expected behavior.