AI Prompt Library
Browse a curated library of over 100 AI prompts organized by category including coding, writing, marketing, creative, data analysis, business, education, and productivity. Each prompt is ready to copy and paste into ChatGPT, Claude, or any AI assistant. Filter by category, search by keyword, and find the perfect prompt for your task.
Showing 105 of 105 prompts
Code Review
Review the following code for bugs, performance issues, and readability. Suggest specific improvements with code examples. [paste code here]
Tip: Include the programming language and any constraints for more targeted feedback.
Explain Code
Explain the following code line by line. Assume I am a beginner. Describe what each section does and why. [paste code here]
Write Unit Tests
Write comprehensive unit tests for the following function. Cover edge cases, error handling, and typical usage. Use [testing framework]. [paste function here]
Tip: Specify your testing framework (Jest, pytest, JUnit, etc.) for accurate syntax.
Refactor for Readability
Refactor the following code to improve readability and maintainability. Keep the same functionality. Explain each change you make. [paste code here]
Convert Between Languages
Convert the following [source language] code to [target language]. Use idiomatic patterns for the target language and note any differences in behavior. [paste code here]
Debug Error Message
I am getting the following error in my [language/framework] project. Explain what causes it and provide a fix. Error: [paste error] Relevant code: [paste code]
Write a Regex
Write a regular expression that matches [describe pattern]. Provide the regex, an explanation of each part, and 3 example matches and 3 non-matches.
Tip: Specify the regex flavor (JavaScript, Python, PCRE) since syntax varies.
Database Schema Design
Design a database schema for [describe application]. Include tables, columns with data types, primary keys, foreign keys, and indexes. Use [SQL dialect].
API Endpoint Design
Design a RESTful API for [describe resource/feature]. Include endpoints, HTTP methods, request/response bodies (JSON), status codes, and authentication requirements.
Git Commit Message
Write a clear, conventional commit message for the following changes. Use the Conventional Commits format (type: description). Changes: [describe changes]
Docker Configuration
Write a Dockerfile for a [language/framework] application. Include multi-stage builds, security best practices, and a docker-compose.yml if applicable. App details: [describe app]
Performance Optimization
Analyze the following code for performance bottlenecks. Suggest optimizations with benchmarks or Big-O analysis where applicable. [paste code here]
Write a CLI Tool
Write a command-line tool in [language] that [describe functionality]. Include argument parsing, help text, error handling, and example usage.
Security Audit
Audit the following code for security vulnerabilities (SQL injection, XSS, CSRF, etc.). List each issue with severity, explanation, and a fix. [paste code here]
Tip: Include your framework and deployment context for more relevant findings.
Generate TypeScript Types
Generate TypeScript type definitions from the following JSON data. Use interfaces, handle optional fields, and add JSDoc comments. [paste JSON here]
Blog Post Outline
Create a detailed blog post outline for the topic: "[topic]". Include a compelling title, introduction hook, 5-7 main sections with subpoints, and a conclusion with a call to action.
Tip: Specify your target audience and word count goal for a more tailored outline.
Rewrite for Clarity
Rewrite the following text to be clearer and more concise. Maintain the original meaning and tone. Highlight what you changed and why. [paste text here]
Email Draft
Write a professional email for the following situation: Purpose: [describe purpose] Recipient: [describe recipient] Tone: [formal/casual/friendly] Key points to include: [list points]
Proofread and Edit
Proofread the following text for grammar, spelling, punctuation, and style errors. List each correction with the original and fixed version. [paste text here]
Change Tone
Rewrite the following text in a [target tone: professional/casual/humorous/academic/empathetic] tone. Keep the core message intact. [paste text here]
Summarize Long Text
Summarize the following text in [number] sentences. Capture the key points, main argument, and conclusion. [paste text here]
Write a Press Release
Write a press release for the following announcement: Company: [name] Announcement: [describe] Key details: [list] Quote from: [name, title] Follow AP style and standard press release format.
Product Description
Write a compelling product description for [product name]. Include features, benefits, target audience, and a persuasive closing. Tone: [specify tone]. Word limit: [number].
Cover Letter
Write a cover letter for a [job title] position at [company]. Highlight the following experience and skills: [list experience] Keep it under 400 words and match a professional but personable tone.
Creative Story Opening
Write 3 different opening paragraphs for a [genre] story about [premise]. Each should use a different narrative technique (dialogue, action, description).
Technical Documentation
Write technical documentation for the following feature/API: Name: [name] Purpose: [describe] Parameters/inputs: [list] Outputs: [describe] Include overview, usage examples, and edge cases.
Meeting Notes to Summary
Convert the following rough meeting notes into a structured summary with: attendees, key decisions, action items (with owners and deadlines), and open questions. [paste notes here]
Translate and Localize
Translate the following text from [source language] to [target language]. Adapt cultural references, idioms, and tone for a [target audience] audience. Flag any phrases that do not translate directly. [paste text here]
Landing Page Copy
Write landing page copy for [product/service]. Include a headline, subheadline, 3 benefit sections with icons, social proof section, and a CTA. Target audience: [describe].
Social Media Calendar
Create a 2-week social media content calendar for [brand/product] on [platforms]. Include post topics, captions, hashtags, and best posting times. Theme: [describe].
Tip: Include your brand voice guidelines for consistent messaging.
Ad Copy Variations
Write 5 ad copy variations for [product/service] targeting [audience]. For each, provide a headline (max 30 chars), description (max 90 chars), and CTA. Platform: [Google/Facebook/Instagram].
Email Subject Lines
Generate 10 email subject lines for a [type: newsletter/promo/welcome/re-engagement] email about [topic]. Mix curiosity, urgency, personalization, and benefit-driven approaches. Keep under 50 characters.
SEO Meta Description
Write 3 SEO meta descriptions for a page about [topic]. Each should be 150-160 characters, include the keyword "[keyword]", and have a compelling CTA.
Customer Persona
Create a detailed customer persona for [product/service]. Include demographics, psychographics, goals, pain points, preferred channels, objections to buying, and a day-in-the-life scenario.
Product Launch Email Sequence
Write a 5-email launch sequence for [product]. Include: teaser, value/education, social proof, offer reveal, and last-chance emails. Each email: subject line, body (200 words max), and CTA.
Competitor Analysis Framework
Create a competitor analysis framework for [my product] vs [competitor 1] and [competitor 2]. Compare features, pricing, positioning, strengths, weaknesses, and identify gaps we can exploit.
Influencer Outreach Template
Write 3 influencer outreach message templates for promoting [product/service]. Include personalization placeholders, value proposition, and collaboration options. Tone: casual and professional.
A/B Test Hypotheses
Generate 5 A/B test hypotheses for [landing page/email/ad campaign]. For each, state: the change, the expected outcome, the metric to track, and the reasoning.
Brand Voice Guide
Create a brand voice guide for [brand/company]. Include: tone attributes (3-5), do/don't examples, vocabulary preferences, sample copy for different channels (social, email, website), and a one-line brand voice statement.
Case Study Template
Write a case study for [client/project]. Structure: challenge, solution, implementation process, results (with metrics), and client quote. Use the following details: [paste details here]
Video Script
Write a [duration]-second video script for [product/service] on [platform]. Include visual directions, voiceover text, on-screen text, and a hook in the first 3 seconds. Target audience: [describe].
Character Development
Create a detailed character profile for a [genre] story. Include: name, age, appearance, personality traits (3 strengths, 3 flaws), backstory, motivation, internal conflict, speech pattern, and a defining moment.
World Building
Build a world for a [genre] story set in [time period/setting]. Describe: geography, political structure, social hierarchy, economy, technology level, magic/science system, cultural norms, and a central conflict.
Plot Twist Generator
Generate 5 unexpected plot twists for a [genre] story with the following premise: [describe premise] For each twist, explain how it recontextualizes earlier events and its emotional impact.
Dialogue Scene
Write a dialogue scene between [character A] and [character B] where [describe situation/conflict]. Show personality through speech patterns and subtext. Include minimal stage directions.
Poetry in a Style
Write a [form: sonnet/haiku/free verse/limerick] poem about [topic/theme]. Incorporate [imagery type: nature/urban/abstract]. Tone: [specify mood].
Short Story from Image
Write a 500-word short story inspired by this scene: [describe a visual scene in detail]. Include sensory details for at least 3 senses. End with an unexpected final line.
Brainstorm Story Ideas
Generate 10 unique story concepts that combine [genre A] with [genre B]. For each, provide a one-sentence premise, the main character archetype, and the central question the story explores.
Rewrite in Another Author's Style
Rewrite the following passage in the style of [author name]. Mimic their sentence structure, vocabulary, themes, and narrative voice. [paste passage here]
Tip: Well-known authors with distinctive styles work best (Hemingway, Austen, Vonnegut, etc.).
Song Lyrics
Write lyrics for a [genre] song about [topic]. Include: verse 1, chorus, verse 2, chorus, bridge, final chorus. Add notes on suggested melody feel and tempo.
Alternate History Scenario
Write an alternate history scenario where [historical event] happened differently. Describe the immediate consequences, how the world looks 50 years later, and a day in the life of an ordinary person in this timeline.
Screenplay Scene
Write a screenplay scene in proper format. Setting: [describe]. Characters: [list]. Conflict: [describe]. Include slug line, action lines, dialogue, and parentheticals.
Mythological Creature
Invent a new mythological creature for a [culture/setting] inspired world. Describe: appearance, abilities, habitat, behavioral patterns, cultural significance, and the legend humans tell about it.
Satirical News Article
Write a satirical news article about [topic/trend] in the style of The Onion. Include a headline, subheadline, 3-4 paragraphs with fake quotes, and maintain a deadpan journalistic tone throughout.
Analyze CSV Data
Analyze the following CSV data. Provide: summary statistics, notable patterns and trends, outliers, correlations between variables, and 3 actionable insights. [paste data here]
Tip: Include column headers and at least 10 rows for meaningful analysis.
SQL Query Builder
Write an optimized SQL query to [describe what you need]. Tables and schema: [describe tables] Include indexes to create if needed, and explain the query plan.
Data Cleaning Steps
I have a dataset with the following issues: [describe data quality problems]. Write a step-by-step data cleaning plan with code examples in [Python/R/SQL]. Handle: missing values, duplicates, outliers, and inconsistent formatting.
Create a Dashboard Spec
Design a dashboard specification for monitoring [describe business area]. Include: 5-8 key metrics with definitions, chart types for each, filter options, refresh frequency, and a wireframe description of the layout.
Statistical Test Selection
I want to test whether [describe hypothesis]. My data has [describe variables, sample size, distribution]. Recommend the appropriate statistical test, state the assumptions, and show how to run it in [Python/R].
Explain Data Visualization
I have the following data: [describe dataset]. Recommend the 3 best visualization types to communicate [key insight/story]. For each, explain why it works, what axes/encodings to use, and common mistakes to avoid.
ETL Pipeline Design
Design an ETL pipeline to move data from [source] to [destination]. Include: extraction method, transformation steps, loading strategy, error handling, scheduling, and monitoring. Tech stack: [specify].
Pandas Code Generator
Write pandas code to perform the following operations on my DataFrame: Columns: [list columns] Operations: [describe transformations, aggregations, filters] Include comments and handle edge cases.
KPI Definition
Define 5-7 KPIs for measuring [business objective]. For each KPI, provide: name, formula, data source, target value, measurement frequency, and who is responsible for it.
A/B Test Analysis
Analyze the following A/B test results: Control: [metrics] Variant: [metrics] Sample size: [number] Duration: [days] Calculate statistical significance, confidence interval, and provide a recommendation.
Data Model Design
Design a data model for [describe use case]. Include: entity-relationship diagram description, table definitions, data types, relationships, and a star/snowflake schema if applicable. Optimize for [OLTP/OLAP].
Regression Analysis Prompt
I want to predict [dependent variable] using [independent variables]. My data has [number] observations. Walk me through: which regression model to use, feature selection, handling multicollinearity, model evaluation metrics, and interpretation of results.
Survey Data Analysis
Analyze the following survey results. Provide: response rate analysis, distribution of answers per question, cross-tabulations between [variable A] and [variable B], sentiment trends, and 3 key takeaways. [paste data here]
SWOT Analysis
Perform a SWOT analysis for [company/product/idea]. Provide 4-5 items per quadrant (Strengths, Weaknesses, Opportunities, Threats) with brief explanations. Include strategic recommendations based on the analysis.
Business Plan Executive Summary
Write an executive summary for a business plan. Business: [describe]. Include: mission statement, problem/solution, target market, revenue model, competitive advantage, team overview, and funding ask (if applicable).
Pitch Deck Outline
Create a 10-slide pitch deck outline for [company/product]. For each slide, provide: title, key message (1 sentence), supporting data points, and visual suggestions. Follow the standard VC pitch structure.
OKR Framework
Define OKRs (Objectives and Key Results) for [team/company] for [quarter/year]. Create 3 objectives, each with 3-4 measurable key results. Include baseline metrics and target values.
Meeting Agenda
Create a structured meeting agenda for a [meeting type] meeting. Duration: [time]. Attendees: [list roles]. Include: objectives, timed agenda items, discussion points, decision items, and next steps section.
Negotiation Prep
Help me prepare for a negotiation about [describe situation]. Outline: my BATNA, their likely BATNA, key interests (mine and theirs), opening position, target outcome, walk-away point, and 3 creative options for mutual gain.
Job Description
Write a job description for a [title] role at [company type]. Include: role summary, 5-7 responsibilities, required qualifications (must-have vs nice-to-have), compensation range approach, and company culture highlights. Avoid biased language.
Performance Review Template
Write a performance review for an employee who [describe performance level]. Include: accomplishments summary, areas of strength (3), areas for growth (2), specific examples, goals for next period, and overall rating rationale.
Customer Feedback Analysis
Analyze the following customer feedback and categorize it by theme. Identify: top 3 positive themes, top 3 negative themes, urgent issues, feature requests, and recommended actions for each. [paste feedback here]
Pricing Strategy
Develop a pricing strategy for [product/service]. Consider: cost structure, competitor pricing, value perception, price elasticity, tiering options (free/basic/pro), and launch pricing vs long-term pricing.
Risk Assessment Matrix
Create a risk assessment for [project/initiative]. Identify 8-10 risks. For each: description, likelihood (1-5), impact (1-5), risk score, mitigation strategy, and contingency plan. Format as a matrix.
Stakeholder Communication Plan
Create a stakeholder communication plan for [project/change]. Identify key stakeholders, their concerns, communication frequency, preferred channels, key messages, and who is responsible for each communication.
Process Improvement
Analyze the following business process and suggest improvements: Current process: [describe steps] Pain points: [list] Goals: [list] Provide: root cause analysis, recommended changes, expected impact, implementation steps, and success metrics.
Explain Like I'm 5
Explain [complex topic] as if I were 5 years old. Use simple analogies, everyday examples, and short sentences. Then provide a slightly more advanced explanation for a teenager.
Lesson Plan
Create a lesson plan for teaching [topic] to [age group/level]. Include: learning objectives, prerequisite knowledge, materials needed, warm-up activity, main instruction (with timing), practice exercises, assessment method, and extension activities.
Quiz Generator
Create a 10-question quiz on [topic] for [level] students. Include: 5 multiple choice, 3 short answer, and 2 essay questions. Provide an answer key with explanations for each answer.
Concept Comparison
Compare and contrast [concept A] and [concept B]. Create a table of similarities and differences across 5-6 dimensions. Then provide 3 real-world examples where understanding the difference matters.
Study Guide
Create a comprehensive study guide for [subject/exam]. Include: key concepts with definitions, important formulas/rules, common mistakes to avoid, mnemonics for memorization, and 5 practice problems with solutions.
Socratic Discussion Questions
Generate 10 Socratic discussion questions about [topic/text]. Progress from factual recall to analysis, evaluation, and synthesis. Include follow-up probes for each question.
Analogy Builder
Create 5 different analogies to explain [complex concept]. Each analogy should target a different audience (child, teenager, adult, expert, visual learner). Explain what aspect of the concept each analogy captures and where it breaks down.
Research Paper Outline
Create a research paper outline for the thesis: "[thesis statement]". Include: abstract summary, introduction with hook, literature review sections, methodology, expected results, discussion points, and conclusion. Suggest 5 search terms for finding sources.
Flashcard Set
Create 20 flashcards for studying [topic]. Each card should have a front (question/term) and back (answer/definition). Order them from fundamental to advanced concepts.
Debate Preparation
Prepare arguments for a debate on: "[topic/motion]". For both sides, provide: 3 main arguments with evidence, anticipated counterarguments, rebuttals, and a closing statement. Include logical fallacies to avoid.
Learning Path
Create a structured learning path for mastering [skill/subject] from beginner to advanced. Include: phases (with timeframes), specific topics per phase, recommended resources, hands-on projects, and milestones to assess progress.
Simplify Academic Paper
Summarize the following academic paper/abstract for a general audience. Explain: the research question, methodology (simplified), key findings, why it matters, and limitations. Avoid jargon. [paste abstract here]
Weekly Plan
Create a structured weekly plan for achieving [goal]. I have [X hours] available per day. Include: daily task blocks with time estimates, buffer time, review checkpoints, and a prioritization framework.
Decision Matrix
Help me decide between the following options: [list options]. Create a weighted decision matrix with criteria: [list criteria or let AI suggest]. Score each option 1-5 per criterion and calculate weighted totals.
Break Down Large Task
Break down the following large task into actionable subtasks: "[describe task]". For each subtask, estimate time required, list dependencies, and suggest an order of execution. Flag any tasks that can be done in parallel.
Tip: Include your deadline and any constraints for a more realistic breakdown.
Daily Standup Summary
Write a daily standup update based on the following: Yesterday: [what you did] Today: [what you plan] Blockers: [any issues] Format it concisely for a team channel. Keep each section to 1-2 bullet points.
Habit Tracker Setup
Design a habit tracking system for building [number] new habits: [list habits]. Include: daily schedule integration, trigger/cue for each habit, minimum viable version (2-minute rule), tracking method, and weekly review criteria.
Email Triage System
Create an email management system for handling [number] emails per day. Include: folder/label structure, rules for auto-sorting, response templates for common emails, processing schedule, and criteria for delete/delegate/do/defer.
Retrospective Facilitator
Facilitate a retrospective for [project/sprint]. Generate prompts for: What went well (3 questions), What could improve (3 questions), Action items template, and a creative retrospective format beyond the standard start/stop/continue.
Goal Setting (SMART)
Convert the following vague goal into a SMART goal (Specific, Measurable, Achievable, Relevant, Time-bound): "[vague goal]". Then break it into monthly milestones and weekly actions.
Automate Repetitive Task
I spend [X hours/week] on [repetitive task]. Suggest ways to automate or streamline it using available tools (Zapier, scripts, templates, etc.). For each suggestion, estimate time saved and difficulty to implement.
Project Status Report
Write a project status report based on the following: Project: [name] Period: [dates] Progress: [describe] Risks: [list] Next steps: [list] Format: executive summary (2 sentences), progress details, risk table, and upcoming milestones.
SOPs from Process
Create a Standard Operating Procedure (SOP) document for [process]. Include: purpose, scope, roles involved, step-by-step instructions with screenshots placeholders, exception handling, and a revision log template.
Focus Session Planner
Plan a [duration]-hour deep work session for [task]. Include: preparation checklist, Pomodoro breakdown (or preferred technique), specific deliverables per block, break activities, and a post-session review prompt.
Knowledge Base Article
Write an internal knowledge base article about [topic/process]. Include: title, summary, step-by-step guide, FAQ (5 questions), troubleshooting section, and related articles suggestions. Write for a new team member.
How to Use
- 1
Choose a Category
Browse prompts by category: Coding, Writing, Marketing, Creative, Data Analysis, Business, Education, or Productivity.
- 2
Search Prompts
Use the search bar to find prompts by keyword, topic, or use case.
- 3
Copy and Customize
Copy any prompt and replace the placeholder text in brackets with your specific details before pasting into your AI assistant.
Examples by Niche
"Review this [language] code for bugs, performance issues, and security vulnerabilities. Suggest improvements with explanations."
"Write a 1500-word blog post about [topic] targeting [audience]. Use a conversational tone with practical examples."
"Analyze this dataset and identify the top 3 trends. Create a Python script to visualize the findings."
Frequently Asked Questions
What are the best AI prompts for coding?
Effective coding prompts include asking for code reviews with specific criteria, requesting explanations of complex algorithms, generating unit tests, converting code between languages, and asking for architecture recommendations. Always specify the language, framework, and context for best results.
Do these prompts work with ChatGPT and Claude?
Yes, all prompts in this library are designed to work with any major AI assistant including ChatGPT, Claude, Gemini, and others. Some prompts may produce slightly different results across models, but the core techniques are universal.
How do I customize these prompts for my needs?
Replace the placeholder text in brackets with your specific details. Add context about your industry, audience, or technical requirements. You can also combine multiple prompts or add constraints like word count, tone, or format to get more tailored results.
What is prompt engineering?
Prompt engineering is the practice of crafting effective instructions for AI models to get desired outputs. It involves techniques like specifying roles, providing context, giving examples, setting constraints, and iterating on prompts to improve results. Good prompt engineering can dramatically improve AI output quality.
Related Tools
Related Articles
Prompt Engineering in 2026: Free Tools and Ready-to-Use Prompts for Better AI Results
Master prompt engineering with free browser-based tools. Learn prompting techniques and ready-to-use prompts for better ChatGPT, Claude, and Gemini results — no paid courses needed.
Free SEO Writing Tools for Bloggers: Optimize Content Without Paid Subscriptions
A curated list of free SEO writing tools for bloggers and content creators — character counters, reading time estimators, keyword analyzers, and more. No signup required.
VSCode Keyboard Shortcuts: The Complete Reference Guide for Windows, Mac, and Linux
The complete VSCode keyboard shortcuts reference guide with over 120 shortcuts. Browse by category — editing, navigation, debugging, terminal — for Windows, Linux, and Mac.