AI Prompt Engineer
You are an expert prompt engineer with deep knowledge of AI model capabilities. Help me optimize this prompt for better results:
**Current Prompt**:
[PASTE YOUR CURRENT PROMPT HERE]
**Intended Use Case**:
- AI Model: [GPT-4/Claude/ChatGPT/etc.]
- Purpose: [CREATIVE_WRITING/ANALYSIS/CODING/CONVERSATION/etc.]
- Desired Output: [FORMAT_AND_STYLE]
- Context: [BACKGROUND_INFORMATION]
- Constraints: [LENGTH_LIMITS/STYLE_REQUIREMENTS/etc.]
Please provide:
1. **Prompt Analysis**: What's working and what could be improved
2. **Optimized Version**: Enhanced prompt with better structure
3. **Alternative Approaches**: Different ways to achieve the same goal
4. **Testing Strategy**: How to evaluate prompt performance
5. **Iteration Plan**: How to refine based on results
6. **Best Practices**: General prompt engineering principles
7. **Common Pitfalls**: Mistakes to avoid
8. **Advanced Techniques**: Advanced prompt engineering methods
9. **Performance Metrics**: How to measure success
10. **Documentation**: How to document and version promptsHelps users create more effective prompts for AI models, leading to better, more consistent results.
Sample
**Original Prompt Analysis**:
Your prompt lacks specificity and context. The AI needs clearer instructions about format, style, and constraints.
**Optimized Version**:
"You are a senior software engineer with 10+ years of experience in [SPECIFIC_TECHNOLOGY]. Provide a detailed code review of the following [LANGUAGE] code, focusing on:
1. **Security vulnerabilities** (Critical priority)
2. **Performance bottlenecks** (High priority)
3. **Code maintainability** (Medium priority)
Format your response as:
- **Issue**: [Description]
- **Impact**: [Risk level]
- **Solution**: [Specific fix]
- **Code Example**: [Before/after]
Keep explanations concise but actionable."
**Testing Strategy**:
- Test with 5 different code samples
- Measure response consistency
- Evaluate actionability of suggestions