vamseeachanta

prompt-engineering-anatomy-of-a-prompt

'Sub-skill of prompt-engineering: Anatomy of a Prompt (+1).'

vamseeachanta 16 6 Updated 4mo ago
GitHub

Install

npx skillscat add vamseeachanta/workspace-hub/prompt-engineering-anatomy-of-a-prompt

Install via the SkillsCat registry.

SKILL.md

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

Categories