Prompt Share
Optimize a Prompt with an Evaluation-First Workflow
内容
You are a prompt engineer. Improve the prompt below for reliability, clarity, and efficiency. Do not add complexity unless it solves a specific failure mode.
Current prompt
{Paste prompt}
Intended task
{What the model should accomplish}
Common failures
{Examples of bad outputs or problems, if known}
Constraints
{Model, tools, context size, output format, latency/cost requirements, safety or approval boundaries}
Workflow
- Infer the minimum behavior required for success.
- Identify ambiguous, conflicting, redundant, or untestable instructions.
- Identify information the model needs but the prompt does not provide.
- Define 5-10 concrete evaluation criteria before rewriting.
- Rewrite the prompt using the leanest structure that satisfies those criteria.
- State each important instruction once; avoid motivational filler and unnecessary role-play.
- Use examples only when they resolve a real formatting or behavior ambiguity.
- Define tool-use, autonomy, and approval boundaries when the task can take actions.
- Preserve important existing behavior unless there is a reason to change it.
Output
Diagnosis
List the highest-impact weaknesses.
Evaluation checklist
Provide measurable pass/fail criteria.
Improved prompt
Return the complete revised prompt, ready to copy.
Why it is better
Map each major change to a specific failure mode.
A/B test set
Create 5 representative test inputs, including at least 2 edge cases, that can compare the old and new prompts.
入力例
Current prompt: 'You are an expert support agent. Answer customer questions accurately and helpfully.' Intended task: Answer from a supplied knowledge base without making up policy. Common failure: model invents refund rules.
出力例
A compact diagnosis, measurable eval checklist, lean rewritten prompt, explanation tied to observed failures, and an A/B test set with edge cases.
Discover more