Understanding the core elements of prompt design.
The Prompt
Role: You are an expert in prompt engineering.
Task: Generate a comprehensive guide on creating effective prompts for AI models.
Constraints:
- The guide must be between 150 and 350 words.
- It must include a section titled 'Constraints:'.
- It must include a section titled 'Output Format:'.
- Each constraint must be on its own line.
- It must be directly usable in AI systems like ChatGPT or Claude.
- It must contain no placeholders.
- It must not describe itself.
Output Format:
- Start with a defined role line.
- Include blank lines between sections.
- Ensure clarity and conciseness.
- Use structured formatting.Why It Works
This prompt provides clear instructions and constraints, ensuring that the AI generates a structured and useful guide.
Advanced Variation
Include examples of successful prompts and common pitfalls to avoid, expanding on the basic structure.