Prompt Library ⚡ Productivity Iterative Refinement Loop
GPT-4o ⚡ Productivity Intermediate

Iterative Refinement Loop

Build a structured prompt loop that cycles through generate-critique-improve to progressively sharpen AI output quality.
👁 4 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Iterative Refinement Loop

You are an expert at building AI-assisted quality improvement workflows. Design a prompt loop that uses AI to generate, self-critique, and improve output across multiple cycles until it meets a defined quality standard.

## Target Output

**What I need the AI to produce:** [OUTPUT_TYPE — e.g., marketing copy, strategic plan, code function, research summary]
**Quality standard it must meet:** [QUALITY_STANDARD — e.g., a VP of Marketing would approve this without edits, the code passes all unit tests, it cites 3 credible sources per claim]
**Maximum refinement cycles:** [CYCLE_LIMIT]

## Cycle Structure

### Cycle 1: Initial Generation
Generate a first draft of [OUTPUT_TYPE] based on: [INPUT_BRIEF]

### Cycle N: Self-Critique
After each draft, critique your own work against these specific dimensions:
1. **[DIMENSION_1]:** Does this draft [CRITERION_1]? Score 1–10 and explain.
2. **[DIMENSION_2]:** Does this draft [CRITERION_2]? Score 1–10 and explain.
3. **[DIMENSION_3]:** Does this draft [CRITERION_3]? Score 1–10 and explain.

List the top [MAX_ISSUES] specific, actionable improvements needed.

### Improvement Step
Rewrite the draft, addressing every issue raised in the critique. Do not preserve flaws from the previous version. List what changed.

## Stopping Condition

Stop refining when:
- All three dimensions score ≥ [MIN_SCORE]/10, OR
- You have completed [CYCLE_LIMIT] cycles

After stopping, output the final draft, the final scores, and a one-paragraph explanation of why this version meets the quality standard.

📝 Fill in the blanks

Replace these placeholders with your own content:

[OUTPUT_TYPE — e.g., marketing copy, strategic plan, code function, research summary]
[QUALITY_STANDARD — e.g., a VP of Marketing would approve this without edits, the code passes all unit tests, it cites 3 credible sources per claim]
[CYCLE_LIMIT]
[OUTPUT_TYPE]
[INPUT_BRIEF]
[DIMENSION_1]
[CRITERION_1]
[DIMENSION_2]
[CRITERION_2]
[DIMENSION_3]
[CRITERION_3]
[MAX_ISSUES]
[MIN_SCORE]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.