💻

AI Prompts for Coding

100 expert prompts for coding — copy, paste, and get results from any AI tool.

100 expert prompts — updated weekly

🔍

Architecture & Design

💻 Coding
Design a normalized database schema for [APPLICATION TYPE]. Requirements: [LIST KEY FEATURES] Provide: 1. Entity-relationship diagram (describe in ...
💻 Coding
Design a complete authentication system for [APPLICATION TYPE]. Requirements: - [EMAIL/PASSWORD / SOCIAL LOGIN / SSO / MFA] - Framework: [NEXT.JS /...
💻 Coding
Walk me through a system design for [SYSTEM TYPE] (e.g., URL shortener, chat app, news feed, e-commerce, etc.). Scale: [USERS / REQUESTS PER SECOND...
💻 Coding
Design a serverless architecture for [APPLICATION TYPE]. Cloud: [AWS / GCP / AZURE / CLOUDFLARE] Scale: [REQUESTS PER DAY] Budget sensitivity: [LOW...
💻 Coding
Design a state management architecture for a [REACT / VUE / SVELTE] application. App complexity: [SIMPLE / MEDIUM / COMPLEX] Key features: [LIST MA...
💻 Coding
Design a production-ready Next.js application architecture for [APP TYPE]. Features: [LIST KEY FEATURES] Scale: [USERS/TRAFFIC EXPECTED] Provide: 1...
💻 Coding
Build a robust file upload system for [APPLICATION TYPE]. File types: [IMAGES / DOCUMENTS / VIDEO / ALL] Max file size: [SIZE] Storage: [S3 / GCS /...
💻 Coding
Design a microservices architecture for [APPLICATION] currently running as a monolith. Provide: service decomposition strategy (bounded contexts), ...
💻 Coding
Design a multi-tenant architecture for a SaaS application. Cover: tenant isolation strategies (shared DB with tenant_id, schema-per-tenant, DB-per-...
💻 Coding
Build a multi-channel notification system for [APPLICATION]. Channels: email, push, in-app, SMS, Slack. Provide: notification service architecture,...
💻 Coding
Design a serverless architecture for [APPLICATION TYPE]. Cloud: [AWS LAMBDA / VERCEL / CLOUDFLARE WORKERS / GCP CLOUD FUNCTIONS] Use case: [API / S...
⭐ Staff Pick
💻 Coding
Design and implement a webhook system for [APPLICATION]. Provide: 1. Webhook registration API (subscribe, update, delete endpoints) 2. Event catalo...
💻 Coding
Help me plan the component architecture for a React application. App description: [WHAT IT DOES] Pages/views: [LIST MAIN PAGES] State management: [...
💻 Coding
Help me build a maintainable CSS architecture or design system. Project: [DESCRIBE] Approach: [TAILWIND / CSS MODULES / STYLED-COMPONENTS / SASS / ...
💻 Coding
Help me set up a Next.js full-stack application from scratch. App description: [WHAT IT DOES] Auth: [NEXTAUTH / CLERK / CUSTOM / NONE] Database: [P...
💻 Coding
Design an authentication system for [MY APPLICATION]. App type: [WEB APP / MOBILE / API / ALL] Users: [CONSUMERS / BUSINESS / BOTH] Auth methods ne...
💻 Coding
Help me design a cloud architecture on AWS for [MY APPLICATION]. App: [WHAT IT DOES] Expected scale: [USERS / REQUESTS PER SECOND] Budget sensitivi...
💻 Coding
Generate a complete starter template for a full-stack web application. Frontend: [REACT / NEXT.JS / VUE / SVELTE] Backend: [NODE / PYTHON / GO / SA...
💻 Coding
Help me design a microservices architecture for [PROJECT]. Project: [WHAT THE SYSTEM DOES] Current architecture: [MONOLITH / PARTIALLY SPLIT / STAR...
⭐ Staff Pick
💻 Coding
Design a serverless architecture for [MY PROJECT]. Project: [WHAT IT DOES] Cloud: [AWS LAMBDA / VERCEL / CLOUDFLARE WORKERS / GOOGLE FUNCTIONS] Tri...
💻 Coding
Help me set up and manage a monorepo for my project. Projects: [WHAT GOES IN THE MONOREPO — E.G. WEB, API, MOBILE, PACKAGES] Tool preference: [TURB...

Frontend Development

💻 Coding
Build a production-ready React component for [DESCRIBE COMPONENT]. Requirements: - TypeScript with strict types - Props interface with JSDoc commen...
🔥 Trending
💻 Coding
Convert [WEBSITE/APP] into a Progressive Web App. Current tech: [FRAMEWORK] Key features: [OFFLINE ACCESS / PUSH NOTIFICATIONS / INSTALL / BACKGROU...
💻 Coding
Help me implement responsive design that works across all devices. Project: [WEBSITE / WEB APP / LANDING PAGE] Framework: [REACT / HTML+CSS / TAILW...
💻 Coding
Help me start building a mobile app with React Native. App idea: [WHAT IT DOES] Platforms: [IOS / ANDROID / BOTH] Backend: [EXISTING API / NEED TO ...
💻 Coding
Help me convert my web app into a Progressive Web App. Current app: [DESCRIBE] Framework: [REACT / VUE / VANILLA / NEXT.JS / OTHER] Key PWA feature...
💻 Coding
Help me master Tailwind CSS for production projects. Experience: [NEW TO TAILWIND / BASIC / WANT ADVANCED PATTERNS] Project: [WHAT I'M BUILDING] Fr...

Backend & APIs

💻 Coding
Design a RESTful API for [FEATURE/RESOURCE]. For each endpoint, provide: - HTTP method and URL path (following REST conventions) - Request body sch...
🔥 Trending
💻 Coding
Design a GraphQL API for [APPLICATION TYPE]. Core entities: [LIST] Key operations: [LIST] Provide: 1. Schema Definition: Complete SDL with types, q...
💻 Coding
Design a comprehensive REST API error handling system for [FRAMEWORK: Express / Fastify / Django / Rails / Spring]. Provide: 1. Error Response Form...
💻 Coding
Design a RESTful API for [PROJECT]. Project: [WHAT THE API DOES] Resources: [MAIN ENTITIES — E.G. USERS, PRODUCTS, ORDERS] Authentication: [JWT / A...
💻 Coding
Design a database schema for [PROJECT]. Project: [WHAT THE APP DOES] Database type: [POSTGRESQL / MYSQL / MONGODB / SQLITE / UNSURE] Main entities:...
💻 Coding
Set up a Python project with proper structure and best practices. Project type: [WEB APP / API / SCRIPT / DATA SCIENCE / CLI TOOL / PACKAGE] Framew...
💻 Coding
Design a GraphQL API for [PROJECT]. Project: [WHAT THE APP DOES] Entities: [MAIN DATA TYPES] Frontend: [REACT / VUE / MOBILE / MULTIPLE CLIENTS] Pr...
💻 Coding
Help me write and optimise SQL queries for better performance. Database: [POSTGRESQL / MYSQL / SQLITE / SQL SERVER] Problem: [SLOW QUERIES / COMPLE...
💻 Coding
Help me secure my REST API against common attacks. Tech stack: [DESCRIBE] Auth method: [JWT / SESSION / API KEY / OAUTH] Data sensitivity: [LOW / M...
💻 Coding
Help me build a full-stack app with Supabase as the backend. App: [WHAT I'M BUILDING] Frontend: [REACT / NEXT.JS / VUE / SVELTE] Features needed: [...

DevOps & Infrastructure

💻 Coding
Create a production-ready Docker setup for [APPLICATION TYPE] built with [TECH STACK]. Provide: 1. Dockerfile: Multi-stage build with security best...
💻 Coding
Create a scheduled task system for [TASK DESCRIPTION] running [FREQUENCY]. Environment: [NODE.JS / PYTHON / BASH / OTHER] Hosting: [SERVER / SERVER...
💻 Coding
Create a complete CI/CD pipeline for [PROJECT TYPE] using [GITHUB ACTIONS / GITLAB CI / JENKINS / CIRCLECI]. Stack: [LANGUAGE/FRAMEWORK] Deployment...
💻 Coding
Build a real-time data pipeline for [USE CASE: live dashboard / event tracking / notifications / analytics]. Stack: [LANGUAGE/FRAMEWORK] Data sourc...
💻 Coding
Build an image processing pipeline for [USE CASE: user uploads / product images / profile photos / thumbnails]. Provide: upload handling (multipart...
💻 Coding
Set up a secure environment variable and secrets management system for [APPLICATION]. Cover: .env file structure with documentation, secrets hierar...
💻 Coding
Help me containerise my application with Docker. App type: [FRONTEND / BACKEND / FULL-STACK / MICROSERVICES] Language: [NODE / PYTHON / JAVA / GO /...
💻 Coding
Set up a CI/CD pipeline for my project. Project: [WHAT I'M BUILDING] Repo: [GITHUB / GITLAB / BITBUCKET] Deployment: [VERCEL / AWS / HEROKU / DIGIT...
💻 Coding
Help me be more productive on the Linux/Mac command line. Experience: [BEGINNER / KNOW BASICS / WANT ADVANCED] OS: [LINUX / MAC / WSL ON WINDOWS] U...
💻 Coding
Help me design a data pipeline for [MY USE CASE]. Data source: [WHERE DATA COMES FROM] Destination: [WHERE IT NEEDS TO GO] Volume: [DAILY RECORDS] ...
💻 Coding
Help me set up and manage scheduled tasks and cron jobs. Environment: [LINUX SERVER / CLOUD / VERCEL / HEROKU / OTHER] Tasks: [DESCRIBE WHAT NEEDS ...

Testing & Quality

💻 Coding
You are a principal software engineer with 15+ years of experience. Perform a thorough code review of the following code: [PASTE CODE HERE] Review ...
🟢 Start Here
💻 Coding
Write comprehensive unit tests for the following [LANGUAGE] code: [PASTE CODE HERE] Requirements: - Use [TESTING FRAMEWORK] (e.g., Jest, pytest, JU...
💻 Coding
I have a bug in my [LANGUAGE] code. Help me find and fix it. Code: [PASTE CODE HERE] Expected behavior: [WHAT SHOULD HAPPEN] Actual behavior: [WHAT...
🔥 Trending
💻 Coding
Analyze and optimize the performance of this [LANGUAGE/FRAMEWORK] code: [PASTE CODE HERE] Environment: [WEB APP / API / MOBILE / CLI] Scale: [REQUE...
🔥 Trending
💻 Coding
Refactor the following code to improve quality, readability, and maintainability: [PASTE CODE HERE] Language: [LANGUAGE] Context: [WHAT THIS CODE D...
❤️ Most Loved
💻 Coding
Perform an accessibility audit on this [HTML/REACT/VUE] component and fix all issues: [PASTE CODE HERE] Check against WCAG 2.1 AA standards: 1. Sem...
💻 Coding
Design a comprehensive testing strategy for [APPLICATION TYPE] built with [TECH STACK]. Provide: 1. Testing pyramid: Unit (70%) → Integration (20%)...
💻 Coding
Help me assess and plan cleanup of technical debt in my codebase. Project: [DESCRIBE] Age: [HOW OLD IS THE CODEBASE] Main concerns: [SLOW / BUGGY /...
💻 Coding
Help me debug a problem I can't figure out. Problem description: [DESCRIBE THE BUG] What should happen: [EXPECTED BEHAVIOUR] What actually happens:...
💻 Coding
Help me create a testing strategy and write better tests. Project: [WHAT I'M BUILDING] Language: [JAVASCRIPT / PYTHON / JAVA / OTHER] Current testi...
💻 Coding
Help me identify and fix performance issues in my application. App type: [WEB / MOBILE / API / DATABASE] Tech stack: [DESCRIBE] Performance issue: ...
💻 Coding
Help me refactor messy code into clean, maintainable code. Language: [JAVASCRIPT / PYTHON / JAVA / OTHER] Code smell: [LONG FUNCTIONS / DEEP NESTIN...
💻 Coding
Help me make my web application accessible to all users. Project: [WHAT I'M BUILDING] Framework: [REACT / HTML / VUE / OTHER] Current accessibility...
💻 Coding
Help me write and understand regular expressions for my use case. What I need to match: [DESCRIBE THE PATTERN] Language: [JAVASCRIPT / PYTHON / PHP...
💻 Coding
Help me give and receive better code reviews. Team size: [NUMBER] Current review process: [INFORMAL / PR-BASED / NONE] Common issues: [REVIEWS TOO ...
💻 Coding
Teach me clean code principles I can apply immediately. Language: [MY MAIN LANGUAGE] Experience: [JUNIOR / MID / SENIOR BUT WANT TO IMPROVE] Code b...

Security & Auth

💻 Coding
Implement OAuth 2.0 authentication with [PROVIDER: Google / GitHub / Apple / Microsoft / Facebook] in [FRAMEWORK]. Provide: 1. Flow Diagram: Author...
💻 Coding
Implement Stripe payment processing for [APPLICATION TYPE]. Payment type: [ONE-TIME / SUBSCRIPTION / METERED / MARKETPLACE] Framework: [NEXT.JS / E...
⭐ Staff Pick
💻 Coding
Implement API security hardening for [FRAMEWORK]. Provide complete implementations for: 1. Rate Limiting: Token bucket or sliding window with Redis...
💻 Coding
Help me integrate Stripe payments into my application. App type: [E-COMMERCE / SAAS / MARKETPLACE / DONATIONS] Payment types: [ONE-TIME / SUBSCRIPT...

Tools & Workflow

💻 Coding
Create a Git workflow and conventions guide for a team of [NUMBER] developers working on [PROJECT TYPE]. Provide: 1. Branching Strategy: Gitflow vs...
💻 Coding
Create regex patterns for the following common validation and extraction tasks in [LANGUAGE]. For each pattern, provide: - The regex with explanati...
💻 Coding
Set up a Git workflow and branching strategy for my project. Team size: [SOLO / 2-5 / 5-10 / 10+] Project type: [WEB APP / MOBILE / LIBRARY / MICRO...
💻 Coding
Help me migrate my JavaScript project to TypeScript. Project size: [SMALL / MEDIUM / LARGE] Framework: [REACT / NODE / EXPRESS / NEXT.JS / OTHER] C...
💻 Coding
Help me build a web scraper to extract data from [TARGET]. Target: [WHAT DATA AND FROM WHERE] Language: [PYTHON / NODE / OTHER] Volume: [ONE-TIME /...
💻 Coding
Help me start contributing to open source projects. Experience level: [BEGINNER / INTERMEDIATE / EXPERIENCED DEV BUT NEW TO OSS] Language: [MY PREF...
💻 Coding
Help me publish my code as a reusable package or library. Language: [JAVASCRIPT/NPM / PYTHON/PYPI / OTHER] Package type: [UTILITY / UI COMPONENT / ...
💻 Coding
Help me use AI tools (ChatGPT, Claude, Copilot) more effectively in my development workflow. Experience with AI tools: [NEW / BASIC / REGULAR USER]...
💻 Coding
Help me implement email sending in my application. Use case: [TRANSACTIONAL / MARKETING / NOTIFICATIONS / ALL] Tech stack: [NODE / PYTHON / OTHER] ...
💻 Coding
Help me implement file upload and storage in my application. File types: [IMAGES / DOCUMENTS / VIDEO / MIXED] Storage: [LOCAL / AWS S3 / CLOUDINARY...

Career & Learning

💻 Coding
Generate comprehensive documentation for this codebase: [PASTE CODE HERE] Language: [LANGUAGE] Provide: 1. README.md: Project overview, installatio...
❤️ Most Loved
💻 Coding
Build a real-time WebSocket system for [USE CASE: chat / notifications / live updates / collaboration]. Stack: [LANGUAGE/FRAMEWORK] Expected concur...
💻 Coding
Help me prepare for coding interviews focused on data structures and algorithms. Target companies: [FAANG / STARTUPS / GENERAL TECH] Language: [PYT...
💻 Coding
Help me implement real-time features in my application. Feature: [CHAT / NOTIFICATIONS / LIVE UPDATES / COLLABORATION / GAMING] Tech stack: [DESCRI...

More Coding Prompts

💻 Coding
Design a comprehensive error handling and logging framework for [APPLICATION] built with [LANGUAGE/FRAMEWORK]. Provide: 1. Error Hierarchy: Custom ...
💻 Coding
Create a TypeScript utility functions library for common operations. Provide production-ready functions with full types, JSDoc comments, and test c...
💻 Coding
Design a caching strategy for [APPLICATION TYPE]. Scale: [REQUESTS/SEC] | Database: [TYPE] | Current pain: [SLOW QUERIES / HIGH LOAD / COST] Provid...
💻 Coding
Write database migration scripts for [CHANGE DESCRIPTION]. Database: [POSTGRESQL / MYSQL / SQLITE / MONGODB] ORM: [PRISMA / SEQUELIZE / TYPEORM / D...
💻 Coding
Build an email sending system for [APPLICATION TYPE]. Provider: [SENDGRID / AWS SES / POSTMARK / RESEND / MAILGUN] Email types: [TRANSACTIONAL / MA...
💻 Coding
Implement search functionality for [APPLICATION TYPE]. Search requirements: [FULL-TEXT / AUTOCOMPLETE / FACETED / FUZZY / GEOSPATIAL] Data size: [N...
💻 Coding
Set up a monitoring and alerting system for [APPLICATION TYPE] in production. Stack: [LANGUAGE/FRAMEWORK] Hosting: [AWS / GCP / VERCEL / DOCKER / O...
💻 Coding
Optimize these slow database queries for [DATABASE TYPE]: [PASTE QUERIES OR DESCRIBE THE PROBLEM] For each query: 1. Analyze the execution plan (EX...
💻 Coding
Build a webhook system for [APPLICATION] — both sending and receiving. Provide: 1. Outgoing webhooks: - Event types and payload schemas - Endpoint ...
💻 Coding
Build a browser extension for [FUNCTIONALITY] compatible with Chrome and Firefox. Provide: manifest.json (V3), background service worker, content s...
💻 Coding
Create comprehensive API documentation for [API DESCRIPTION]. Include: getting started guide (authentication, base URL, rate limits), endpoint refe...
💻 Coding
Build a comprehensive data validation and sanitization layer for [FRAMEWORK]. Implement: input validation schemas (Zod/Joi/Yup) for all API endpoin...
💻 Coding
Build a command-line tool for [FUNCTIONALITY] in [NODE.JS / PYTHON / GO / RUST]. Provide: project scaffolding, argument parsing (commander/argparse...
💻 Coding
Implement a feature flag system for [APPLICATION]. Cover: feature flag service design (in-house vs LaunchDarkly/Flagsmith), flag types (boolean, mu...
💻 Coding
Design a database backup and disaster recovery strategy for [DATABASE TYPE] in [ENVIRONMENT]. Cover: backup types (full, incremental, point-in-time...
💻 Coding
Build a background job processing system for [APPLICATION]. Stack: [LANGUAGE/FRAMEWORK]. Use: [BULL/BULLMQ / CELERY / SIDEKIQ / CUSTOM]. Provide: q...
💻 Coding
Implement internationalization for [REACT / NEXT.JS / VUE] application. Cover: i18n library setup (react-intl, next-intl, i18next), translation fil...
💻 Coding
Help me implement proper error handling in my JavaScript/TypeScript application. App type: [FRONTEND / BACKEND / FULL-STACK] Framework: [REACT / NO...

Browse All 2,400 Prompts

Explore every prompt across all 17 categories.

Browse All Prompts →