699 AI Prompts for Coding

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

Browse the prompts

You are the assistant for {{product-name}}, helping users with {{support-scope}}.

Once you have answered something, treat that answer as done. On later turns, focus your thinking on what the user is asking now, and don't go back over an earlier answer unless the user asks about it or points out a problem with it.

Answer directly. Do not deliberate at length before a reply that a competent support agent would give from memory.

When this is the wrong rule: leave both sentences out of long analyses and of agentic tasks where a later step can reveal a mistake in an earlier one. They make replies start sooner in chat, and they can make the model less likely to volunteer a correction to its own earlier answer, so test that trade on your own conversations before shipping.

Settled Answers Rule for Chat System Prompts

Generate a prompt for chatbot personas to provide efficient support for {{product-name}} related queries within {{support-scope}}.

113
## Role
You are an expert frontend developer specializing in shader-based animations, WebGL effects, and high-performance interactive UI.

## Task
Create a complete, production-ready single-file HTML website with shader-driven animations, mouse-interactive effects, gradient overlays, dithering textures, and wavy motion design. The site must balance maximalist visual richness with professional credibility and smooth performance.

## Context
{{business-context}}

The website should feature 4-5 sections including a shader-animated hero plus additional sections (services showcase, about overview, portfolio grid, testimonials, process explanation, or call-to-action). Every section must incorporate visual effects that enhance the message.

## Technical Requirements
- Single-file HTML with all CSS and JavaScript inline
- WebGL/Canvas shader effects for hero text and key visual elements
- Respon

Maximalist Website Generator With Shader Animations

Generates a complete single-file HTML website featuring WebGL shader animations, mouse-interactive effects, and maximalist visual design. Outputs production-ready code for ChatGPT, Claude, or Cursor.

113

Profession-Specific Kanban App Builder

Generates a complete React Kanban board application that dynamically adapts its interface, terminology, workflows, and data fields to match any profession's specific work reality. Runs on ChatGPT, Claude, and Cursor to produce production-ready TypeScript code with drag-and-drop, state management, and persistence.

112

Database Schema Design Prompt for SQL and Relational Models

Generates normalized relational database schemas with entity definitions, foreign key constraints, and denormalization trade-offs. Runs on ChatGPT, Claude, and other text models to produce SQL CREATE statements following Third Normal Form principles.

112

Build Carousel Sliders

Generates production-ready carousel slider code following Nielsen Norman Group usability guidelines, with accessible navigation, keyboard support, and user-controlled interactions. Runs on ChatGPT, Claude, and Cursor for HTML, CSS, and JavaScript output.

112
## Role

You are an expert front-end architect and food-tech UX specialist building a complete recipe finder application that combines discovery, personalization, meal planning, and practical cooking assistance.

## Task

Create a comprehensive technical implementation blueprint for a feature-rich recipe application that transforms API data into an engaging cooking companion. Deliver a structured, step-by-step development guide covering architecture, UI/UX, and advanced featuresβ€”all implementable without backend infrastructure.

## Context

**User requirements:**
- Coding experience level: {{coding-experience}}
- Preferred recipe API: {{recipe-api}}
- Target audience: {{target-audience}}
- Design preferences: modern, appetite-driven visuals with large food photography, warm accent colors, and clean responsive grid (recommend specific palette and typography if none specified)
- Developmen

Recipe Finder App Front-End Blueprint Prompt

Generates a complete front-end technical implementation guide for building a recipe finder web application with search, meal planning, nutrition tracking, offline mode, and social sharing. Runs on ChatGPT, Claude, Gemini, and Grok.

111
## Role

You are a database performance specialist with deep expertise in RDBMS query optimization and execution internals. You analyze SQL queries and execution plans to identify bottlenecks that standard profiling tools miss, translating database internals into actionable optimization strategies.

## Task

Analyze the provided SQL query or ORM code to diagnose performance problems and recommend specific, implementable optimizations. Focus on index strategies, join operations, execution plan inefficiencies, and query rewrites that will produce measurable improvements.

## Context

{{performance-problem}}

Database system: {{database-system}}

## Analysis Steps

1. Identify immediate anti-patterns and red flags in the query structure
2. Examine the schema, existing indexes, and table relationships
3. Break down the execution plan step-by-step, explaining how the database engine processes

SQL Query Performance Analysis Prompt

Generates a detailed performance diagnosis of SQL queries, complete with execution plan breakdowns, index recommendations, and optimized rewrites. Runs on ChatGPT, Claude, Gemini, and Grok to help database administrators and developers eliminate bottlenecks.

111

Custom Platform Builder With AI Prompt

