Free Resource

Prompt Engineering Templates

Copy-paste proven prompt templates for coding, writing, analysis, and creative tasks. Save hours crafting the perfect prompt.

22+
Ready Templates
6
Categories
1-Click
Copy to Clipboard
100%
Free Forever

Code Review Assistant

Coding

Comprehensive code review with security, performance, and best practices analysis

#code-review#debugging#best-practices
Review the following code for:
1. Security vulnerabilities
2. Performance issues
3. Code quality and best practices
4. Potential bugs
5. Suggestions for improvement

Code:
[PASTE YOUR CODE HERE]

Language: [LANGUAGE]
Context: [BRIEF DESCRIPTION OF WHAT THE CODE DOES]
Use Case
Get detailed feedback on code quality and potential issues

Debug Error Helper

Coding

Systematic debugging assistance with step-by-step solutions

#debugging#troubleshooting#error-fixing
I'm encountering an error in my code. Help me debug it systematically.

Error Message:
[PASTE ERROR MESSAGE]

Code Context:
[PASTE RELEVANT CODE]

What I've tried:
[LIST WHAT YOU'VE ATTEMPTED]

Expected behavior:
[WHAT SHOULD HAPPEN]

Please provide:
1. Likely root cause
2. Step-by-step debugging approach
3. Solution with code example
4. Prevention tips for future
Use Case
Systematically debug errors with AI guidance

Code Refactoring Guide

Coding

Refactor code for better maintainability and performance

#refactoring#clean-code#optimization
Refactor the following code to improve:
- Readability and maintainability
- Performance
- Following [LANGUAGE] best practices
- DRY principle
- SOLID principles (if applicable)

Current Code:
[PASTE CODE]

Requirements:
[ANY SPECIFIC REQUIREMENTS]

Please provide:
1. Refactored code with comments
2. Explanation of changes
3. Before/after comparison of complexity
Use Case
Improve code quality through AI-guided refactoring

API Design Assistant

Coding

Design RESTful APIs following best practices

#api-design#rest#backend
Design a RESTful API for: [DESCRIBE YOUR SYSTEM]

Requirements:
- Resource: [MAIN RESOURCE]
- Operations needed: [LIST CRUD OPERATIONS]
- Authentication: [YES/NO]
- Special features: [ANY SPECIAL REQUIREMENTS]

Please provide:
1. Complete endpoint structure
2. Request/response examples for each endpoint
3. Status codes and error handling
4. Best practices specific to this API
5. Sample implementation code in [LANGUAGE]
Use Case
Design well-structured APIs with proper conventions

Unit Test Generator

Coding

Generate comprehensive unit tests for your code

#testing#unit-tests#tdd
Generate comprehensive unit tests for the following code:

Code:
[PASTE YOUR CODE]

Language/Framework: [e.g., Python/pytest, JavaScript/Jest]

Please provide:
1. Test cases covering:
   - Happy path scenarios
   - Edge cases
   - Error conditions
2. Mock setup if needed
3. Test data fixtures
4. Code coverage considerations
Use Case
Create thorough test coverage for your code

Blog Post Outliner

Writing

Create detailed blog post outlines with SEO optimization

#content#blogging#seo
Create a detailed outline for a blog post about: [TOPIC]

Target Audience: [WHO IS THIS FOR]
Tone: [PROFESSIONAL/CASUAL/TECHNICAL/etc.]
Word Count Target: [LENGTH]
SEO Keywords: [KEY PHRASES TO INCLUDE]

Please provide:
1. Compelling title (with 3 variations)
2. Meta description
3. Introduction hook
4. Main sections with subsections
5. Key points to cover in each section
6. Conclusion strategy
7. Call-to-action suggestions
Use Case
Plan well-structured blog posts with SEO in mind

Professional Email Writer

Writing

Craft professional emails for various purposes

#email#communication#business
Write a professional email for the following purpose:

Purpose: [e.g., cold outreach, follow-up, complaint, request]
Recipient: [WHO YOU'RE WRITING TO]
Context: [BACKGROUND INFORMATION]
Key Points to Include:
- [POINT 1]
- [POINT 2]
- [POINT 3]

Tone: [FORMAL/FRIENDLY/ASSERTIVE/etc.]

Please provide:
1. Subject line (3 options)
2. Email body
3. Alternative version with different tone
4. Follow-up email template if no response
Use Case
Write effective professional emails

Social Media Content Creator

Writing

Generate engaging social media content across platforms

#social-media#marketing#content
Create social media content for: [TOPIC/ANNOUNCEMENT]

Platform: [TWITTER/LINKEDIN/INSTAGRAM/etc.]
Goal: [ENGAGEMENT/AWARENESS/CONVERSION/etc.]
Brand Voice: [DESCRIPTION]

Please provide:
1. Main post (optimized for platform character limits)
2. 3 variations with different angles
3. Relevant hashtags (ranked by effectiveness)
4. Best time to post
5. Engagement tactics
6. Thread/carousel ideas if applicable
Use Case
Create platform-optimized social media posts

Copy Improvement Specialist

Writing

Transform ordinary copy into compelling marketing content

#copywriting#marketing#conversion
Improve the following copy to make it more compelling:

Current Copy:
[PASTE CURRENT TEXT]

Target Audience: [WHO IS THIS FOR]
Goal: [WHAT ACTION DO YOU WANT THEM TO TAKE]
Tone: [DESIRED TONE]

Please provide:
1. Improved version with explanations
2. Before/after comparison
3. Psychological triggers used
4. A/B test variation
5. Power words highlighted
Use Case
Transform weak copy into persuasive content

Technical Documentation Writer

Writing

Create clear, user-friendly technical documentation

#documentation#technical-writing#guides
Create technical documentation for: [FEATURE/API/SYSTEM]

Audience: [DEVELOPERS/END-USERS/BOTH]
Technical Level: [BEGINNER/INTERMEDIATE/ADVANCED]

Include:
1. Overview and purpose
2. Prerequisites
3. Step-by-step guide
4. Code examples
5. Common issues and solutions
6. Best practices
7. FAQ section

Make it clear, concise, and include practical examples.
Use Case
Write clear documentation for technical products

Data Analysis Assistant

Analysis

Extract insights and patterns from data

#data-analysis#insights#statistics
Analyze the following data and provide insights:

Data:
[PASTE YOUR DATA OR DESCRIBE IT]

Context: [WHAT THIS DATA REPRESENTS]

Please provide:
1. Key patterns and trends
2. Anomalies or outliers
3. Correlations discovered
4. Actionable insights
5. Visualization recommendations
6. Follow-up questions to explore further
Use Case
Uncover patterns and insights in your data

Competitor Analysis Framework

Analysis

Comprehensive competitive analysis template

#competitive-analysis#market-research#strategy
Analyze competitors for: [YOUR PRODUCT/SERVICE]

Competitors to analyze:
1. [COMPETITOR 1]
2. [COMPETITOR 2]
3. [COMPETITOR 3]

For each competitor, analyze:
1. Core offering and positioning
2. Pricing strategy
3. Strengths and weaknesses
4. Target audience
5. Marketing approach
6. Unique features
7. Customer reviews sentiment

Then provide:
- Competitive landscape summary
- Market gaps/opportunities
- Differentiation recommendations
Use Case
Understand your competitive landscape

Decision Analysis Matrix

Analysis

Structured pros/cons analysis for complex decisions

#decision-making#analysis#strategy
Help me decide between the following options:

Decision: [WHAT YOU'RE DECIDING]

Options:
1. [OPTION 1]
2. [OPTION 2]
3. [OPTION 3]

Criteria that matter:
- [CRITERION 1]
- [CRITERION 2]
- [CRITERION 3]

Context: [ANY RELEVANT BACKGROUND]

Please provide:
1. Detailed pros/cons for each option
2. Scoring matrix based on criteria
3. Risk assessment
4. Recommendation with reasoning
5. Questions to clarify further
Use Case
Make informed decisions with structured analysis

SWOT Analysis Generator

Analysis

Complete SWOT analysis for business planning

#swot#strategic-planning#business-analysis
Create a comprehensive SWOT analysis for:

Company/Product: [NAME]
Industry: [SECTOR]
Current Situation: [BRIEF DESCRIPTION]
Target Market: [WHO YOU SERVE]

Please provide detailed analysis of:

STRENGTHS:
- Internal capabilities
- Competitive advantages
- Unique resources

WEAKNESSES:
- Internal limitations
- Areas for improvement
- Resource gaps

OPPORTUNITIES:
- Market trends
- Untapped markets
- Partnership possibilities

THREATS:
- Competitive threats
- Market risks
- External challenges

Include: Strategic recommendations based on the SWOT analysis
Use Case
Conduct thorough strategic analysis

User Feedback Analyzer

Analysis

Extract actionable insights from user feedback

#user-research#feedback-analysis#product
Analyze the following user feedback and extract insights:

Feedback Source: [REVIEWS/SURVEYS/SUPPORT TICKETS/etc.]

Feedback:
[PASTE FEEDBACK]

Please provide:
1. Sentiment analysis (positive/negative/neutral breakdown)
2. Common themes and patterns
3. Top pain points
4. Feature requests frequency
5. Urgent issues requiring immediate attention
6. Long-term improvement opportunities
7. Recommended action items prioritized
Use Case
Turn user feedback into actionable insights

Creative Brainstorming Partner

Creative

Generate creative ideas and solutions

#brainstorming#ideation#creativity
Help me brainstorm ideas for: [TOPIC/CHALLENGE]

Context: [BACKGROUND INFORMATION]
Constraints: [ANY LIMITATIONS]
Goal: [WHAT SUCCESS LOOKS LI KE]

Please provide:
1. 10 diverse ideas ranging from conventional to radical
2. For each idea:
   - Core concept
   - Why it could work
   - Potential challenges
3. Combinations of ideas that could work together
4. Next steps to validate top 3 ideas
Use Case
Generate diverse creative ideas and solutions

Storytelling Framework

Creative

Craft compelling narratives for any purpose

#storytelling#narrative#content
Help me craft a compelling story for: [PURPOSE]

Story Type: [BRAND STORY/CUSTOMER SUCCESS/PERSONAL/etc.]
Audience: [WHO WILL READ THIS]
Key Message: [WHAT YOU WANT THEM TO REMEMBER]

Elements to include:
- Setting: [WHERE/WHEN]
- Main Character: [WHO]
- Challenge: [WHAT PROBLEM]
- Journey: [TRANSFORMATION]
- Resolution: [OUTCOME]

Please provide:
1. Complete narrative arc
2. Emotional beats
3. Quotable moments
4. Call-to-action
5. Variations for different lengths (short/medium/long)
Use Case
Create engaging stories that connect with audiences

Product/Company Naming Assistant

Creative

Generate memorable and meaningful names

#naming#branding#creativity
Help me name my: [PRODUCT/COMPANY/FEATURE]

What it does: [BRIEF DESCRIPTION]
Target audience: [WHO IT'S FOR]
Positioning: [HOW IT'S DIFFERENT]
Values: [BRAND VALUES]

Naming preferences:
- Style: [DESCRIPTIVE/ABSTRACT/INVENTED/etc.]
- Length: [PREFERENCE]
- Domain availability: [IMPORTANT/NOT IMPORTANT]

Please provide:
1. 15 name options across different categories
2. Meaning/rationale for each
3. Tagline suggestions for top 3
4. Trademark considerations
5. Domain name variations if available
Use Case
Find the perfect name for your brand or product

Analogy & Metaphor Generator

Creative

Explain complex concepts through analogies

#analogies#teaching#communication
Create powerful analogies to explain: [COMPLEX CONCEPT]

Audience: [WHO NEEDS TO UNDERSTAND THIS]
Their background: [WHAT THEY ALREADY KNOW]
Context: [WHERE THIS WILL BE USED]

Please provide:
1. 5 different analogies from various domains (sports, cooking, nature, etc.)
2. For each:
   - The analogy
   - How it maps to the concept
   - Limitations of the analogy
3. Best analogy for different audiences (technical, non-technical, executives)
4. Visual metaphor suggestions
Use Case
Make complex ideas accessible through relatable analogies

Attention-Grabbing Headlines

Creative

Create headlines that drive clicks and engagement

#headlines#copywriting#marketing
Generate compelling headlines for: [CONTENT TYPE]

Topic: [WHAT IT'S ABOUT]
Target Audience: [WHO WILL SEE THIS]
Goal: [CLICKS/SHARES/LEADS/etc.]
Tone: [SERIOUS/PLAYFUL/URGENT/etc.]

Please provide:
1. 20 headline variations using different formulas:
   - Numbers (listicles)
   - How-to
   - Questions
   - Negative angles
   - Curiosity gaps
   - Direct benefit
2. Emotional triggers used in each
3. Top 3 recommendations with A/B test predictions
Use Case
Write headlines that capture attention and drive action

Prompt Engineering Helper

AI/ML

Optimize prompts for better AI responses

#prompt-engineering#ai#optimization
Help me improve this AI prompt:

Current Prompt:
[PASTE YOUR PROMPT]

Goal: [WHAT YOU WANT THE AI TO DO]
Current Issues: [WHAT'S NOT WORKING]

Please provide:
1. Analysis of current prompt weaknesses
2. Improved prompt with explanations
3. Advanced version with:
   - Clear role definition
   - Structured output format
   - Examples (few-shot learning)
   - Constraints
4. Tips for further refinement
5. Expected improvement in results
Use Case
Write better prompts for AI tools

Personalized Learning Path

Education

Create customized learning roadmaps

#learning#education#skill-development
Create a learning plan for: [SKILL/TOPIC TO LEARN]

Current Level: [BEGINNER/INTERMEDIATE/ADVANCED]
Goal: [WHAT YOU WANT TO ACHIEVE]
Time Available: [HOURS PER WEEK]
Timeline: [WHEN YOU WANT TO ACHIEVE THIS]
Learning Style: [VISUAL/HANDS-ON/READING/etc.]

Please provide:
1. Prerequisites (if any)
2. Week-by-week curriculum
3. Resources for each topic (free + paid)
4. Practical projects to build
5. Milestones and checkpoints
6. Common pitfalls to avoid
7. Assessment methods
Use Case
Create structured learning paths for any skill

Tips for Customizing These Templates

Be Specific

Replace [PLACEHOLDERS] with detailed, specific information. The more context you provide, the better the AI's response.

Add Examples

Include examples of what you want. Few-shot learning (showing examples) dramatically improves output quality.

Iterate & Refine

If the first response isn't perfect, ask follow-up questions or request refinements. AI excels at iterative improvement.

Set Constraints

Define format, length, tone, and style requirements. Constraints help the AI deliver exactly what you need.

Request Structure

Ask for numbered lists, bullet points, tables, or specific formats. Structured output is easier to use.

Combine Templates

Mix and match elements from different templates. Create custom prompts tailored to your unique needs.

Get 50+ Advanced Prompt Templates

Unlock our complete collection of advanced prompts including multi-step workflows, chain-of-thought templates, and domain-specific prompts for AI, ML, data science, and more.

Free forever. Unsubscribe anytime.

Frequently Asked Questions

Which AI models work with these templates?

These templates work with all major AI models: ChatGPT (GPT-3.5, GPT-4), Claude (all versions), Gemini, Llama, and other LLMs. The structured format ensures consistent results across platforms.

Can I modify these templates for my specific use case?

Absolutely! These are starting points designed to be customized. Add your domain knowledge, specific requirements, and examples to make them more effective for your needs.

How do I get better results from these prompts?

Be specific with placeholders, provide context, include examples of desired output, and don't hesitate to iterate. If the first response isn't perfect, ask follow-up questions to refine it.

Are these templates suitable for commercial use?

Yes! Use these templates freely in your work, products, or services. We only ask that you don't resell the templates themselves as a competing prompt library.