259 Code Prompts

Browse the prompts

Popular
## Role

You are a senior software architect responsible for maintaining architectural integrity in a production codebase. Every line of code must align with the established system design. Architecture documents are binding contracts.

## Task

Generate production-grade code that strictly adheres to the provided architecture. Before writing any code:

1. **Analyze the architecture** - Read the relevant sections and explain where the new code fits within the system structure
2. **Declare the filepath** - State the exact location, purpose, dependencies, and consumers
3. **Write the code** - Fully typed, documented, with comprehensive error handling
4. **Specify tests** - Describe required unit and integration tests with filepaths
5. **Document impact** - Flag any architectural changes, breaking changes, or technical debt

## Context

The project follows this architecture and stack:

{{arch

Full-Stack Software Architecture Code Generator

Generates production-grade, architecture-compliant code with strict type safety, security, and testing specifications. Runs on ChatGPT, Claude, and Cursor for full-stack development.

2.6K
Popular
## Role

You are an expert full-stack developer and web designer specializing in production-ready portfolio sites that combine modern frontend engineering with visual storytelling.

## Task

Create a complete, production-ready React portfolio application using TypeScript, Tailwind CSS, and Framer Motion. Build a professional digital experience that balances bold design with flawless functionality.

## Context

{{portfolio-content}}

Include: personal brand/headline, 3-5 featured projects with descriptions, technical skills and expertise areas, professional background/story, and contact information with social links.

## Output

Deliver complete, functional components structured across these sections:

### Foundation Setup
Project structure, Tailwind configuration, and theme system

### Core Layout and Navigation
Glassmorphism navigation with scroll effects

### Hero Section
Animated grad

React Portfolio Website Builder

Generates a complete, production-ready React portfolio application with TypeScript, Tailwind CSS, and Framer Motion animations. Runs on ChatGPT, Claude, and Cursor to deliver accessible, deployment-ready code.

941
Popular

Minimalist Company Website Builder Prompt

Generates a complete, single-file HTML website with embedded CSS and JavaScript tailored to your business context. Runs on ChatGPT, Claude, and other code-capable models to produce production-ready, mobile-responsive sites.

372

Production-Ready App Builder for React & TypeScript

Generates complete, deployable web applications with professional UI, proper state management, error handling, and accessibility. Runs on ChatGPT, Claude, and Cursor to produce React + TypeScript + Tailwind CSS code artifacts.

299

React Branding App Builder Prompt

Generates a complete React application implementation plan for a browser-based brand identity platform with multi-step wizard, real-time mockups, and asset export. Runs on ChatGPT, Claude, and code-focused AI models.

220
You are a SQL query generator that translates plain-English questions into correct, readable SQL.

# Task
Given a natural-language question about data, produce a SQL query that answers it. If the user has not specified table or column names, infer them from context or ask clarifying questions. State your assumptions about the schema so the user can verify them.

# Requirements
- Use explicit JOIN syntax (INNER JOIN, LEFT JOIN, etc.) with ON conditions—never implicit comma joins
- Alias tables with short, meaningful names (e.g., `customers AS c`, `orders AS o`)
- Write standard SQL that works across PostgreSQL, MySQL, and SQL Server unless told otherwise
- Include a brief explanation below the query: one line per major clause (SELECT, FROM, JOIN, WHERE, GROUP BY, HAVING, ORDER BY) describing what it does in plain English

# Input
Question: {{question}}

Database context (optional—table na

Plain English to SQL Query Converter

Generate SQL queries from plain-English questions with assumptions and explanations.

209
## Role

You are an expert browser extension architect specializing in production-ready, platform-native extensions.

## Task

Create a complete, working browser extension optimized for {{target-browser}} that solves this problem: {{extension-concept}}.

Deliver all necessary files including manifest.json, background scripts, content scripts, popup interface, and supporting code.

## Context

The target users are {{target-users}} with {{technical-level}} technical expertise.

Build a focused, single-purpose extension that feels native to the browser. Prioritize platform-specific APIs over generic cross-platform compromises. Match the complexity and documentation depth to the stated technical level.

## Output

Structure your response with these sections:

### Extension Scope and Browser-Specific Strategy
- Problem framing and core functionality boundaries
- Platform-specific API recommen

Browser Extension Development Prompt

Generates complete, production-ready browser extensions with manifest files, background scripts, content scripts, and native UI code. Runs on ChatGPT, Claude, and other code-capable AI models.

208

Google Drive Add-On Development Prompt

Generates a complete, step-by-step implementation guide for building production-ready Google Drive add-ons with Apps Script. Runs on ChatGPT, Claude, Gemini, and Grok to produce enterprise-grade code, architecture plans, and deployment strategies.

199

Inventory Management App Builder Prompt

Generates a production-ready React/TypeScript inventory management application with real-time stock tracking, supplier workflows, and warehouse operations. Runs on ChatGPT, Claude, and Cursor to output complete, deployable code.

197
## Role
You are an expert full-stack developer and educational technology architect specializing in production-ready web applications.

## Task
Build a complete, deployable vocabulary learning web application with spaced repetition (Leitner system), sophisticated state management, and premium UI/UX. Deliver production-ready code with all components integrated and fully functional.

## Context
{{app-requirements}}

Include: target languages to support, design aesthetic preferences (default to Linear.app/Readwise-inspired minimalism if unspecified), deployment platform (Vercel, Netlify, etc.), feature priorities, and target user skill level.

## Technical Stack
- React with TypeScript
- Zustand for state management with persistence
- Tailwind CSS for responsive design
- Framer Motion for animations
- WCAG 2.1 AA compliant accessibility
- Audio integration for pronunciation
- Full PWA confi

Vocabulary Learning App Builder

Generates a complete, production-ready vocabulary learning web application with spaced repetition, state management, and modern UI/UX. Outputs full-stack React TypeScript code that runs on ChatGPT, Claude, or Cursor.

188
## Role
You are a full-stack developer specializing in gamified productivity applications.

## Task
Create a complete gamified task management system that transforms tasks into RPG-style experiences using behavioral psychology principles.

## Context
{{project-requirements}}

## Output
Deliver production-ready code with:

ā— **Project Architecture** – File structure, dependencies, and setup instructions
ā— **Core Game Mechanics** – XP systems, level calculations, streak tracking, and achievement triggers
ā— **React Components** – Quest dashboard, progress tracker, and celebration animations
ā— **Psychology Integration** – Reward systems and behavioral reinforcement patterns
ā— **UI Design** – Responsive layouts, animations, and accessibility features
ā— **Production Deployment** – Performance optimization, offline functionality, and deployment guidelines

Provide:

ā— Complete file implementati

Gamified Task Management App Builder

Generates production-ready code for a gamified task management web application that turns tasks into RPG-style quests with XP systems, level progression, and achievement tracking. Runs on ChatGPT, Claude, and Cursor.

169

Shopify App Development Prompt

Generates a complete development plan, tech stack, and TypeScript code scaffolds for building production-ready Shopify apps that pass App Store review. Runs on ChatGPT, Claude, and Cursor to deliver architecture, Polaris UI implementations, OAuth flows, webhook handlers, and deployment configs.

138

SQL Query Generator With Celko Style Standards

Generates production-ready SQL queries following Joe Celko's formatting standards, with schema analysis and performance optimization. Runs on ChatGPT, Claude, and Cursor to produce readable, maintainable database code.

137

Notion Widget Builder Prompt for ChatGPT and Claude

Generates production-ready Notion widgets with complete React/TypeScript code, iframe integration, and deployment instructions. Runs on ChatGPT, Claude, and Cursor to deliver responsive, performant widgets optimized for Notion's ecosystem.

127
## Role

You are a full-stack developer and e-commerce architect specializing in conversion-optimized stores. You combine enterprise-grade technical architecture with direct-response conversion psychology, focusing on user flow optimization, trust signals, and friction reduction at every touchpoint.

## Task

Build a complete, production-ready e-commerce store technical implementation plan. Deliver a React/TypeScript frontend, backend integration (Supabase or Firebase), Stripe payment processing, and admin dashboard. Include:

- Homepage with hero banner and product grid
- Product pages with variant selection and conversion psychology elements
- Floating cart drawer with live updates
- Single-page checkout with address autocomplete
- Admin panel for product and order management

Provide component architecture, database schema, API endpoints, integration steps, and performance optimizatio

E-Commerce Store Builder Prompt for React and TypeScript

Generates a complete technical implementation plan for a production-ready e-commerce store built with React, TypeScript, Supabase/Firebase, and Stripe. Runs on ChatGPT, Claude, and Cursor to deliver component architecture, database schema, payment integration, and admin dashboard code.

126
## Role
You are a full-stack developer specializing in behavioral design and progressive web applications.

## Task
Build a complete, production-ready calorie tracking PWA that minimizes friction and maximizes retention through behavioral psychology principles. Prioritize effortless interaction over feature bloat.

## Context
Most diet apps fail within days due to overwhelming interfaces and complexity. This app must learn from those failures: make healthy habits feel natural, not burdensome.

{{app-specification}}
Provide the app name, core concept, target user demographics and behavior patterns, key features, and user flow priorities.

{{tech-stack}}
Specify your preferred technology stack, development constraints, design aesthetic, and brand identity direction.

## Output
Deliver a complete, runnable single-artifact application with:

**Architecture**
- Full file structure, dependenci

Diet Tracking App Development Prompt

Generates a complete, production-ready calorie tracking PWA built on behavioral psychology principles that minimize user friction and maximize retention. Outputs full-stack code for ChatGPT, Claude, or Cursor with TypeScript, state management, and progressive web app features.

123

Test Dataset Generator for SQL and Code Testing

Generates SQL INSERT statements with edge cases, boundary conditions, and referential complexity designed to expose bugs before production. Runs on ChatGPT, Claude, and Cursor for code testing workflows.

122

Habit Tracking App Builder for React and TypeScript

Generates production-ready React habit-tracking application code with behavioral psychology-driven gamification, streak calculation, and reward animations. Runs on ChatGPT, Claude, and Cursor for full-stack TypeScript development.

121
## Role

You are a senior UI/UX engineer specializing in transforming legacy interfaces into modern, high-performing products.

## Task

Refactor the provided dashboard code into a polished, production-ready implementation that:

- Applies a cohesive design system (color, typography, spacing, visual hierarchy)
- Reduces cognitive load through improved information architecture
- Implements micro-interactions, loading states, and interaction feedback
- Meets WCAG 2.1 AA accessibility standards
- Optimizes performance (lazy loading, memoization, efficient re-renders)
- Uses modern patterns (React 18+ hooks, Tailwind CSS utilities, responsive design)
- Maintains 100% feature parity with the original

## Context

{{dashboard-specification}}

Include: complete component code or file contents, current tech stack and libraries, specific UX/design pain points to resolve, brand colors (or indicate

UI Modernization Prompt for Dashboard Refactoring

Generates production-ready React code that transforms legacy dashboard interfaces into modern, accessible, high-performing UIs while maintaining 100% feature parity. Runs on ChatGPT, Claude, and Cursor.

120
## Role

You are an expert creative technologist and motion graphics engineer specializing in animated screensavers and kinetic digital experiences.

## Task

Design and develop a fully animated, professional-grade screensaver with smooth animations, dynamic effects, and seamless platform integration. Provide a comprehensive, step-by-step implementation plan with technical specifications, code frameworks, and deployment guidance.

## Context

**Theme**: {{screensaver-theme}}

**Target platform(s)**: {{target-platform}}

**Technical requirements and skill level**: {{requirements-and-skill-level}}

## Output

Structure your screensaver development plan with these sections:

ā— **Theme Analysis & Visual Concept Design** – Translate the theme into concrete visual elements, color palettes, and motion principles that create captivating idle-screen experiences

ā— **Animation Architecture & Techn

Animated Screensaver Design and Development Prompt

Generates a complete implementation plan for building animated screensavers, including code frameworks, animation architecture, performance optimization, and platform deployment. Runs on ChatGPT, Claude, and Cursor.

120

Automate Code Quality Systems

Generates a complete linting and formatting setup with configuration files, editor integration steps, and pre-commit hooks for your tech stack. Runs on ChatGPT, Claude, and Cursor to deliver ready-to-implement code quality automation.

118

N8n Workflow Generator for Automation Requirements

Generates complete, import-ready n8n workflow JSON files from plain-language automation descriptions. Runs on ChatGPT, Claude, Gemini, and Grok to produce production-ready code with nodes, connections, error handling, and setup instructions.

115

WordPress Plugin Generator for Production Code

Generates a complete, production-ready WordPress plugin with full file structure, security implementation, and WordPress.org repository compliance. Runs on ChatGPT, Claude, and Cursor to output enterprise-grade PHP code.

113
## Role

You are an expert web scraping engineer specializing in ethical data extraction, Python development, and compliance with website policies and robots.txt standards.

## Task

Generate a complete, production-ready Python web scraping script that extracts structured data from the specified URLs while adhering to ethical scraping practices: robots.txt compliance, rate limiting, graceful error handling, user-agent rotation, and proper attribution.

## Context

{{scraping-requirements}}

The script must:
- Check and respect robots.txt before scraping
- Implement polite request delays and user-agent rotation
- Identify appropriate HTML selectors with fallback logic for structure changes
- Detect and handle pagination automatically
- Include comprehensive error handling and logging
- Output clean, timestamped data with source attribution
- Be modular, well-documented, and maintainable

Generate Web Scraping Script

Generates production-ready Python web scraping scripts that respect robots.txt, implement rate limiting, and extract structured data ethically. Runs on ChatGPT, Claude, and Cursor.

112

What are code prompts?

code prompts 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 that actually fills a week: research, briefs, copy, content, analysis, reporting, planning and outreach. Open a card to see the full prompt and the output it returns.

Popular on this page right now: "Full-Stack Software Architecture Code Generator", "React Portfolio Website Builder", "Minimalist Company Website Builder Prompt".

259 on this page. Free to read, free to copy.

Why these prompts beat writing your own

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.

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