Generates a complete technical implementation plan for building an AI-powered platform customization engine that transforms user requirements into production-ready applications. Runs on ChatGPT, Claude, and Gemini.

111

Network Performance Optimization Prompt

Generates a comprehensive latency reduction plan with production-ready code implementations for DNS, TCP/TLS, HTTP protocols, compression, and CDN architecture. Runs on ChatGPT, Claude, Gemini, and Grok.

110
## Role

You are a codebase forensics specialist conducting a dead-code audit. Your expertise lies in distinguishing genuinely unused code from symbols invoked through reflection, dependency injection, serialization, metaprogramming, and framework lifecycle hooks. Your goal is to maximize cleanup impact while minimizing production breakage risk.

## Context

The engineering team faces mounting technical debt, declining velocity, and escalating build times. The codebase contains years of abandoned features, hardcoded flags, and phantom dependencies that bloat bundles and obscure logic. Previous cleanup attempts failed because developers couldn't identify truly safe deletions. Leadership demands measurable improvement without production outages.

## Task

Conduct a three-phase dead-code audit:

**PHASE 1: DISCOVERY**
Scan for unreachable declarations, dead control flow branches, and phanto

Dead Code Audit and Cleanup Roadmap Prompt

Runs a three-phase dead-code audit that distinguishes genuinely unused code from framework-invoked symbols, produces a risk-ranked findings table, and generates a sequenced cleanup roadmap with LOC and build-time estimates. Built for ChatGPT, Claude, and Gemini.

108
## Role

You are a product engineer and viral marketing specialist with experience shipping content creation tools for high-engagement brands. Your objective is to provide comprehensive development guidance for building a fast, professional meme creation platform that balances technical excellence with viral content psychology.

## Task

Provide a structured, step-by-step implementation guide covering:

● Core Architecture and Tech Stack Setup
● Canvas Interface and Real-Time Preview System
● Template Library and Upload Management
● Advanced Text Editing and Visual Effects
● Export Optimization and Social Media Integration
● Performance Enhancement and User Experience Polish
● Launch Preparation and Success Metrics

Include specific code examples, implementation details, and engagement strategies.

## Context

The platform must compete with enterprise software while remaining intuitive f

Marketing Meme Creation App Development Guide

Provides step-by-step technical guidance for building a fast, professional meme creation platform that combines viral content psychology with enterprise functionality. Designed for text-based AI models like ChatGPT, Claude, and Gemini.

108

Build Custom CRM Systems

Generates a complete, production-ready React-based CRM application with contact management, pipeline views, and reporting dashboards. Runs on ChatGPT, Claude, and Cursor to produce full-stack TypeScript code tailored to your business workflows.

105

Investment Portfolio Tracker App Builder

Generates a complete, production-ready React application that tracks stocks, bonds, cryptocurrency, real estate, commodities, and cash in a unified dashboard with real-time performance calculations. Built for ChatGPT, Claude, or Cursor to output full-stack financial app code.

103

Interactive Quiz Application Builder Prompt

Generates a complete, production-ready interactive quiz web application in HTML5, CSS3, and vanilla JavaScript with timers, multiple question types, scoring, review mode, leaderboard, and analytics. Runs on ChatGPT, Claude, and Cursor for developers building educational or training platforms.

102
## Role
You are an expert full-stack developer and UI/UX designer specializing in minimalist project management interfaces.

## Task
Create a complete, production-ready React + TypeScript project management dashboard with Linear's clean aesthetics and Stripe's design precision. Every element should serve a clear purpose, enabling users to understand project status in 3 seconds.

## Context
{{project-context}}

The dashboard must break through bloated enterprise tool complexity with intuitive, minimalist design that teams actually want to use.

## Output
Provide a complete multi-file project structure with:

### Information Architecture & Component Planning
Explain the component hierarchy and data flow strategy.

### Complete File Structure with Production-Ready Code
Deliver copy-pasteable files with detailed comments explaining design decisions:
- App.tsx
- Header.tsx
- Sidebar.tsx
- Boa

Minimalist Project Dashboard Builder for React

Generates a complete React + TypeScript project management dashboard with drag-and-drop, dark mode, and Linear-inspired minimalist UI. Runs on ChatGPT, Claude, and code-focused LLMs.

99
## Role
You are an expert front-end developer and UX designer specializing in image gallery experiences.

## Task
Guide the user through building a complete Lightbox-style image gallery with:

- Thumbnail grid with lazy loading
- Modal overlay with proper z-index and backdrop
- Navigation: previous/next arrows, keyboard support, touch gestures
- UI elements: close button, image counter, caption display
- Smooth transitions and loading states
- Responsive design across device sizes
- Accessibility features for screen readers

## Context
{{technical-context}}

