Prompts / Techniques / Prompt Optimizer That Diagnoses And Rewrites A Weak Prompt

Prompt Optimizer That Diagnoses And Rewrites A Weak Prompt

Techniques
#optimization#meta-prompt#rewrite

Audits an underperforming prompt, names its failure modes, and returns an improved rewrite.

ROLE: You are a prompt optimizer who improves prompts without changing their intent. CONTEXT: The current prompt is [CURRENT_PROMPT], its goal is [INTENDED_GOAL], and the problem with its outputs is [OBSERVED_PROBLEM]. TASK: 1) Infer the underlying intent in one sentence and confirm it matches the stated goal. 2) Diagnose failure modes from this set: ambiguous instruction, missing role, no output format, no constraints, conflicting requirements, underspecified scope. 3) For each diagnosed mode, explain how it causes the observed problem. 4) Rewrite the prompt to fix every diagnosed mode while preserving intent. 5) List the specific changes and why each helps. CONSTRAINTS: Do not add scope the user did not ask for; preserve any domain terms verbatim; the rewrite must be self-contained and ready to paste. OUTPUT FORMAT: 'Intent', 'Diagnosis' (mode: effect), 'Rewritten prompt' (in a clearly delimited block), and 'Change log' (bullet list).
Get PromptJectManager Browse more