631 AI Prompts for Coding

The best Coding prompts across 14 subcategories. Tested on ChatGPT, Claude, Gemini and every major model.

Browse the prompts

## Role

You are a software architect specializing in Domain-Driven Design with deep experience restructuring monolithic codebases into maintainable, domain-centric architectures.

## Task

Analyze the provided codebase and produce a comprehensive modular architecture plan using DDD principles: bounded contexts, aggregate roots, minimal coupling, and clear domain boundaries.

## Context

{{codebase-description}}

The architecture suffers from technical debt, interdependent deployments, and testing bottlenecks. Business domains are obscured by layer-based organization, and technical boundaries don't align with business logic.

## Analysis Required

- Evaluate current project organization and identify hidden business domains within the technical structure
- Map cross-cutting concerns, tight coupling patterns, and misaligned technical boundaries
- Identify core business domains and their na

Analyze Design Architecture With Domain-Driven Design

Generates a comprehensive modular architecture plan that restructures monolithic codebases into domain-centric systems using DDD principles. Runs on ChatGPT, Claude, Gemini, and Grok to map bounded contexts, aggregate roots, and migration strategies.

66
## Role

You are a full-stack architect specializing in enterprise project management systems. You combine React/TypeScript expertise with UI/UX principles from products like Linear, Asana, and Airbnb to build scalable, performant systems with intuitive interfaces.

## Task

Design and architect a production-ready enterprise project management dashboard in React/TypeScript. Include:

- Multi-view system (Kanban, Timeline, Table) with real-time interactions
- Tech stack: React Server Components, TypeScript, Tailwind CSS, Framer Motion, shadcn/ui
- Performance optimized for 1000+ tasks (virtual scrolling, efficient state management)
- Drag-and-drop, command palette, inline editing, team collaboration
- Analytics dashboard with project health indicators and resource allocation
- Industry-agnostic design with adaptive custom fields
- Accessibility, dark mode, responsive design

Provide detai

Build Project Management Dashboards

Generates a complete React/TypeScript architecture for an enterprise project management dashboard with Kanban, Timeline, and Table views. Runs on ChatGPT, Claude, and Cursor to produce production-ready code, component structures, and performance patterns.

66

Automated XML Sitemap Generator Script for Python

Generates a complete Python script that detects page changes, builds a standards-compliant XML sitemap, and deploys it to your website root. Runs on ChatGPT, Claude, and other text models.

66

Fix Problematic Code Refactoring Prompt

Analyzes code for smells and applies Martin Fowler refactoring patterns through incremental, behavior-preserving transformations. Runs on ChatGPT, Claude, and Cursor to produce step-by-step refactoring roadmaps and clean code.

66

Dual-Sided Marketplace Platform Builder Prompt

Generates a complete technical implementation guide for building a production-ready dual-sided marketplace with vendor dashboards, buyer flows, and payment processing. Runs on ChatGPT, Claude, and other code-capable text models.

66
## Role
You are an expert full-stack product engineer building production-ready survey platform applications.

## Task
Create a complete, fully-functional React survey builder web application combining Google Forms simplicity with enterprise features: conditional logic, drag-and-drop question management, multiple question types, real-time preview, and separate builder/response interfaces. Deliver as a single artifact with no placeholders or TODOs.

## Context
**Application Requirements:**
{{application-requirements}}

**Technical Stack & Design Preferences:**
{{tech-stack}}

## Output
Deliver a complete React codebase with working implementations across all sections below, clearly commented:

**Data Architecture**
- Complete TypeScript interfaces and data models for surveys, questions, responses, and conditional logic rules

**State Management**
- Zustand store with auto-save and persist

Survey Builder Application Development Prompt

Generates a complete React survey builder web application with conditional logic, drag-and-drop question management, and separate builder/response interfaces. Runs on ChatGPT, Claude, or Cursor to produce production-ready code.

65
## Role

You are an expert full-stack engineer and real-time communication architect specializing in secure messaging platforms.

## Task

Develop a complete, production-ready private messaging application that combines end-to-end encryption with polished UX and organizational clarity. The platform should feel intimate and secure—like a digital living room rather than a corporate tool.

## Context

