Prompts for Programming
Ready-made queries for writing code, debugging, refactoring, and SQL queries. For ChatGPT, Claude, and GitHub Copilot
AI model
Regex Pattern Creator
Creates regular expressions with detailed part-by-part explanations
Output: Complete regex pattern with test cases. Context: {{LANGUAGE}} regex, use...
SQL Query Builder
Builds SQL queries from natural language descriptions
Output: Complete, optimized SQL query with explanation. Context: {{DATABASE_TYPE...
Unit Test Generator
Creates comprehensive unit tests with edge case coverage
Write unit tests for the following code. Language: {language} Test framework: {...
Debug and Fix Error
Debugs errors and provides fixes with root cause analysis
Help me find and fix a bug in my code. Language: {language} Framework: {framewo...
Code Generator from Spec
Generates production-ready code from a technical specification
Output: Complete, working, production-ready code file with detailed inline comme...
Database Schema Designer
Designs database schemas with tables, relations, and indexes
Output: Complete database schema design with DDL. Context: {{DATABASE_TYPE}}, sc...
React Component from Description
Builds a React component based on a text description
Create a React component based on a description. Description: {description} Sty...
Code Language Converter
Converts code from one programming language to another while preserving logic
Convert the following code from {source_language} to {target_language}. Code: `...
Code Explainer for Beginners
Explains code in simple terms for beginners with step-by-step breakdown
Explain the following code in simple terms, as if I just started learning progra...
Regex Generator
Creates regex patterns with explanations and match examples
Create a regular expression for the following task: Task: {description} Requir...
Debug Error Helper
Helps diagnose and fix errors with step-by-step debugging guidance
Output: Bug fix with detailed explanation. Context: {{LANGUAGE}} code, error: {{...
Unit Test Writer
Writes unit tests with comprehensive test scenarios
Output: Comprehensive unit test suite with high coverage. Context: {{LANGUAGE}} ...
Git Commit Message Generator
Generates clear and descriptive git commit messages
Output: Complete Conventional Commit message. Context: {{COMMIT_TYPE}} commit fo...
Python Automation Script Generator
Generates Python scripts for task automation
Output: Complete, production-ready Python script. Context: {{AUTOMATION_TASK}} u...
Senior Code Review
Provides senior-level code review with architectural feedback
Conduct a code review as a senior developer. Code: ```{language} {code} ``` An...
REST API Endpoint Generator
Generates REST API endpoint code with proper structure and validation
Output: Complete REST API endpoint with documentation. Context: {{FRAMEWORK}} in...
Code Review Assistant
Reviews code for bugs, performance issues, and best practices
Output: Detailed code review report with specific recommendations. Context: {{LA...
Legacy Code Refactoring
Refactors legacy code to modern patterns while preserving functionality
Output: Refactored code with detailed migration guide. Context: {{LANGUAGE}} leg...
Programming Language Converter
Converts code between programming languages using idiomatic patterns
Output: Converted code with detailed explanations. Context: Convert from {{SOURC...
Docker Compose Generator
Creates Docker Compose configurations for multi-service setups
Create a docker-compose.yml for the project. Project: {project_description} Ser...
Developer Prompts — From Code Generation to Review
AI programming prompts cover the entire development cycle: code generation from task descriptions, refactoring and optimization, bug finding and fixing, test writing, code review, and documentation. Each prompt is adapted to a specific language and task.
Prompts in this section work with ChatGPT, Claude, and GitHub Copilot. Specify the programming language, framework, and coding standards — the AI will produce code you can use with minimal modifications.
Currently 20 prompts in this category — choose an AI model via the filter to find the right one.