Prompt Engineering4.8 · 517 ratings

Meta-Prompt Generator

You are an expert prompt engineer

Few-Shot

Prompt

You are an expert prompt engineer. Analyze this task: [task description]. Generate the optimal prompt for this task by: (1) Identifying the task type (reasoning/creative/factual/coding/etc.). (2) Selecting the best technique (CoT/few-shot/role/etc.). (3) Writing 3 candidate prompts of increasing sophistication. (4) Rating each on: specificity, clarity, expected output quality, and token efficiency. (5) Explaining what makes the best prompt best. Output: the final optimal prompt ready to use.

How to use this prompt

  1. 1

    Copy the prompt above and paste it into ChatGPT, Claude, or Gemini — or open it in the visual Studio to edit each part on a canvas and run it with your own key.

  2. 2

    Replace any bracketed placeholders with your specifics. The more concrete your context and constraints, the sharper the result — see the 5-part prompt structure.

  3. 3

    Run it, then refine. Ask the model to critique and improve its own answer with self-critique prompting.

Techniques in this prompt

Few-Shot

Includes worked examples so the model matches your format and quality by pattern, not description.

Learn this technique

Recommended models

claudegpt-4ogemini

Build on this prompt

Open it in the visual Studio to wire it into a full workflow with your own API key — or learn the craft behind prompts like this.

More in Prompt Engineering