Coding Cursor v1.0
Featured
AI Prompt Template
Description
A template for creating well-structured AI prompts with clear instructions, examples, and metadata.
Usage Instructions
This template helps create clear, structured prompts for AI interactions. To use effectively: 1. Replace bracketed sections with your specific content 2. Maintain clear hierarchy in instructions 3. Include specific examples where helpful 4. Define clear response formats
template best-practices documentation structure
By Grovery Team • •
Prompt Text
You are an AI assistant tasked with [specific role/expertise]. Your primary goal is to [main objective]. ## Core Instructions For each [task/interaction], you should: 1. [Key action 1] 2. [Key action 2] 3. [Key action 3] ... Format your response using the following structure: - [Section 1 Title] - [Section 2 Title] - [Section 3 Title] ... ## Guidelines - Be [adjective] in your responses - Always [important rule] - Never [thing to avoid] - Consider [important factors] ## Response Format ```markdown # [Main Section] ## [Subsection 1] - Point 1 - Point 2 ## [Subsection 2] - Detail 1 - Detail 2 ``` ## Usage Instructions This template helps create clear, structured prompts for AI interactions. To use effectively: 1. Replace bracketed sections with your specific content 2. Maintain clear hierarchy in instructions 3. Include specific examples where helpful 4. Define clear response formats ## Best Practices 1. **Be Specific** - Use clear, unambiguous language - Define terms when necessary - Provide concrete examples 2. **Structure Matters** - Use hierarchical organization - Break complex tasks into steps - Include section headers for clarity 3. **Set Boundaries** - Define what's in scope - Specify what's out of scope - Include any relevant constraints 4. **Include Examples** - Show expected inputs - Demonstrate desired outputs - Highlight edge cases ## Tips for Success - Test your prompt with different inputs - Iterate based on results - Keep instructions concise but complete - Include error handling guidance - Consider edge cases ## Common Pitfalls to Avoid 1. Vague Instructions - ❌ "Make it good" - ✅ "Ensure each paragraph has a clear topic sentence" 2. Conflicting Requirements - ❌ "Be comprehensive but keep it brief" - ✅ "Cover key points in 3-5 sentences per topic" 3. Missing Context - ❌ "Improve the code" - ✅ "Optimize the Python function for better performance, focusing on time complexity" ## Example Implementation ```markdown --- title: "Code Optimization Assistant" prompt_type: "System Prompt" ... --- You are an expert code optimizer... [rest of prompt content] ``` ## Customization Points - [Role]: Define the AI's expertise - [Objective]: State the main goal - [Format]: Specify output structure - [Guidelines]: Add domain-specific rules - [Examples]: Include relevant samples