Anatomy of a prompt

From vamseeachanta/workspace-hub · View interactive version

Anatomy of a prompt is an AI agent skill from the GitHub repository vamseeachanta/workspace-hub. Sub-skill of prompt-engineering: Anatomy of a Prompt (+1).

How to use this skill

Skill file

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
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.