{{technical-context}}

Include your current programming and system architecture experience, preferred technology stack (frontend/backend), target user groups, specific security/compliance requirements, and deployment preferences (hosting environment, expected scale).

## Output

Provide a comprehensive implementation guide structured in these phases:

ā— **Architecture Foundation and Database Schema Setup** – System design decisions, entity relationships, data models
ā— **Authentication and Secu

Private Messaging Platform Development Prompt

Generates a complete implementation guide for building a production-ready private messaging application with end-to-end encryption, real-time communication, and polished UX. Runs on ChatGPT, Claude, Gemini, and Grok.

65

Weekly LMS Data Pipeline Automation Prompt

Generates a complete implementation guide for building automated weekly LMS data pipelines that extract, transform, validate, and store educational data without manual intervention. Designed for ChatGPT, Claude, and Gemini.

65

Jupyter Notebook Template Generator

Generates structured, reproducible Jupyter notebook templates tailored to your research context, balancing scientific rigor with readability. Runs on ChatGPT, Claude, and Cursor to produce markdown-formatted templates with setup, data, analysis, and conclusions sections.

64
# Cinematic Video Prompt Generator

You are a professional cinematographer and video prompt engineer specializing in crafting detailed, production-quality prompts for AI video generation tools. Your goal is to translate creative vision into precise technical specifications that yield film-grade results.

## User's Vision

{{scene-description}}

## Technical Requirements

**Visual Style:**
- Cinematic photography with volumetric lighting (god rays, atmospheric haze)
- Contrasting warm-cool color palette (orange/teal or golden/blue tones)
- Film grain texture at 10-15% opacity for analog authenticity
- High dynamic range with deep shadows and controlled highlights

**Camera Movement:**
- Smooth dolly push-in (forward tracking shot)
- Speed: slow and deliberate (approximately 0.3-0.5 m/s)
- Gimbal-stabilized, no shake or judder
- Maintain consistent framing throughout

**Focus & Depth:**
- 

Video Cinematogrfico IA Agente Celestial Designs

Generate a professional-grade cinematic video prompt for AI video generation tools with detailed technical specifications.

64
## Role

You are an expert product engineer specializing in intelligent productivity systems.

## Task

Build a complete, production-ready Task Priority Ranker application as a single-file React TypeScript artifact.

## Requirements

**Core Functionality**
- Task input with name, deadline, impact (1-10 slider), effort (1-10 slider), and dependency tags
- Intelligent scoring engine using: `(Impact Ɨ Urgency Weight) - (Effort Ɨ 0.3) + Dependency Bonus`
- Urgency weights: Due today = 10Ɨ, This week = 5Ɨ, This month = 2Ɨ, Later = 1Ɨ
- Auto-sorted display with color-coded priorities (red/orange/yellow/green) and smooth reorder animations
- Visual groupings: "Do Now" (top 3), "Do Today" (next 5), "Schedule Later" (rest)
- Customization panel with adjustable weight sliders and preset modes ("Deadline Driven", "Impact Focused", "Quick Wins")

**User Experience Features**
- {{ux-features}}
- One-

Task Priority Ranker Builder

Generates a complete, single-file React TypeScript task priority ranker application with weighted scoring algorithms, customizable prioritization modes, and smooth animations. Runs on ChatGPT, Claude, and Cursor to produce production-ready code.

64

Code Style Report Generator for Teams

Generates educational code style analysis reports that identify violations against community standards and explain the practical reasoning behind each rule. Runs on ChatGPT, Claude, Gemini, and Grok.

64

Test Calibration for Code Changes

Generate a testing methodology for experienced software engineers working on code changes in a repository.

64

Data Flow Tracing Prompt for Code Analysis

Generates a step-by-step map of how data moves and transforms through code, from entry points to final outputs. Runs on ChatGPT, Claude, Gemini, and Grok.

63
## Role

You are an expert software architecture documentarian who helps developers understand how individual files fit within their codebase using C4 model principles (System Context, Container, Component, Code levels).

## Task

Guide the developer through understanding a file's architectural purpose, relationships, and modification guidelines in progressive phases. Analyze the file's role at different abstraction levels, identify patterns, map dependencies, and provide actionable documentation.

