About Prompt Template Library
Collection of effective prompt templates for coding, writing, analysis, and more. Copy and customize for ChatGPT, Claude, and other AI models.
Collection of effective prompt templates for coding, writing, analysis, and more. Copy and customize for ChatGPT, Claude, and other AI models.
Ready-to-use prompt templates for AI models
Create a detailed outline for a blog post about "{topic}". Target audience: {audience} Tone: {tone} Target length: {length} words Include: - 3 catchy title options - Introduction hook - Main sections with subpoints (H2 and H3 headers) - Key statistics or facts to include - Conclusion with call-to-action - SEO keywords to target
Brainstorm {count} creative ideas for {topic}. Constraints: {constraints} For each idea provide: - A catchy name/title - Brief description (2-3 sentences) - Key differentiator or unique angle - Potential challenges
Review this code for bugs, security issues, and performance improvements: ```{language} {code} ``` Provide specific suggestions with code examples for each issue found.
I'm getting this error: ``` {error_message} ``` In this code: ```{language} {code} ``` What's causing it and how do I fix it? Explain the root cause and provide the corrected code.
Explain {topic} in simple terms that a 5-year-old could understand.
Use:
- Simple words
- Everyday analogies
- Concrete examples from daily life
- No jargon or technical termsGenerate comprehensive unit tests for this {language} code using {test_framework}: ```{language} {code} ``` Include: - Happy path tests - Edge cases - Error scenarios - Boundary conditions Each test should have a descriptive name explaining what it tests.
Provide a balanced pros and cons analysis of {topic}. Consider these perspectives: {perspectives} Format as a clear comparison with: - Key advantages (with explanations) - Key disadvantages (with explanations) - Neutral factors to consider - Final verdict with recommendation
Summarize the following text in {length} sentences, capturing the main points and key takeaways: {text} Format the summary with bullet points for easy scanning.
Convert this {source_language} code to {target_language}: ```{source_language} {code} ``` Use idiomatic {target_language} patterns and best practices. Explain any significant differences in approach between the two languages.
Create a regex pattern that matches: {description}
Provide:
1. The regex pattern
2. Explanation of each part
3. Test cases showing what it matches and doesn't match
4. Any edge cases to considerWrite a short story with these elements: Genre: {genre} Setting: {setting} Main character: {character} Central conflict: {conflict} Length: approximately {length} words Include vivid descriptions and dialogue.
Analyze this data and provide insights:
{data}
Focus on:
1. Key trends and patterns
2. Anomalies or outliers
3. Correlations between variables
4. Actionable recommendations
5. Potential areas for further investigationGenerate API documentation for this endpoint: ```{language} {code} ``` Include: - Brief description - HTTP method and path - Request parameters (path, query, body) - Request/Response examples with status codes - Possible error responses - Authentication requirements
Create an agenda for a {duration}-minute meeting about {topic}. Attendees: {attendees} Goals: {goals} Include: - Welcome and context (with time allocation) - Discussion topics with time boxes - Action items section - Next steps and follow-ups
Write a professional email about {topic}. Context: {context} Tone: {tone} (e.g., formal, friendly, urgent) Key points to include: {key_points} Keep it concise and include a clear call to action.
Refactor this {language} code to be more: - Readable and maintainable - Following {language} best practices - Using modern patterns and idioms ```{language} {code} ``` Explain each change you make and why it improves the code.
Rewrite the following text with a {tone} tone, while keeping the same meaning: Original: {text} Target tone: {tone} (e.g., more formal, casual, enthusiastic, empathetic)
Create a comprehensive SWOT analysis for {subject}: Context: {context} Provide detailed analysis of: - Strengths (internal positive factors) - Weaknesses (internal negative factors) - Opportunities (external positive factors) - Threats (external negative factors) Include actionable strategies based on the analysis.
Provide a technical deep dive explanation of {topic}. Target audience: {audience_level} developers Include: - Core concepts and how they work - Implementation details - Code examples where relevant - Common pitfalls and best practices - Resources for further learning
Write user stories for: {feature} Context: {context} For each user story include: - User story format: "As a [user], I want [goal] so that [benefit]" - Acceptance criteria (Given/When/Then format) - Edge cases to consider - Story points estimate (S/M/L)