Begin by confirming the image source approach and technical preferences, then systematically build each component from grid to modal interactions.

## Output
Structure your response with clear section headings. Provide all code examples in properly formatted code blocks with syntax highlighting. Organize implementation steps as numbe

Lightbox Image Gallery Builder

Builds a complete Lightbox-style image gallery with thumbnail grids, modal overlays, navigation, and accessibility features. Generates production-ready frontend code for ChatGPT, Claude, or Cursor.

98

Customer Support Chatbot Implementation Plan

Generates a complete technical implementation plan for building a RAG-powered customer support chatbot that ingests knowledge base content, delivers accurate responses, and escalates to human agents when needed. Runs on ChatGPT, Claude, Gemini, or Grok.

98

Eliminate Redundant Code Refactoring Prompt

Identifies and removes code duplication, dead code, and unnecessary abstractions using Martin Fowler's refactoring principles. Runs on ChatGPT, Claude, Gemini, and Grok to produce a prioritized consolidation plan with before/after snippets and implementation steps.

97
## Role

You are an expert AI integration architect and Telegram bot developer specializing in API integration, conversational AI systems, and Claude API implementation.

## Task

Provide a comprehensive step-by-step guide for building a Telegram bot that interfaces with the Claude Code LLM API. Cover the complete development lifecycle: environment setup, API authentication, Telegram bot creation, message handling architecture, Claude API integration, error handling, security best practices, and deployment strategies.

## Context

The guide should address:

- Telegram Bot API setup and token generation
- Python environment configuration with required libraries (python-telegram-bot, anthropic SDK)
- Webhook vs polling architecture decision
- Message flow design from Telegram to Claude API
- API key management and security
- Rate limiting and cost optimization strategies
- Conversation con

Telegram Claude Code Agent

Create a Telegram chatbot agent with this AI prompt, integrating Claude Code API for automated coding assistance and real-time programming support.

96
## Role
You are an expert full-stack developer and UX architect specializing in planning applications.

## Task
Build a complete, production-ready adaptive planning application that dynamically morphs based on context (travel, events, projects). Include collaborative features, timeline management, and export capabilities.

## Context
Deliver enterprise-grade code with comprehensive documentation. Provide complete files, not snippets.

{{tech-stack}}

{{feature-requirements}}

## Output
Deliver a comprehensive, multi-file project organized as follows:

**Project Setup and Architecture**
- Complete folder structure
- Dependencies and package configuration
- Environment and build configuration files

**Core Components**
- Landing interface with planner type selection
- Dynamic timeline system
- Context-aware panels that adapt to planner type (travel/events/projects)

**State Management**
- 

Adaptive Planner App Builder for Multiple Contexts

Generates a complete, production-ready planning application that dynamically adapts to travel, events, or project contexts with real-time collaboration, timeline management, and export features. Outputs full-stack code for ChatGPT, Claude, or Cursor.

96

n8n Workflow JSON Generator With Error Handling

Generates complete n8n workflow JSON configurations with modular architecture, AI model routing, and error handling. Runs on ChatGPT, Claude, and other code-capable LLMs to produce valid .json files optimized for cost and reliability.

96

Word Game Web App Builder

Generates a complete, production-ready word game web application with React and TypeScript, covering game mechanics, component architecture, animations, and player retention systems. Outputs structured implementation code for ChatGPT, Claude, or Cursor.

95

Code Explanation Prompt for Non-Technical Audiences

Translates complex code snippets into plain-language explanations with analogies and real-world examples. Runs on ChatGPT, Claude, and other text models to help software engineers and educators communicate technical concepts to laypersons.

95
## Role
You are an API integration architect specializing in production-grade RESTful integrations that handle rate limits, network failures, token expiry, and unpredictable API behavior.

## Task
Generate production-ready JavaScript code that implements a robust RESTful API integration with comprehensive error handling, authentication, retry logic, and graceful degradation.

## Context
{{api-details}}

Assume the API operates in an unreliable environment where requests may fail, tokens expire mid-flight, and transient errors occur. The code must be maintainable, well-commented, and ready for immediate deployment.

## Requirements
- Use the HTTP client specified in the API details (fetch or axios)
- Implement proper HTTP methods with correct request formatting
- Include secure authentication headers for the specified auth method
- Add comprehensive error handling that distinguishes netwo

API Integration Code Generator

Generates production-ready JavaScript code for RESTful API integrations with authentication, error handling, retry logic, and graceful degradation. Runs on ChatGPT, Claude, and Cursor.

95

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: "Settled Answers Rule for Chat System Prompts", "Maximalist Website Generator With Shader Animations", "Profession-Specific Kanban App Builder".

699 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.