Skip to content AI News: Nano Banana 2.1 is out: better edits and text, half the API price per image →
Drawer B · by task · 44 on this page

Best AI Prompts for Coding

Prompts for programmers: code review, debugging, terminal and interpreter emulation, SQL, regex and security. Paste one and start the session with your own code.

Start here

Editor's picks · 2 in this list

All 40 editor's picks across the library →

Prompts

dashed = you fill it in
PH-1011Coding

Build Mode App Brief

A structured brief for Grok's Build mode: describe a small site, tool or game, and Grok builds it with clear screens, data, rules and a test plan.

You fill in what it iswho uses itthe main job+1 more

Grok
PH-0992Coding

Long Run Task Brief

Hand Claude Code a whole task with a clear finish line and one condition to stop and ask.

You fill in the whole job in one sentencefor example, every endpoint…one condition

Claude Code
PH-0999Coding

Setup Doc Safety Check

Before a coding agent follows someone else's setup document, have a model read it and every script it pulls.

You fill in paste the link or the documentWindows 11 / Ubuntu / macOS

Claude Code
PH-1005Coding

Website Brief With a Ban List

Get a page that does not look AI-made: name the design habits to leave out, get each choice explained, and grow the ban list round by round.

You fill in landing page for a…practice owners, busy…paste your copy

Claude
PH-0689Coding

Apps Script Automator

Turn any repetitive Sheets, Gmail or Drive chore into working, commented Google Apps Script with setup and trigger steps.

You fill in PipelineOwnerStage

Gemini
PH-0708Coding

Bug Reproduction Test

Writes a failing test first, explains the real cause, then makes the smallest fix and runs the whole suite.

You fill in describe the bug, how to…

Claude Code
PH-0719Coding

CI Failure Fixer

Reproduces a failing build locally, names the real cause and fixes it without skipping or deleting a single test.

You fill in paste the failing log herebranch name

Claude Code
PH-0725Coding

CLAUDE.md Writer

Reads your repository and writes its CLAUDE.md: verified commands, the layout and the conventions the code follows.

You fill in how it is deployedthe command I actually run…what an agent should know

Claude Code
PH-0727Coding

CLI Command Builder

Adds a command to your CLI in the existing pattern, with flags, help text, error handling and tests that run.

You fill in what it doesthe exact command line

Claude Code
PH-0729Coding

Codebase Tour Guide

Tours an unfamiliar repository: what it does, how to run it, one request traced end to end, and what to read first.

You fill in what you have been asked to do

Claude Code
PH-0756Coding

Dependency Migration Plan

Surveys every use of a package, lists the breaking changes that touch you and upgrades it one commit at a time.

You fill in packagecurrent versiontarget version

Claude Code
PH-0861Coding

Performance Profiler

Measures before it optimises: a baseline, a profile, one fix, and the before and after numbers side by side.

You fill in what is slowtarget

Claude Code
PH-0882Coding

Pull Request Reviewer

Reviews a branch or pull request for defects, risks and missing tests, with a verdict and no invented findings.

You fill in branch name, pull request…

Claude Code
PH-0894Coding

Repo Feature Planner

Explores your repository and returns a commit sized plan, the risks and a definition of done before it writes code.

You fill in describe the feature you want…

Claude Code
PH-0908Coding

Safe Refactor Pass

Refactors behind passing tests, writing characterisation tests first and stopping the moment one of them fails.

You fill in file or modulethe reason

Claude Code
PH-0916Coding

Security Review Pass

Traces untrusted input through a diff and reports real security findings with the attack path, impact and fix.

You fill in branch, pull request number…

Claude Code
PH-0433Coding

Solr Search Engine

Acts as a Solr Search Engine running and is able to add inline JSON documents in arbitrary fields and the data types could be of integer…

Ready to paste

ChatGPT · Claude · Gemini
PH-0503Coding

Ethical hacking simulator

Acts as an ethichal hacking training suite.

You fill in goal

ChatGPT · Claude · Gemini
PH-0528Coding

Bank Account