Adapt the depth and number of phases (3-8) based on file complexity:
- Simple utility files: 3-4 phases
- Core business logic: 5-6 phases
- Complex architectural components: 7-8 phases

## Context

The developer will provide:

{{file-details}}

*Include the file path or content, project type (web app, API, library, etc.), and what prompted your interest in this file.*

## Output

Deliver a mul

Software Architecture Analysis Prompt

Generates structured documentation that explains how individual code files fit within a software system using C4 model principles. Runs on ChatGPT, Claude, Gemini, and Grok to produce architectural analysis across System Context, Container, Component, and Code levels.

63
## Role

You are an expert full-stack developer specializing in React, TypeScript, and QR code technology.

## Task

Create a complete, production-ready QR Code Creator as a single React component with TypeScript. Build a professional-grade tool with advanced customization, premium UI/UX, and export capabilities that rival commercial SaaS products.

## Context

This application must surpass basic online QR generators that are cluttered with ads and limited in functionality. Target users—marketing teams, event organizers, and businesses—need pixel-perfect, scannable codes with meaningful customization for professional materials and print production.

{{requirements}}

## Output

Deliver a single React component artifact with TypeScript that includes:

### Architecture
- Three-panel layout: input / preview / actions
- Real-time state management for live updates
- Offline-capable (no extern

QR Code Generator App Builder Prompt

Builds a production-ready QR code generator as a single React + TypeScript component with real-time preview, multi-format export, and camera-based scan testing. Runs on ChatGPT, Claude, and Cursor.

63

Database Naming Convention Standardization Prompt

Generates an ISO 11179-compliant database naming standardization plan with rename scripts, rollback procedures, and dependency mapping. Runs on ChatGPT, Claude, and other code-capable models.

63

Interview Prep App Builder Prompt for React

Generates a complete, production-ready React single-page application that adapts interview questions by role, seniority, and industry. Outputs full-stack code for ChatGPT, Claude, or Cursor with components, state management, and responsive styling.

63
## Role

You are a database migration architect specializing in zero-downtime transformations for production systems where data integrity failures carry regulatory and business consequences. You apply database refactoring principles with precision: every schema change must be incremental, reversible, and validated. Your approach prioritizes correctness over speed.

## Task

Create a phased migration plan that transforms {{source-schema}} into {{target-schema}} while maintaining 100% uptime and data integrity throughout. The plan must accommodate {{business-constraints}} and execute within safe operational windows.

## Context

The database supports 24/7 operations with multiple dependent applications, some with undocumented dependencies. Previous migration attempts resulted in rollbacks. The transformation must proceed without disrupting global operations or risking data loss.

## Migrat

Database Migration Step List Generator

Generates a phased, zero-downtime database migration plan with DDL/DML scripts, validation queries, and rollback procedures for production systems. Runs on ChatGPT, Claude, and Cursor to output executable SQL code and risk analysis.

62
## Role
You are an expert full-stack developer building production-ready React applications.

## Task
Create a complete, single-file React universal unit converter application with comprehensive category coverage, real-time conversion, and professional UX.

## Context
Implement using {{tech-stack}}. Design for {{target-users}}.

## Requirements

**Conversion Categories**  
Implement full bidirectional conversion for: Length, Weight, Temperature, Volume, Area, Speed, Time, Digital Storage, Pressure, and Energy. Include comprehensive unit coverage with mathematical precision.

**Core Features**
- Real-time conversion as users type
- Keyboard shortcuts (Tab to switch fields, Cmd/Ctrl+C enhancements)
- Conversion history tracking
- One-click copy functionality
- Smooth animations and transitions
- Input validation and error handling
- Responsive design across all devices

## Output

Deliver 

Build Unit Converters

Generates a production-ready React universal unit converter application with real-time bidirectional conversion across 10 measurement categories, keyboard shortcuts, and conversion history tracking. Runs on ChatGPT, Claude, and Cursor.

62

Chat Widget Development Prompt

Generates production-ready chat widget code with real-time messaging, typing indicators, and conversational UI patterns. Runs on ChatGPT, Claude, and Cursor.

62

Code Refactoring Prompt for ChatGPT and Claude

Generates structured refactorings that improve code readability and maintainability while preserving exact behavior, using Martin Fowler's proven techniques. Runs on ChatGPT, Claude, and Cursor.

62

Develop Color Palettes for UI Design

Generates a WCAG-compliant color system with primary, secondary, and accent colors including hex codes, contrast ratios, and usage guidelines. Runs on ChatGPT, Claude, Gemini, and Grok.

62
## Role

You are an expert dependency management specialist with deep package ecosystem knowledge. Your task is to analyze project dependency files, identify version conflicts, and propose safe resolution strategies that maintain project stability.

## Task

Methodically resolve dependency conflicts through:

1. **Intake**: Ask the user to paste their complete dependency file (package.json, requirements.txt, Gemfile, pom.xml, or equivalent lock files).
2. **Analysis**: Parse version constraints and identify direct conflicts, transitive dependency issues, and compatibility problems.
3. **Cross-reference**: Check versions against known compatibility matrices and security advisories.
4. **Resolution**: Propose specific version adjustments that resolve conflicts while maintaining backward compatibility.
5. **Safety**: Provide rollback strategies and testing recommendations for each proposed 

Dependency Conflict Resolution Prompt for Developers

Generates a structured analysis of package version conflicts and proposes safe resolution strategies with rollback plans. Runs on ChatGPT, Claude, Gemini, and Grok.

62

What are AI prompts for Coding?

AI prompts for Coding are engineered instructions that already work. These are not one-line questions. Each one fixes the role, the context, the task and the output format before you type a word, so you get a usable result on the first run instead of the fourth.

They cover the work Coding actually get asked for: research and briefs, copy and content, analysis and reporting, planning, outreach and the admin that eats the day. Open a card to see the full prompt and the output it returns.

The deepest areas here: App Development (111 prompts), Frontend & UI (86 prompts), Agentic Workflows (56 prompts), Documentation (50 prompts), APIs & Integrations (43 prompts).

Popular on this page right now: "Analyze Design Architecture With Domain-Driven Design", "Build Project Management Dashboards", "Automated XML Sitemap Generator Script for Python".

631 on this page, every one scoped to Coding. Free to read, free to copy.

Why these prompts work for Coding

A weak prompt costs you the hour you were trying to save: you rewrite it three times, get something generic, then finish the job by hand. An engineered prompt front-loads that thinking once.

In Coding that means first drafts you can send, analysis you can act on, and the repetitive work handed off, so the time goes into judgement instead of typing.

Every prompt here was written for a real job and tested against the models people actually use. Nothing scraped from a thread.

How to use these prompts

Open a prompt, copy it, and replace the [bracketed] variables with your own product, audience or topic. The structure around them stays as is. That structure is the part doing the work.

Paste it into ChatGPT, Claude, Gemini, Grok or the model you already use. If the output drifts, tighten the context line instead of rewriting the whole prompt.

No account needed to copy one. No setup, no extension, nothing to install.

Which AI tool works best for Coding prompts?

Text prompts here run well in ChatGPT, Claude, Gemini and Grok; image prompts target Midjourney and Nano Banana. Each card lists the models it was tested with.

Are these AI prompts free to use?

A big part of the library is free: open a prompt, copy it, use it. Premium packs and the Complete AI Bundle unlock the full collection with lifetime updates.

How do I adapt these prompts to my use case?

Start with the [variables]: niche, audience, constraints. If the result still misses, add one example of the output you want. A single good example beats three extra instructions.

For a prompt built from scratch, the Start Now card above opens the custom prompt generator.

Related resources

Get smarter on AI every week

One email a week with the best new prompts, tools, and model updates. Unsubscribe anytime.

Join 100,000+ subscribers. One email a week, real prompts, tools, and model updates. Unsubscribe anytime.

Frequently asked questions

What are vibe code prompts?

Vibe coding means describing the result you want and letting the model write and run the code, in a tool like Cursor, Claude Code or Lovable. Vibe code prompts in this library describe the app in plain words, the stack, what done looks like and what the agent must not touch. The ones that work give the model a way to check its own output, such as a test to pass or a page to open.