| name | prompt-engineering-anatomy-of-a-prompt |
| description | Sub-skill of prompt-engineering: Anatomy of a Prompt (+1). |
| version | 1.0.0 |
| category | ai-prompting |
| type | reference |
| scripts_exempt | true |
Anatomy of a Prompt (+1)
Anatomy of a Prompt
[SYSTEM CONTEXT] - Who is the AI, what are its capabilities/constraints
[TASK DESCRIPTION] - What needs to be done
[INPUT DATA] - The specific content to process
[OUTPUT FORMAT] - How the response should be structured
[EXAMPLES] - Optional: demonstrations of desired behavior
[CONSTRAINTS] - Limitations, things to avoid
The Prompt Engineering Loop
1. Define Goal -> What do you want to achieve?
2. Draft Prompt -> Initial attempt
3. Test -> Run with diverse inputs
4. Analyze -> Identify failures and patterns
5. Refine -> Improve based on analysis
6. Repeat -> Until quality meets requirements