ChatGPT prompts

285 prompts

Prompts written for ChatGPT, OpenAI's chat assistant. They cover writing, analysis, planning, coding and image generation, and each one spells out the role, the steps and the shape of the answer. Copy one as it is, or fill in its blanks first.

9 results

  • Unit Test Plan and Test Code for an Existing Function

    Builds a behavior-based test matrix for a function or module and then generates test code in your framework. Covers edge cases, failures, and mocking boundaries, with coverage gaps stated honestly.

  • Pull Request Review with Merge Recommendation

    Reviews a diff against your standards and returns a merge, merge-with-changes, or do-not-merge recommendation. Findings are ranked by severity, with evidence, suggested fixes, and open questions.

  • Edge-Case Test Suite for One Function in Your Existing Test Framework

    Writes tests for a single function that cover normal inputs, boundaries, bad input and error paths, in the test framework your project already uses.

  • Explain a Codebase Folder to a New Developer on Their First Day

    Produces an onboarding guide for one folder of a codebase: what it does, how data moves through it, the files to read first and the traps a new developer should avoid.

  • Plain-English Question to a Correct SQL Query for Your Schema

    Writes a SQL query from a plain-English question using your real table definitions, explains each part, checks it for common mistakes and suggests indexes if it will be slow.

  • Regex Builder With Match and No-Match Test Cases

    Builds a regular expression from a plain-English description and example strings, explains each part, and proves it against strings that should and should not match.

  • SQL Query from Schema and Question

    Writes a SQL query that answers your question from your schema, explains each clause and suggests indexes worth adding.

  • Failing Test First Bug Fix

    Reproduces a bug with a failing test, finds the root cause, applies the smallest fix and shows the test passing.

  • Codebase Tour for a Specific Task

    Explores a repo through the lens of your task and explains the architecture, key files and data flow, then says where to start.

About ChatGPT prompts

Do these prompts work on every ChatGPT plan?

Text prompts only need a chat, so they run on any plan. Prompts that rely on file uploads, web search or image generation need those features to be available on your account.

Where do I paste a prompt in ChatGPT?

Start a new chat and paste it into the message box. For a prompt you reuse, put it in a project's instructions or a custom GPT so every chat starts from it.

Can I use a ChatGPT prompt in another assistant?

Usually, yes. The prompts are plain text with no ChatGPT-only syntax, so Claude and Gemini follow them too. Each prompt page lists the tools it was written for.