Acts as a cybersecurity expert and designs and develop a secure bank application that ensures the confidentiality, integrity…

Ready to paste

ChatGPT · Claude · Gemini
PH-0386Coding

Commit Message Generator

Acts as a commit message generator: you give information about the task and the prefix for the task code…

Ready to paste

ChatGPT · Claude · Gemini
PH-0351Coding

Cyber Security Specialist

Acts as a cyber security specialist: you give some specific information about how data is stored and shared…

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0500Coding

IT Expert

Acts as IT Expert: you give all the information needed about your technical problems, it solves your problem.

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0593Coding

Website Generator

Acts as an experienced website developer and creates a design plan for a new website, considering both the functional and aesthetic aspects.

You fill in CHALLENGE HERE

ChatGPT · Claude · Gemini
PH-0631Coding

Coding Teacher

Acts as a coding teacher and provides clear explanations, examples, and support to answer any questions users may have related…

Ready to paste

ChatGPT · Claude · Gemini
PH-0637Coding

Red Team Consultant

Acts as an experienced.

Ready to paste

ChatGPT · Claude · Gemini
PH-0354Coding

JavaScript Console

Acts as a javascript console: you type commands, it replies with what the javascript console should show.

Ready to paste

ChatGPT · Claude · Gemini
PH-0430Coding

PHP Interpreter

Acts as a php interpreter: you write the code, it responds with the output of the php interpreter.

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0460Coding

Linux Terminal

Acts as a linux terminal: you type commands, it replies with what the terminal should show.

Ready to paste

ChatGPT · Claude · Gemini
PH-0484Coding

Password Generator

Acts as a password generator and generates a complex password using these input forms and provide it to you.

Ready to paste

ChatGPT · Claude · Gemini
PH-0536Coding

App Developer

Acts as an Application Developer and is responsible for building a bank file generator app that automates the process of generating…

Ready to paste

ChatGPT · Claude · Gemini
PH-0636Coding

Terminal Command Assistant

The environment you are working in is {env} {shell} You are a " + self.curEnv + " terminal assistant.

Ready to paste

ChatGPT · Claude · Gemini
PH-0365Coding

Python interpreter

Acts as a Python interpreter: you give Python code, it executes it.

Ready to paste

ChatGPT · Claude · Gemini
PH-0412Coding

IT Architect

Acts as IT Architect: you give some details about the functionality of an application or other……

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0428Coding

Senior Frontend Developer

Acts as a Senior Frontend developer: you describe a project details, it codes project with this tools: Create React App, yarn, Ant Design, List…

Ready to paste

ChatGPT · Claude · Gemini
PH-0398Coding

StackOverflow Post

Acts as a stackoverflow post: you ask programming-related questions, it replies with what the answer should be.

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0369Coding

Fullstack Software Developer

Acts as a software developer: you give some specific information about a web app requirements…

Ready to paste

ChatGPT · Claude · Gemini
PH-0371Coding

SQL terminal

Acts as SQL terminal: you type queries, it replies with what the terminal would show.

Ready to paste

ChatGPT · Claude · Gemini
PH-0395Coding

R programming Interpreter

Acts as a R interpreter: you type commands, it replies with what the terminal should show.

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0397Coding

Regex Generator

Acts as a regex generator and generates regular expressions that match specific patterns in text.

Ready to paste

ChatGPT · Claude · Gemini
PH-0420Coding

Developer Relations consultant

Acts as a Developer Relations consultant.

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0377Coding

Machine Learning Engineer

Acts as a machine learning engineer: you write some machine learning concepts, it explains them in easy-to-understand terms.

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
PH-0413Coding

Software Quality Assurance Tester

Acts as a software quality assurance tester and tests the functionality and performance of the software to ensure it meets the required standards.

Ready to paste

ChatGPT · Claude · Gemini
PH-0489Coding

Python Interpreter

Acts as a Python interpreter.

Ready to paste · swap in your own request

ChatGPT · Claude · Gemini
Weekly

New prompts in your inbox

One email a week: the best new prompts and one short guide. Unsubscribe any time. Privacy policy