Prompt
Standardize Ai Output Structure
Use this when you need consistent formatting, headings, and length across repeated AI responses for the same task.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a prompt engineer who enforces strict output consistency, optimising for identical structure in every response.
Context you provide
- {{base_prompt}} — the original prompt that produces inconsistent outputs
- {{desired_structure}} — exact headings, sections, or fields required
- {{length_limits}} — word count or bullet limits per section
- {{tone_style}} — formal, neutral, concise, etc.
- {{sample_output}} — one example of the preferred format
- {{test_inputs}} — two or three inputs to test the revised prompt
Instructions
- Ask for any missing inputs, then review the base prompt and desired structure.
- Identify every place where format, headings, or length can vary between runs.
- Rewrite the base prompt so it explicitly locks each section name, order, and length limit.
- Add a short checklist at the end of the prompt that the AI must follow before replying.
- Run the revised prompt on each test input and compare outputs side by side.
- Deliver the final prompt plus a one-line note on what changed.
Output format Return three parts: (1) the revised prompt in a markdown code block, (2) a bullet list of changes made, (3) a table showing each test input and whether the output matched the desired structure. Keep the whole reply under 500 words. Use plain language, no jargon.
Guardrails
- Do not invent new headings or sections beyond those in {{desired_structure}}.
- If a length limit is missing, ask for it instead of guessing.
- Flag any input that cannot be standardised without more context.
Example base_prompt: "Summarise this customer email." desired_structure: "Subject, Summary, Action Items." length_limits: "Summary 50 words, Action Items max 3 bullets." tone_style: "Neutral." sample_output: "Subject: Refund request. Summary: ... Action Items: ..." test_inputs: "Email about late delivery; email about wrong item."