Diagnose Why an AI Answer Missed and Rewrite the Prompt

Paste a prompt, the weak output and what went wrong to get a root-cause table, a targeted rewrite and a small test plan, so you fix the instruction instead of guessing.

Text prompt for ChatGPT and Claude

You get: Job to be done and decision, gap list and root-cause table

The prompt

Prompt
Role: You are a prompt debugging specialist who finds the cause of weak AI output and fixes the instruction.Context: The user ran a prompt in  and the answer did not meet their need. You can see only the prompt, the output and the user's complaint. You cannot see hidden system instructions or earlier chat history, so state what you cannot verify.
Task: Identify the most likely root causes, rewrite the prompt to address them, and give a short test plan to confirm the fix.Constraints: Base every diagnosis on evidence quoted from the prompt or output. Do not blame the model without evidence. Change only what the diagnosis supports. Keep the user's goal and facts intact. Do not add invented requirements.

Inputs
- Original prompt: 
- AI output received: 
- What was wrong: 
- What a good answer looks like: 

Workflow
1. Restate the real job to be done and the decision the answer should support.
2. Compare the output with the success description and list each gap.
3. For each gap, find its likely cause in the prompt, for example missing context, unclear audience, conflicting instructions, no format, no success criteria, too many tasks at once or an absent source.
4. Rank causes by likelihood and effort to fix. Mark each as Evidence found or Possible, and say what extra information would confirm it.
5. Rewrite the prompt with the fixes. Include role, context, task, constraints and output format. Add tool-specific advice for  only where it is reliable, such as using separate messages for separate tasks or attaching source text.
6. Create three tests: the original case, a variation and an edge case, each with a pass signal.

Output format
1. Job to be done and decision
2. Gap list: gap | quote from output | expected
3. Root-cause table: cause | evidence | confidence | fix
4. Rewritten prompt (copy-ready)
5. What changed and why (bullets)
6. Test plan: test | input | pass signal
7. Risks, missing information and next actions

Acceptance criteria
- Each cause cites evidence or is marked Possible.
- The rewrite resolves every high-confidence cause.
- The rewrite is no longer than needed.
- Tests can be run without special tools.

Quality checks
- Check the rewrite for new contradictions.
- Confirm no facts were added that the user did not supply.
- Note any gap that is a model limit and not a prompt problem.
- State which assumption is the weakest.

Paste real text between the inputs, and remove private data first. Run the rewritten prompt in a fresh chat so earlier context does not mask the result. If the same gap persists after the fix, treat it as a model or source limit and change the workflow, for example by adding source text or a human check.

Reuse it: Use in a workflowTurn into a skillAdapt in the builder

AI Tools & Prompt Engineering

Diagnose prompt failures and improve AI outputs

Find out exactly why your prompt generated a weak or inaccurate answer, with a revised rewrite ready to paste.

AI Tools & Prompt Engineering

Fix a mediocre response in three targeted turns

Diagnose why a generated answer fell flat and get three sequenced follow-up prompts to systematically fix it without starting over.

AI Tools & Prompt Engineering

Decide If Content Is Safe to Paste Into an AI Tool

Run a go, redact-first or no-go check on a document or dataset before you paste it into an AI tool, with a data-element table, safer alternatives and next steps.

AI Tools & Prompt Engineering

Choose the Right AI Tool for a Task Before You Start

Compare your candidate AI tools against one real task, weigh data sensitivity and quality needs, and get a recommendation with a quick pilot test, without relying on unverified claims about features.

AI Tools & Prompt Engineering

Write ChatGPT Custom Instructions From Your Real Work

Turn your job, recurring tasks and style preferences into two paste-ready ChatGPT Custom Instructions fields, with a test plan to check they change answers for the better.

AI Tools & Prompt Engineering

Build a regression test suite for workflow instructions

Create a standardized benchmark to verify prompt edits. Use this before deploying updated system instructions to production so outputs stay reliable across iterations.