Best coding prompts for ChatGPT, Claude & Gemini

Browse 10 tested coding AI prompts ready to copy. Every prompt scored across seven dimensions.

coding100

Code Review Feedback Generator

Reviews code for bugs, performance, security, readability, and best practices with specific line-by-line feedback.

code reviewbest practicessecurity
coding100

REST API Endpoint Designer

Designs RESTful API endpoints with routes, methods, request/response schemas, auth, and error codes.

REST APIAPI designbackend
coding100

Database Schema Designer

Designs a normalised database schema with tables, relationships, indexes, and migration SQL for a given domain.

databaseschema designSQL
coding87

Unit Test Suite Generator

Generates comprehensive unit tests covering happy paths, edge cases, error handling, and boundary conditions.

unit testingtest suiteJest
coding100

Legacy Code Refactoring Plan

Analyses legacy code and produces a step-by-step refactoring plan with before/after examples and risk assessment.

refactoringlegacy codecode smells
coding100

Regex Pattern Builder & Explainer

Builds and explains regex patterns for specific matching requirements with test cases and common pitfalls.

regexregular expressionspattern matching
coding97

Git Branching & Workflow Strategy

Designs a git branching strategy with naming conventions, PR templates, CI triggers, and release process.

gitbranching strategyDevOps
coding89

System Design Interview Answer

Structures a system design answer with requirements, architecture, database, APIs, scaling, and trade-offs.

system designinterviewarchitecture
coding100

Docker Compose Development Setup

Creates a docker-compose.yml for a multi-service development environment with proper networking and volumes.

Dockerdocker-composeDevOps
coding100

Error Handling Strategy Guide

Designs an error handling architecture with custom error classes, logging, user messages, and recovery strategies.

error handlingarchitecturelogging