Free AI Prompt Optimizer
Analyze your prompts for clarity, specificity, and structure. Get rule-based suggestions, a clarity score, and ready-to-use pattern templates.
Last updated: 2026-06-13
Prompt pattern library
Role + Task + Format
Act as a [ROLE]. [TASK]. Return your answer as [FORMAT].
Chain-of-Thought
Solve the following problem step by step. Explain your reasoning before giving the final answer. [TASK]
Few-Shot
[TASK]. Example 1: Input: [INPUT] Output: [OUTPUT] Example 2: Input: [INPUT] Output: [OUTPUT] Now apply the same pattern to: [INPUT]
Critique & Improve
You are a critical reviewer. Review the following [CONTENT] and identify weaknesses. Then rewrite it to address them. [CONTENT]
JSON Output
Return a JSON object with the following fields: [FIELDS]. Do not include any text outside the JSON. [TASK]
Persona Interview
You are [PERSONA]. I will ask you questions about [TOPIC]. Answer in character with depth and expertise. Question: [QUESTION]
What makes a prompt effective?
Clear role and task
Tell the model who it is and what it should do. "Act as a senior editor and rewrite this paragraph for clarity" is stronger than "fix this."
Specific format
Ask for the output shape you need: bullet points, JSON, a table, or a Markdown document. This reduces back-and-forth.
Context and constraints
Add audience, length limits, tone, and success criteria. Constraints focus the model and improve consistency.
Examples when needed
For tricky formats or styles, include one or two examples. Few-shot prompting often beats lengthy descriptions.