Skip to main content
The prompt library

A better starting point
for your next idea.

Useful prompts. Clear examples. Inputs you can make your own. Find your next prompt, copy it, and start creating.

One-click copyingPersonalized inputsText & image examples
Find the right prompt

134 prompts to explore Β· Choose a format below

Explore by collection

Coding Helpers

4 results

Review a small AI-assisted app before I share it.
App purpose: {{purpose}}
Main user flows: {{flows}}
Stack and repository notes: {{stack}}
Known issues: {{known issues}}
Make a prioritized manual test plan covering empty states, invalid inputs, failed requests, keyboard access, narrow screens and saved-data persistence. For each test, state setup, action, expected result and severity if broken. Separate confirmed defects from untested risks. Do not claim to have inspected code or executed tests unless you actually did. Finish with a short release checklist and the smallest fixes for any confirmed blockers.
Text & code
ChatGPTCoding & Development

QA a Vibe-Coded App Before Sharing It

Plan manual QA for an AI-built app for makers in ChatGPT: prioritized tests for empty states, bad input, failed requests and narrow screens.

vibe codingqa checklistapp testing
Act as a Senior Data Engineer and Database Administrator. I need you to generate an optimized SQL query based on my natural language request.
Context:
Dialect: {{dialect}}
My Request: {{question}}
Database Schema:
SQL


{{schema}}


Your Task:
Please provide the solution in 3 distinct sections.
Section 1: The Optimized Query
Write the SQL query to answer my request.
Use modern SQL best practices (CTEs over subqueries where appropriate).
Use proper indentation and capitalization (e.g., SELECT, WHERE).
Handle potential edge cases (e.g., NULL values or division by zero).
Section 2: The Logic Breakdown
Briefly explain how the query works in plain English.
Explain the logic behind any Joins, Grouping, or Window Functions used.
Section 3: Performance Check
Recommend one specific Index that would make this query run faster, explaining which columns should be indexed and why.
Output everything in clean Markdown.

Preserve provided facts. Identify missing evidence and assumptions. Do not promise rankings, replies, hiring, perfect fidelity or measured performance without supporting tests.
Text & code
ClaudeCoding & Development

Claude SQL Query Prompt with a Fictional Schema and Expected Rows

Draft a SQL query for analysts and developers in Claude: built from the schema you give, plus a check of the result on a small test fixture.

sqlquery
Act as a Senior Principal Software Engineer and Architect. I am submitting a code snippet in {{language}} that needs refactoring.
My Goal: {{goal}}
The Code:


{{code}}


Your Task:
Please analyze and refactor this code in 3 distinct sections.
Section 1: The Code Review (Constructive Review)
Briefly list 3-5 critical issues in the original code regarding:
Performance: (Time/Space complexity)
Readability: (Naming conventions, structure)
Security/Best Practices: (Potential vulnerabilities or anti-patterns)
Section 2: The Refactored Solution
Rewrite the code completely.
Apply modern syntax and patterns (e.g., functional programming, strict typing).
Add robust error handling.
Include JSDoc/Docstring comments explaining complex logic.
Constraint: Supply a reviewable candidate patch and tests; do not claim production readiness without execution.
Section 3: The "Why" (Education)
Explain the specific changes you made and why they are better. Use a "Before vs. After" comparison logic to help me learn.
Output everything in clean Markdown.

Preserve provided facts. Identify missing evidence and assumptions. Do not promise rankings, replies, hiring, perfect fidelity or measured performance without supporting tests.
Text & code
ClaudeCoding & Development

Claude Prompt for Code Refactoring with Behavior Checks

Refactor a code snippet for developers in Claude: a short review, a stated behavior contract and boundary checks to confirm nothing changed.

codingaicoding
Turn a feature request into an implementation contract for a coding assistant.
Feature request: {{feature}}
Repository context: {{repository context}}
Constraints: {{constraints}}
Expected user behavior: {{acceptance behavior}}
Produce: objective, in-scope changes, files to inspect, unresolved questions, acceptance checks, validation commands and a rollback approach. Define observable before-and-after behavior. Do not invent file names, dependencies, credentials or test commands absent from the supplied context; mark them as inspect-first. Require the agent to preserve unrelated changes, avoid printing secrets and report actual checks performed. Ask only questions that block meaningful progress.
Text & code
ChatGPTCoding & Development

Write a Clear Task Contract for an AI Coding Agent

Turn a feature request into a task contract for developers in ChatGPT: scope, files to inspect, acceptance checks, validation commands and open questions.

agentic codingacceptance criteriaimplementation brief

From an idea to a useful result

A good prompt is a starting point. Make the context yours.

Personalize, then copy

Open a prompt to fill in the inputs and see the example output. Copy your version and paste it into a compatible platform.

Refine your result

Use the guidance and model notes when available. Review the result and adjust the prompt for your project.

Share a useful prompt

Prompt series: reach a real goal, episode by episode

Follow one prompt at a time and finish something real. Change the keywords to fit your own situation.

Browse prompts by tool and job

Short collections grouped by the AI tool you use or the job you want done.

We use optional cookies for analytics and referral tracking. Learn more about our privacy policy