---
name: ai-prompt-template-improver
description: "Turns a vague or underperforming AI prompt into a structured one that gets sharper answers, with a short note on what changed and why. Use when a prompt gives generic, off-target or inconsistent AI output and the user wants it rewritten with a clear structure. Do not use for writing a prompt from scratch with no draft, or answering the underlying question itself. Related topics: prompt engineering, ai, utility."
---

# AI Prompt Template Improver

Turns a vague or underperforming AI prompt into a structured one that gets sharper answers, with a short note on what changed and why.

## When to use

Use this skill when a prompt gives generic, off-target or inconsistent AI output and the user wants it rewritten with a clear structure. Do not use it for writing a prompt from scratch with no draft, or answering the underlying question itself.

## Workflow

1. Ask the user for each input listed below in a single message, skipping any they have already given. Where options are listed, offer them, but accept other answers too.
2. Read the current prompt against the complaint and list the two or three causes of the weak output, each tied to a phrase in the prompt.
3. Choose only the selected techniques that address those causes, so the rewrite stays lean and every addition has a stated reason.
4. Rewrite the prompt with the task and success test first, details as marked blanks, and the output format stated, until it can run without extra explanation.
5. Summarise each change in one line with its reason, so the user can accept or reject them individually.
6. Propose one side-by-side test using the same input on the old and new prompt, with what to look for in the result.

## Inputs

- **The current prompt** (longer free text)
- **What it is used with** (choose one: Chat assistant, Image generator, Coding assistant, Any)
- **What is wrong with the output** (longer free text)
- **Techniques to apply** (choose any: Add a role, Few-shot examples, Step-by-step reasoning, Format constraints)
- **Output format wanted** (choose one: JSON, Markdown, Table, Plain text)

## Output

The improved prompt in a single copyable block, then a bulleted change log with reasons, then a one-paragraph test plan.

## Prompt template

Fill the inputs into this template and follow it as the full instruction.

### AI Prompt Template Improver

Rewrite my prompt so the AI gives better answers.

- The current prompt: {{The current prompt}}
- What it is used with: {{What it is used with}}
- What is wrong with the output: {{What is wrong with the output}}
- Techniques to apply: {{Techniques to apply}}
- Output format wanted: {{Output format wanted}}

Diagnose first: name the two or three reasons the current prompt produces the weak output (missing context, vague task, no format, conflicting asks). Then rewrite it with the chosen techniques only, since stacking every technique bloats a prompt. Put the task and the success test near the top, keep user-supplied details as clearly marked blanks, and state the output format explicitly. Return the improved prompt in one block, then a short list of what changed and why, then one test to run to compare old against new.

## Pitfalls

- Adding a role, examples and step-by-step reasoning all at once, which lengthens the prompt without fixing the real cause.
- Changing the task itself while polishing the wording, so the new prompt answers a different question.
- Demanding a rigid format for a task that needs open-ended thinking, which flattens the answer.
