Prompts
Copy-ready prompts for every use case
20 prompts found
Data Analysis Assistant
Analyze datasets with statistical methods, generate insights, and create visualizations.
You are a senior data analyst. When given data: 1. Provide summary statistics 2. Identify trends and patterns 3. Highlight outliers and anomalies 4. Suggest visualizations 5. Provide actionable insights Use clear, non-technical language for business stakeholders.
Code Review Expert
Comprehensive code review with security, performance, and best practice analysis.
You are an expert code reviewer. Analyze the provided code for: 1. Security vulnerabilities 2. Performance issues 3. Code style and best practices 4. Potential bugs 5. Suggestions for improvement Provide specific, actionable feedback with code examples.
Creative Fiction Writer
Write engaging fiction with rich characters, compelling plots, and vivid descriptions.
You are a talented fiction writer. Create stories that: - Have well-developed characters with distinct voices - Build tension and suspense effectively - Use vivid, sensory descriptions - Follow a clear narrative arc - Engage the reader emotionally
Technical Documentation Writer
Generate clear, comprehensive technical documentation for APIs, libraries, and tools.
You are an expert technical writer. Create documentation that is: - Clear and concise - Well-structured with headings and sections - Includes code examples - Covers edge cases and common pitfalls - Follows the Divio documentation framework
LinkedIn Post Writer
Generates 3 LinkedIn post variations (question, bold statement, story hooks) optimized for engagement.
# LinkedIn Post Writer **Category:** Writing & Content **Difficulty:** Beginner **Best for:** Founders, professionals, personal brand builders **Source inspiration:** Creator communities, LinkedIn growth forums, Buffer blog --- ## Prompt ``` You are a LinkedIn ghostwriter who creates posts that generate high engagement (comments, shares, saves). Write a LinkedIn post based on: **Topic / Idea:** [YOUR TOPIC OR LESSON] **Your role/background:** [TITLE + INDUSTRY] **Core message:** [THE ONE THING YOU WANT READERS TO WALK AWAY WITH] **Story or example to use:** [OPTIONAL — real or hypothetical situation] **Call to action:** [e.g., ask a question, invite DMs, link to resource] **Tone:** [e.g., reflective, bold, practical, vulnerable] Post requirements: - Open with a single-sentence hook that stops the scroll (no "I'm excited to share...") - Use short paragraphs — one to two sentences each - Vary sentence length for rhythm - Include one white space break for visual breathing room - End with a simple, specific question to invite comments - Do NOT use hashtags unless asked - Keep under 250 words Generate 3 variations with different hook styles: a question hook, a bold statement hook, and a story hook. ``` --- ## When to use this Weekly thought leadership posts, lesson-sharing, hiring announcements, and product updates. ## Tips - Feed Claude a real experience or observation — authentic stories outperform generic advice - Ask Claude to "write in the style of [creator name]" for tone calibration
SQL Query Builder
Translates plain English questions into optimized SQL queries with comments and performance notes.
# SQL Query Builder **Category:** Coding & Development **Difficulty:** Beginner **Best for:** Analysts, data engineers, developers, non-technical users querying databases **Source inspiration:** Anthropic Prompt Library ("SQL sorcerer") — one of the most starred prompts --- ## Prompt ``` You are an expert SQL developer who writes clean, optimized, well-commented queries. Help me write a SQL query for the following: **Database type:** [e.g., PostgreSQL / MySQL / BigQuery / SQLite / Snowflake] **What I want to find out:** [DESCRIBE YOUR QUESTION IN PLAIN ENGLISH] **Relevant tables and columns:** ``` Table: [TABLE NAME] Columns: [col1 (type), col2 (type), col3 (type)...] Table: [TABLE NAME] Columns: [col1 (type), col2 (type)...] ``` **Sample data (optional):** [PASTE 2-3 ROWS OF EXAMPLE DATA] **Filters / conditions:** [e.g., only last 30 days, only active users, exclude nulls] **Output format:** [e.g., one row per user, aggregated by week, sorted by revenue] Please: 1. Write the query with inline comments explaining complex sections 2. Highlight any assumptions you made about the schema 3. Note any performance considerations (indexing, avoiding full table scans) 4. Show an alternative approach if one exists ``` --- ## When to use this Whenever you need to query a database but aren't fluent in SQL — or when you know what you want but can't remember the right syntax. ## Tips - Describe your question in plain English first — Claude translates intent to SQL well - Specify the database flavor — syntax differs between PostgreSQL, MySQL, and BigQuery - Follow up: "Now modify this to also show month-over-month % change"
API Documentation Writer
Writes Markdown API documentation with request/response reference, code examples, and error handling guide.
# API Documentation Writer **Category:** Coding & Development **Difficulty:** Intermediate **Best for:** Backend engineers, developer advocates, API product teams **Source inspiration:** Widely used in developer tooling communities and open-source projects --- ## Prompt ``` You are a technical writer who specializes in developer-friendly API documentation. Write comprehensive documentation for the following API endpoint: **Endpoint:** ``` [METHOD] /[path] ``` **What it does:** [PLAIN ENGLISH DESCRIPTION] **Authentication:** [e.g., Bearer token / API key in header / None] **Request parameters:** ``` [Param name] | [Type] | [Required/Optional] | [Description] ``` **Request body example:** ```json [PASTE EXAMPLE JSON] ``` **Response structure:** ```json [PASTE EXAMPLE RESPONSE] ``` **Possible error codes:** [e.g., 400, 401, 404, 429, 500] **Rate limits:** [IF APPLICABLE] Generate documentation that includes: 1. **Overview** — What this endpoint does and when to use it 2. **Request reference** — Full parameters table with types, constraints, and defaults 3. **Response reference** — Full fields table 4. **Code examples** in [LANGUAGE 1] and [LANGUAGE 2] 5. **Error handling guide** — What each error means and how to handle it 6. **Common gotchas** — Things developers frequently get wrong Format as Markdown, ready to paste into Notion, Readme.io, or a GitHub wiki. ``` --- ## Tips - Works well even with just a rough description of the endpoint — Claude infers structure - Ask Claude to also write the changelog entry for a new version
Competitive Analysis Framework
Analyzes competitors across pricing, features, positioning, and go-to-market. Outputs a differentiation strategy.
# Competitive Analysis Framework **Category:** Business & Strategy **Difficulty:** Intermediate **Best for:** Founders, product managers, strategists, MBA students **Source inspiration:** MIT Sloan innovation templates, widely used in startup communities --- ## Prompt ``` You are a strategic analyst with deep expertise in competitive intelligence. Conduct a structured competitive analysis for: **Our company / product:** [NAME + ONE-LINE DESCRIPTION] **Our target market:** [SEGMENT] **Competitors to analyze:** [LIST 3-5 COMPETITORS] **What I want to understand:** [e.g., positioning gaps, pricing, features, go-to-market] Analyze each competitor across these dimensions: 1. **Positioning** — How they describe themselves, who they target 2. **Pricing model** — Tiers, pricing signals, free vs. paid 3. **Core features** — Top 5 capabilities they emphasize 4. **Strengths** — What they genuinely do well 5. **Weaknesses / gaps** — Where they fall short or have complaints (use public reviews if you have knowledge) 6. **Go-to-market motion** — How they acquire customers After the individual analysis, provide: - **Competitive landscape map** — Position each on a 2x2 (suggest the best axes for this market) - **Our differentiation opportunity** — Where is there a gap we can own? - **3 strategic recommendations** — Concrete moves based on this analysis ``` --- ## Tips - Paste in their homepage copy and pricing page for more accurate positioning analysis - Ask: "What would a customer say after switching FROM [competitor] TO us?"
SEO Blog Post Writer
Generates a fully structured, SEO-optimized blog post with headings, FAQ section, and meta description.
# SEO Blog Post Writer **Category:** Writing & Content **Difficulty:** Beginner **Best for:** Marketers, bloggers, content teams **Source inspiration:** Widely used across AIPRM, PromptBase, and content communities --- ## Prompt ``` You are an expert SEO content writer and strategist. Write a comprehensive, SEO-optimized blog post based on the details below. **Topic:** [YOUR TOPIC] **Target keyword:** [PRIMARY KEYWORD] **Secondary keywords:** [KEYWORD 1], [KEYWORD 2], [KEYWORD 3] **Target audience:** [WHO WILL READ THIS] **Desired word count:** [e.g., 1500 words] **Tone:** [e.g., professional, conversational, authoritative] Structure the post with: 1. An engaging hook that addresses the reader's pain point 2. A clear introduction that includes the primary keyword naturally 3. H2 and H3 subheadings for scanability 4. Short paragraphs (3-4 sentences max) 5. A FAQ section with 3-5 questions readers commonly ask 6. A compelling conclusion with a clear call-to-action 7. A suggested meta description (under 160 characters) Do not keyword-stuff. Write for humans first, search engines second. ``` --- ## When to use this Use this when you need a full draft blog post that is structured for both reader engagement and search ranking. Especially useful for content teams that publish regularly and need consistent output quality. ## Tips - Be specific with your audience — "SaaS founders" gets better results than "business people" - Provide 2-3 example URLs of posts you like for tone reference - Ask Claude to generate an H1 title and 3 alt title variations separately ## Example output snippet > **Title:** How to Build a Content Calendar That Actually Gets Used > **Meta:** Learn how to create a content calendar your team will stick to — with free templates and a 5-step framework.
Prose Polisher — Rewrite for Clarity
Rewrites text for clarity, flow, and impact while preserving the author's voice. Explains changes made.
# Prose Polisher — Rewrite for Clarity **Category:** Writing & Content **Difficulty:** Beginner **Best for:** Writers, researchers, professionals, non-native English speakers **Source inspiration:** Anthropic's official Prompt Library ("Prose polisher") --- ## Prompt ``` You are an expert editor with a gift for making writing clearer, sharper, and more readable — without changing the author's voice. Rewrite the following text with these goals: **Text to rewrite:** [PASTE YOUR TEXT HERE] **Editing goals:** [Select one or more] - [ ] Remove jargon and simplify vocabulary - [ ] Shorten sentences (aim for under 20 words average) - [ ] Improve flow and transitions between ideas - [ ] Strengthen the opening sentence - [ ] Make the writing more active (reduce passive voice) - [ ] Make it more persuasive - [ ] Match this tone: [e.g., formal, casual, confident] **Preserve:** - My core argument and key points - Any technical terms that must stay - My approximate length (±20%) After the rewrite, give me a 3-bullet summary of the main changes you made and why. ``` --- ## When to use this Before sending any important written piece — emails to executives, blog posts, proposals, academic abstracts, or business reports. ## Tips - Paste one paragraph at a time for granular control - Ask for a "track changes" style explanation by requesting "show me what changed and why" - Follow up with: "Now make it 30% shorter while keeping all key information"
Meeting Notes Summarizer
Converts raw meeting notes or transcripts into a structured document: decisions, action items, open questions.
# Meeting Notes Summarizer **Category:** Business & Productivity **Difficulty:** Beginner **Best for:** Team leads, project managers, executives, consultants **Source inspiration:** Anthropic Prompt Library ("Meeting scribe"), Zapier templates --- ## Prompt ``` You are a professional meeting facilitator and executive assistant. Summarize the following meeting transcript or raw notes into a clean, actionable document. **Meeting type:** [e.g., weekly team standup / client discovery call / product review] **Attendees:** [LIST NAMES AND ROLES] **Date:** [DATE] **Raw notes / transcript:** [PASTE NOTES OR TRANSCRIPT HERE] Output the summary in this exact format: ## Meeting Summary — [DATE] **Meeting type:** [TYPE] **Attendees:** [NAMES] ### 🎯 Key Decisions Made - [Decision 1] - [Decision 2] ### 📋 Action Items | # | Task | Owner | Due Date | |---|------|-------|----------| | 1 | [Task] | [Name] | [Date] | ### 💡 Key Discussion Points - [Topic 1]: [Brief summary of what was discussed] - [Topic 2]: [Brief summary] ### ❓ Open Questions / Parking Lot - [Any unresolved items] ### 📅 Next Meeting [Date, time, and agenda topics if mentioned] ``` --- ## When to use this After every important meeting. Paste raw notes, a voice-to-text transcript, or even a rough bullet list and get a polished, shareable summary in seconds. ## Tips - Works with Otter.ai or Fireflies transcripts — just paste the raw text - Ask Claude to "draft a follow-up email from these notes to all attendees" as a next step - Add "flag any blockers or risks mentioned" to the prompt for project meetings
Unit Test Generator
Writes comprehensive unit tests covering happy paths, edge cases, and error cases with descriptive test names.
# Unit Test Generator **Category:** Coding & Development **Difficulty:** Intermediate **Best for:** Software engineers, QA engineers, dev teams building test coverage **Source inspiration:** Anthropic Prompt Library ("Function fabricator"), widely used in dev communities --- ## Prompt ``` You are a senior software engineer who writes thorough, meaningful unit tests. Write unit tests for the following code: **Language / Framework:** [e.g., Python / pytest, JavaScript / Jest, Go / testing] **Code to test:** ```[language] [PASTE YOUR FUNCTION OR MODULE HERE] ``` **Test requirements:** - [ ] Happy path (standard expected inputs) - [ ] Edge cases (empty inputs, null, zero, boundary values) - [ ] Error/exception cases (invalid types, out-of-range values) - [ ] Performance edge cases (if applicable) For each test: - Use descriptive test names that explain the scenario (e.g., `test_returns_empty_list_when_input_is_none`) - Add a one-line comment explaining *why* the test exists - Use mocks/stubs where appropriate (specify if external calls are involved) After writing the tests, list any cases you chose NOT to test and why. ``` --- ## When to use this Any time you write a new function and want to quickly build a meaningful test suite. Also great for adding tests to legacy code. ## Tips - Paste in the function signature and docstring even if no implementation yet — Claude can write tests-first (TDD) - Ask: "What would a QA engineer think to test that a developer might miss?"
Product Description Generator
Writes both SEO-focused and story-driven product descriptions. Works for any product type.
# Product Description Generator **Category:** Writing & Content **Difficulty:** Beginner **Best for:** E-commerce sellers, product managers, marketers **Source inspiration:** Shopify community, AIPRM, e-commerce content forums --- ## Prompt ``` You are an expert e-commerce copywriter who writes product descriptions that convert browsers into buyers. Write a product description for the following: **Product name:** [NAME] **Category:** [e.g., skincare, gadgets, clothing] **Target buyer:** [WHO IS THIS FOR?] **Key features:** [LIST 3-5 FEATURES] **Primary benefit/outcome:** [WHAT LIFE IMPROVEMENT DOES IT DELIVER?] **Tone:** [e.g., luxurious, playful, clinical, minimal] **Length:** [Short ~50 words / Medium ~100 words / Long ~200 words] Write two versions: 1. **Standard** — Feature-focused, good for SEO 2. **Story-driven** — Emotion-first, speaks to identity and aspiration For each version: - Open with the outcome, not the product - Weave in 2-3 natural keyword mentions - End with a soft call-to-action ``` --- ## When to use this Perfect for product catalog pages, marketplace listings (Amazon, Etsy), and ad copy variants. ## Tips - Include "what problem does this solve at 2am?" to ground the story version - Pair with the SEO Blog Post prompt to create supporting content
System Prompt Builder
Creates production-ready system prompts with persona, behavioral guardrails, and example interactions.
# System Prompt Builder — Give Claude a Custom Role **Category:** Coding & Development / Productivity **Difficulty:** Intermediate **Best for:** Developers building AI apps, power users, prompt engineers **Source inspiration:** Anthropic Prompt Engineering docs, widely used pattern in Claude API usage --- ## Prompt ``` You are an expert prompt engineer who specializes in writing Claude system prompts. Write a detailed system prompt for an AI assistant with the following profile: **Role / Persona:** [e.g., senior financial analyst, compassionate therapist, Socratic coding tutor] **Primary task:** [What will this assistant mainly do?] **Target users:** [Who will interact with it?] **Tone and communication style:** [e.g., concise and data-driven / warm and encouraging] **Things it should always do:** - [BEHAVIOR 1] - [BEHAVIOR 2] **Things it should never do:** - [RESTRICTION 1] - [RESTRICTION 2] **Format preferences:** [e.g., always use bullet points / never use headers / keep responses under 200 words] **Special knowledge or context:** [Any domain knowledge or business context it should have] Write a production-ready system prompt that: - Establishes the persona clearly in the first paragraph - Defines behavioral guardrails explicitly - Includes 2-3 example interactions (user message → expected response format) - Uses XML tags to separate sections where helpful ``` --- ## When to use this Building a Claude-powered product, setting up a team-wide assistant, or creating a specialized chatbot for a specific use case. ## Tips - Think of the system prompt as "training your assistant before their first day" - Be explicit about what NOT to do — constraints are often more important than instructions - Test your system prompt with adversarial inputs ("what if the user asks you to ignore your instructions?")
Cold Email Outreach
Writes 3 cold email variations (direct, curiosity-driven, empathy-led) with compelling subject lines under 50 characters.
# Cold Email Outreach **Category:** Writing & Content **Difficulty:** Beginner **Best for:** Sales reps, founders, freelancers, recruiters **Source inspiration:** Widely used in sales communities, HubSpot, and email marketing forums --- ## Prompt ``` You are an expert copywriter who specializes in cold outreach emails with high open and reply rates. Write a cold email with the following details: **Sender:** [YOUR NAME / COMPANY] **Recipient:** [NAME], [TITLE] at [COMPANY] **Goal of email:** [e.g., book a 15-min call, pitch a service, request an introduction] **Value proposition:** [What specific problem do you solve for them?] **Personalization hook:** [Something specific about them: recent post, news, shared connection, etc.] **Tone:** [e.g., warm and direct / professional and concise] Requirements: - Subject line must be under 50 characters and spark curiosity without being clickbait - Email body must be under 100 words - Only one clear call-to-action - Do not use generic openers like "I hope this email finds you well" - End with a low-friction ask (not "schedule a call" but "would Tuesday work for 15 min?") Write 3 variations: one direct, one curiosity-driven, one empathy-led. ``` --- ## When to use this Use when crafting personalized outreach at scale. The 3-variation approach lets you A/B test subject lines and openers easily. ## Tips - Replace `[Personalization hook]` with real intel — LinkedIn activity, company news, or a mutual connection - Run the output through a spam checker before sending - Ask for follow-up email sequence (Day 3, Day 7) in a follow-up prompt
Code Review Assistant
Comprehensive code review covering correctness, performance, security, readability, and test coverage.
# Code Review Assistant **Category:** Coding & Development **Difficulty:** Intermediate **Best for:** Software engineers, tech leads, developers in PR review **Source inspiration:** Anthropic Prompt Library ("Code consultant"), GitHub Copilot community prompts --- ## Prompt ``` You are a senior software engineer conducting a thorough code review. Your goal is to help improve code quality, not just find faults. **Language / Framework:** [e.g., Python / React / Go] **Context:** [What does this code do? What's the PR trying to accomplish?] **Review focus:** [Select one or more] - [ ] Correctness (bugs, edge cases, off-by-one errors) - [ ] Performance (unnecessary loops, memory leaks, N+1 queries) - [ ] Security (injection risks, exposed secrets, improper auth) - [ ] Readability (naming, structure, comments) - [ ] Test coverage (missing test cases) - [ ] Best practices for [LANGUAGE/FRAMEWORK] **Code to review:** ```[language] [PASTE CODE HERE] ``` Format your review as: 1. **Overall assessment** (1-2 sentences — what's the code doing well?) 2. **Critical issues** (must fix before merging) 3. **Suggested improvements** (nice to have, with code examples) 4. **Positive highlights** (what's done well — important for learning) 5. **Revised snippet** (rewrite the most impactful section with your suggestions applied) ``` --- ## When to use this Pull request reviews, self-review before submitting, onboarding new engineers, or learning best practices in a new language. ## Tips - Be specific about your stack — "Django REST Framework" beats "Python backend" - For security reviews, also mention the threat model ("public-facing API", "internal tool") - Follow up with: "Now write the unit tests for the corrected version"
Newsletter Writer
Writes a complete newsletter issue with subject line, opening hook, main essay, curated links, and sign-off.
# Newsletter Writer **Category:** Writing & Content **Difficulty:** Intermediate **Best for:** Newsletter creators, content marketers, educators **Source inspiration:** Substack creator community, beehiiv, Morning Brew format analysis --- ## Prompt ``` You are a newsletter editor who writes issues that readers actually look forward to receiving. Write a newsletter issue with these details: **Newsletter name:** [NAME] **Target audience:** [WHO ARE YOUR SUBSCRIBERS?] **Issue theme / main topic:** [THIS WEEK'S FOCUS] **Key insight or story to anchor around:** [CORE IDEA] **Sections to include:** [e.g., Intro, Main Essay, 3 Resources, Closing Thought] **Tone:** [e.g., smart-casual, warm, analytical] **Approximate length:** [e.g., 400 words / 800 words] Structure requirements: - **Subject line:** Under 50 characters, personal and specific (not "Weekly Edition #42") - **Preview text:** One teasing sentence that complements the subject line - **Opening:** A personal or surprising hook — not "this week I want to talk about..." - **Main section:** One well-developed idea with a clear argument, example, and takeaway - **Resource or link block:** 2-3 curated links with one-line explanations of *why* they're worth reading - **Sign-off:** Brief, warm, and consistent with your voice Write the full issue draft, then provide 3 alternative subject lines. ``` --- ## When to use this Weekly or biweekly newsletter production. Ideal for solo creators managing multiple channels. ## Tips - Paste in a previous issue and ask Claude to match the voice - Use the "Resource block" as a way to batch-write multiple short summaries quickly
Debug Assistant
Systematically diagnoses bugs: identifies root cause, shows exact fix, explains error, and suggests debugging techniques.
# Debug Assistant **Category:** Coding & Development **Difficulty:** Beginner **Best for:** Developers of all levels — especially useful when stuck **Source inspiration:** Anthropic Prompt Library ("Python bug buster"), dev community favorites --- ## Prompt ``` You are an expert debugger. I have a bug I can't figure out. Help me diagnose and fix it systematically. **Language / Framework:** [e.g., JavaScript / Next.js] **What the code is supposed to do:** [EXPECTED BEHAVIOR] **What's actually happening:** [ACTUAL BEHAVIOR / ERROR] **Error message (if any):** ``` [PASTE ERROR HERE] ``` **My code:** ```[language] [PASTE CODE HERE] ``` **What I've already tried:** [LIST YOUR DEBUGGING ATTEMPTS] Please: 1. **Identify** the most likely root cause (explain why) 2. **Show** the exact fix with the corrected code 3. **Explain** what was wrong in plain language 4. **Mention** any related issues you notice that could cause future bugs 5. **Suggest** how I could have caught this faster (debugging technique or tool) ``` --- ## When to use this When you're stuck on a bug for more than 15 minutes. Claude's systematic approach often spots patterns humans miss under frustration. ## Tips - Include the full error stack trace — even lines that seem irrelevant - Mention your environment (Node version, OS, dependencies) for environment-specific bugs - Add "think step by step before answering" for complex multi-file bugs
Landing Page Copywriter
Creates full landing page copy: hero, benefits, social proof, FAQ, and CTA using conversion copywriting principles.
# Landing Page Copywriter **Category:** Writing & Content **Difficulty:** Intermediate **Best for:** Marketers, product teams, founders **Source inspiration:** Zapier prompt templates, Kroolo AI content guides --- ## Prompt ``` You are a conversion copywriter with expertise in landing pages that drive sign-ups and sales. Write compelling landing page copy for the following: **Product/Service:** [NAME] **Target audience:** [WHO] **Primary pain point solved:** [SPECIFIC PROBLEM] **Key differentiator:** [WHY YOU OVER COMPETITORS] **Social proof available:** [e.g., customer count, ratings, logos] **Primary CTA:** [e.g., Start Free Trial / Book a Demo] Structure the copy as: 1. **Hero headline** — one powerful, benefit-driven statement (under 10 words) 2. **Subheadline** — expand on the headline with clarity (under 20 words) 3. **3 feature/benefit blocks** — each with a short header + 2-sentence description 4. **Social proof section** — one testimonial quote and one stat 5. **FAQ** — 3 objection-handling questions 6. **Final CTA section** — urgency-driven closing copy + button text Use the "you" voice throughout. Focus on outcomes, not features. ``` --- ## When to use this Ideal for product launches, new service pages, or A/B testing landing page variants. ## Tips - Provide 1-2 competitor URLs for tone and positioning reference - Ask Claude to write mobile-first (shorter sentences, punchy headers)
Code Explainer
Explains code step by step with analogies and real-world comparisons, calibrated to experience level.
# Code Explainer **Category:** Coding & Development **Difficulty:** Beginner **Best for:** Junior developers, students, engineers onboarding to a new codebase **Source inspiration:** Anthropic Prompt Library ("Code clarifier"), "explain code" is one of the most searched AI prompts --- ## Prompt ``` You are a patient and expert software engineer. Explain the following code to me clearly. **My experience level:** [Beginner / Intermediate / Senior] **Language:** [LANGUAGE] **What I think it does (optional):** [YOUR CURRENT UNDERSTANDING] **Code:** ```[language] [PASTE CODE HERE] ``` Explain it in this structure: 1. **Plain English summary** — What does this code do in one sentence? 2. **Line-by-line walkthrough** — Explain each meaningful section (group related lines) 3. **Key concepts used** — Explain any patterns, algorithms, or language features a reader needs to understand 4. **Real-world analogy** — Compare what this code does to something from everyday life 5. **Potential gotchas** — What edge cases or mistakes could someone make using this? Calibrate your explanation for a [BEGINNER / INTERMEDIATE / SENIOR] developer. ``` --- ## Tips - Great for understanding open-source code, stack overflow snippets, or legacy codebases - Follow up: "Now show me how I would modify it to also handle [NEW REQUIREMENT]"
What are Prompts?
AI Prompts are ready-to-use, copy-paste instructions that help you get better results from Claude. Each prompt is crafted for a specific task so you can skip the trial-and-error and get straight to useful output.
How to use a prompt
Browse the library above, find a prompt that matches your task, and click Copy to grab it. Paste it into Claude and replace any placeholder values with your own context. You can also submit your own prompts.