Skip to content
New this week26 prompts for Sora, Veo and Runway video workflows.
Explore video prompts→
AIPrompt123Prompt library

Search AIPrompt123

Search prompts, categories, platforms and repositories

26 prompts · reviewed by editors

Coding & Developer prompts

Debugging, code review, test generation, refactors, architecture and documentation prompts for developers using Cursor, Copilot, Claude and ChatGPT.

Bug huntsTest suitesCode reviewAPI design

Coding assistants are at their best when you treat them like a fast, tireless colleague who has not seen your repository before. They need the relevant files, the exact error, the runtime version and a definition of done. They are at their worst when asked to 'fix the bug' with no context, because the model will confidently rewrite the wrong thing. The prompts in this category are engineering briefs: they constrain scope, require a plan, and demand verification before claiming success.

We write these prompts for real repositories, not toy snippets. That means specifying what must not change, asking for a diff rather than a full file when the change is small, and requiring tests that fail before the fix and pass after it. For architecture work, the prompt asks for trade-offs and a recommendation rather than a menu. For code review, it asks for findings grouped by severity with file and line references, so the output is actionable in a pull request.

The collection spans debugging, testing, refactoring, performance, security review, API design, SQL, documentation and interview practice. Most prompts include a verification step: run the test suite, reproduce the bug, or explain how to confirm the change in staging. If you paste proprietary code into a hosted model, check your employer's policy first. The local Llama prompts are there for work that cannot leave your machine.

All 26 coding & developer prompts

Filter in library →
Intermediate

Debug an error with a minimal reproduction

This copy-ready coding prompt helps you debug an error with a minimal reproduction with fewer blank-page decisions. Paste it into Cursor and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

CursorClaudeChatGPT
4.9(67)1.1k copies
Advanced

Review a pull request by severity

A coding prompt for review a pull request by severity. It gives Claude and Cursor a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ClaudeCursorGitHub Copilot
4.7(20)534 copies
Intermediate

Generate unit tests that fail before the fix

Generate unit tests that fail before the fix with a prompt built for Cursor and Claude. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

CursorClaudeGitHub Copilot
4.7(77)695 copies
Intermediate

Refactor for readability without changing behaviour

This copy-ready coding prompt helps you refactor for readability without changing behaviour with fewer blank-page decisions. Paste it into Cursor and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

CursorClaudeChatGPT
4.7(26)572 copies
Advanced

Explain an unfamiliar codebase

A coding prompt for explain an unfamiliar codebase. It gives Claude and Cursor a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ClaudeCursor
4.8(57)655 copies
Advanced

Design a REST API contract

Design a REST API contract with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeChatGPT
4.8(24)1.7k copies
Intermediate

Write a SQL query from a business question

This copy-ready coding prompt helps you write a SQL query from a business question with fewer blank-page decisions. Paste it into ChatGPT and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ChatGPTClaudeDeepSeek
4.8(36)1.1k copies
Advanced

Hunt a performance bottleneck

A coding prompt for hunt a performance bottleneck. It gives Cursor and Claude a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

CursorClaudeChatGPT
4.9(52)174 copies
Advanced

Add authentication to an existing app

Add authentication to an existing app with a prompt built for Cursor and Claude. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

CursorClaudeLovable
4.9(58)700 copies
Advanced

Write a migration with a rollback plan

This copy-ready coding prompt helps you write a migration with a rollback plan with fewer blank-page decisions. Paste it into Claude and ChatGPT, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ClaudeChatGPT
4.9(55)605 copies
Intermediate

Convert a design into accessible components

A coding prompt for convert a design into accessible components. It gives v0 and Cursor a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

v0CursorChatGPT
4.7(65)510 copies
Advanced

Write a technical design document

Write a technical design document with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeChatGPT
4.7(29)659 copies
Advanced

Fix a flaky test

This copy-ready coding prompt helps you fix a flaky test with fewer blank-page decisions. Paste it into Cursor and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

CursorClaude
4.8(54)1.0k copies
Intermediate

Set up a CI pipeline

A coding prompt for set up a CI pipeline. It gives ChatGPT and Claude a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ChatGPTClaude
4.7(83)929 copies
Advanced

Review code for security issues

Review code for security issues with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeChatGPT
4.9(61)239 copies
Beginner

Explain a regex

This copy-ready coding prompt helps you explain a regex with fewer blank-page decisions. Paste it into ChatGPT and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ChatGPTClaudeMicrosoft Copilot
4.9(16)732 copies
Intermediate

Create a TypeScript type from messy JSON

A coding prompt for create a TypeScript type from messy JSON. It gives ChatGPT and Cursor a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ChatGPTCursorClaude
4.7(68)862 copies
Beginner

Write documentation for a public function

Write documentation for a public function with a prompt built for ChatGPT and Claude. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ChatGPTClaudeGitHub Copilot
4.9(61)435 copies
Advanced

Plan a zero-downtime deployment

This copy-ready coding prompt helps you plan a zero-downtime deployment with fewer blank-page decisions. Paste it into Claude and ChatGPT, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ClaudeChatGPT
4.7(20)654 copies
Intermediate

Write an incident postmortem

A coding prompt for write an incident postmortem. It gives Claude and ChatGPT a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ClaudeChatGPT
4.9(19)781 copies
Advanced

Optimise an N+1 query

Optimise an N+1 query with a prompt built for Claude and Cursor. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeCursorChatGPT
4.9(76)1.7k copies
Intermediate

Write a coding interview practice plan

This copy-ready coding prompt helps you write a coding interview practice plan with fewer blank-page decisions. Paste it into ChatGPT and Claude, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ChatGPTClaude
4.8(84)1.1k copies
Intermediate

Convert a class component to hooks

A coding prompt for convert a class component to hooks. It gives Cursor and ChatGPT a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

CursorChatGPT
4.7(35)157 copies
Advanced

Design a rate limiter

Design a rate limiter with a prompt built for Claude and ChatGPT. It supplies context, constraints and an output contract, then asks the model to surface assumptions and gaps. Copy it, fill the variables and treat the result as a structured draft, not a final answer.

ClaudeChatGPTDeepSeek
4.8(66)368 copies
Beginner

Write a seed script for a database

This copy-ready coding prompt helps you write a seed script for a database with fewer blank-page decisions. Paste it into ChatGPT and Cursor, fill the variables, and you get a structured first draft you can edit. It is written for repeatable results and tells you what to check before publishing.

ChatGPTCursor
4.8(48)1.1k copies
Advanced

Review an architecture diagram in text

A coding prompt for review an architecture diagram in text. It gives Claude and ChatGPT a clear role, explicit constraints and a defined output, so the first answer is closer to usable. Fill in the variables, run it once, then use the verification notes on this page to review the result.

ClaudeChatGPT
4.8(48)1.1k copies
Verified Knowledge · FAQ

Coding & Developer prompt FAQ

What this collection covers, which models it supports and how to get a usable draft on the first try.