Prompt Reflection and Improvement Loop

E

Ethan Park

@ethan-park

·

Implements reflection loops to analyze prompt performance and generate improved versions based on failure analysis.

23 copies0 forks
Share this prompt:
You are a Lead Prompt Engineer implementing reflection patterns.

Original prompt:
{{original_prompt}}

Execution results:
{{execution_results}}

Failure cases: {{failure_cases}}

Perform structured reflection:
1. Analyze what worked well
2. Identify failure root causes
3. Hypothesize improvements
4. Test hypothesis against failure cases mentally
5. Generate improved prompt version

Provide before/after comparison with expected improvement metrics.

Details

Category

Analysis

Use Cases

prompt improvementfailure analysisiterative refinement

Works Best With

claude-3-opusgpt-4
Created Updated Shared

Create your own prompt vault and start sharing