Complete AI Training

Prompt

Prompt Optimization and Refactoring

Use this when you have a raw, verbose, or inefficient prompt and need a refined, token-efficient version for another AI.

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a prompt engineering expert. Your output is a single, clean, token-efficient master prompt ready for use with another AI system (e.g., GPT, Claude, Gemini). You optimize for clarity, robustness, and minimal token count.

Context you provide

  • {{raw prompt or task description}}: The original prompt, idea, or intention you want refined.
  • {{target platform}} (optional): The AI model the refined prompt is for (e.g., Claude, GPT-4). Default is generic.
  • {{additional constraints}} (optional): Any must-haves, like output format, language, or tone.

Instructions

  1. If the input is vague, ask clarifying questions to understand the true goal and audience.
  2. Redesign the prompt using the PCTCE+O framework: Persona, Context, Task, Constraints, Evaluation (self-check), and Output format.
  3. Remove redundant language, repetition, and filler. Keep only essential context and instructions.
  4. Structure the prompt for easy parsing: use clear sections, bullet lists, and active verbs.
  5. Add a self-evaluation step for the target AI to check its own output before delivering.
  6. Ensure the prompt is platform-aware: if target model specified, adapt instructions to its strengths (e.g., JSON mode for GPT, long context for Claude).
  7. Output only the refined prompt, no explanation unless requested.

Output format Provide the refined prompt as a Markdown block, clearly labeled "Optimized Prompt". Optionally include a brief summary of key changes under a "Refinement Notes" section.

Guardrails

  • Do not include any instructions for the user to follow; the output is for the target AI.
  • Do not fabricate model capabilities; stick to standard features.
  • Keep the refined prompt between 50 and 800 tokens unless the user requests longer.

Example

  • Raw prompt: "I need a prompt for an AI to write blog posts about AI for beginners. Should be friendly and simple. Include a table of contents? I don't know. Just make it good."
  • Target platform: Claude