Your Progress 0%

💡 How to Use These Prompts

Click any prompt to copy it to your clipboard. Paste into Claude, Cursor, or your favorite AI tool.

Pro tip: These are templates. Customize them with your specific stack, styling preferences, and requirements.

🏗️

App Scaffolding (10)

PROMPT #1
Click to copy Create a Next.js 14 app with App Router, TypeScript, Tailwind CSS, and shadcn/ui components. Include a home page, about page, and contact form. Set up the folder structure following best practices. Use the Inter font from next/font.

When to use:

Starting a new Next.js project from scratch

Example output: Complete folder structure with pages, components, and configuration files ready to go
PROMPT #2
Click to copy Build a React + Vite starter template with React Router, a navbar with Home/About/Contact links, a footer, and a clean file structure. Use modern ES6+ syntax and functional components with hooks.

When to use:

Quick React prototype without Next.js overhead

Example output: Lightweight React app with routing and basic layout components
PROMPT #3
Click to copy Create an Express.js API server with TypeScript. Include middleware for CORS, JSON parsing, error handling, and request logging. Set up a basic /api/health endpoint. Use environment variables for configuration.

When to use:

Building a backend API from scratch

Example output: Production-ready Express server with proper middleware setup
PROMPT #4
Click to copy Build a full-stack Next.js app with Supabase for authentication and database. Set up login/signup pages, protected routes, and a simple dashboard. Include email/password auth with Supabase Auth.

When to use:

Starting an app that needs user authentication

Example output: Complete auth flow with protected pages and user dashboard
PROMPT #5
Click to copy Create a Chrome extension scaffold with manifest v3. Include popup.html, background service worker, and content script. Set up communication between components. Use vanilla JavaScript, no frameworks.

When to use:

Building a browser extension

Example output: Chrome extension boilerplate with all necessary files and message passing setup
PROMPT #6
Click to copy Build a Python Flask REST API with SQLAlchemy ORM, JWT authentication, and CORS support. Include user registration, login, and a protected endpoint. Use PostgreSQL as the database.

When to use:

Python backend with database and auth

Example output: Flask API with authentication routes and database models
PROMPT #7
Click to copy Create a mobile-responsive landing page with HTML, Tailwind CSS, and minimal JavaScript. Include hero section, features grid, testimonials, pricing, and CTA. Dark theme with gradient accents.

When to use:

Quick landing page without a framework

Example output: Single HTML file with beautiful, responsive landing page
PROMPT #8
Click to copy Build a Vue 3 app with Composition API and Pinia state management. Include a product list page, shopping cart, and checkout flow. Use TypeScript and Vite.

When to use:

E-commerce prototype with Vue

Example output: Vue app with global state and shopping cart functionality
PROMPT #9
Click to copy Create a Svelte + SvelteKit app with server-side rendering. Include dynamic routes, API endpoints, and form actions. Set up a blog with markdown posts stored in /content folder.

When to use:

Lightweight SSR blog with Svelte

Example output: SvelteKit blog with markdown support and server rendering
PROMPT #10
Click to copy Build a Node.js CLI tool using Commander.js. Include subcommands for 'init', 'build', and 'deploy'. Add colored terminal output with chalk and a progress bar with ora. Make it installable globally with npm.

When to use:

Creating a command-line tool

Example output: Professional CLI tool with commands, flags, and visual feedback
🎨

UI/Design (10)

PROMPT #11
Click to copy Create a responsive navbar component in React with logo, navigation links, mobile hamburger menu, and smooth animations. Use Tailwind CSS. The mobile menu should slide in from the right.

When to use:

Need a professional navigation component

Example output: Fully responsive navbar with mobile menu and animations
PROMPT #12
Click to copy Build a modal component with React that can be triggered from anywhere in the app. Include backdrop overlay, close on Escape key, trap focus inside modal, and smooth fade animations.

When to use:

Reusable modal/dialog component

Example output: Accessible modal with keyboard support and animations
PROMPT #13
Click to copy Create a card grid layout that displays items in a responsive grid (1 column on mobile, 2 on tablet, 3 on desktop). Each card should have an image, title, description, and CTA button. Use Tailwind CSS.

When to use:

Product/service display grid

Example output: Responsive card grid with hover effects
PROMPT #14
Click to copy Build a form component with validation in React using react-hook-form and zod. Include email, password, name fields. Show error messages below each field. Style with Tailwind CSS.

When to use:

Contact or signup forms with validation

Example output: Form with client-side validation and error handling
PROMPT #15
Click to copy Create a dark/light theme toggle with React and Tailwind CSS. Store user preference in localStorage. Apply theme globally using CSS variables. Include smooth transition animations.

When to use:

Adding theme switching to your app

Example output: Theme toggle that persists across sessions
PROMPT #16
Click to copy Build a loading skeleton component for content that's being fetched. Create placeholder rectangles that animate with a shimmer effect. Make it reusable for different content types.

When to use:

Better loading states than spinners

Example output: Animated skeleton screens for cards, lists, text
PROMPT #17
Click to copy Create a toast notification system in React. Support success, error, warning, and info types. Stack multiple toasts vertically. Auto-dismiss after 5 seconds with a progress bar. Use Framer Motion for animations.

When to use:

User feedback notifications

Example output: Toast system with queue, animations, and types
PROMPT #18
Click to copy Build a searchable dropdown select component with React. Include keyboard navigation (arrow keys, Enter to select). Filter options as user types. Highlight matching text.

When to use:

Better UX than native select elements

Example output: Custom select with search and keyboard support
PROMPT #19
Click to copy Create an image carousel/slider with React. Include prev/next buttons, dot indicators, auto-play, and touch/swipe support for mobile. Use Embla Carousel or similar library.

When to use:

Hero sections or image galleries

Example output: Full-featured carousel with all controls
PROMPT #20
Click to copy Build an accordion component where clicking a section expands it and collapses others. Include smooth animations. Allow multiple sections open at once with a prop. Use React and Tailwind CSS.

When to use:

FAQs or collapsible content sections

Example output: Animated accordion with configurable behavior
⚙️

Backend/API (10)

PROMPT #21
Click to copy Create a Next.js API route that handles POST requests to send emails using Resend. Validate email, subject, and message fields. Return appropriate status codes. Use environment variables for API key.

When to use:

Contact form backend

Example output: API endpoint that sends emails with error handling
PROMPT #22
Click to copy Build a RESTful API with Express.js for a blog. Include routes for GET /posts, GET /posts/:id, POST /posts, PUT /posts/:id, DELETE /posts/:id. Use middleware to verify authentication on write operations.

When to use:

CRUD API for any resource

Example output: Complete REST API with all CRUD operations
PROMPT #23
Click to copy Create a Next.js API route that fetches data from an external API, caches it for 1 hour using Redis or simple in-memory cache, and returns it to the client. Include error handling for failed requests.

When to use:

Proxy for rate-limited external APIs

Example output: Cached API proxy with TTL
PROMPT #24
Click to copy Build a webhook receiver in Express.js that validates webhook signatures from Stripe. Parse the event, handle different event types (payment_intent.succeeded, checkout.session.completed), and update your database.

When to use:

Handling payment webhooks

Example output: Secure webhook endpoint with signature verification
PROMPT #25
Click to copy Create a rate limiter middleware for Express.js that limits requests to 100 per 15 minutes per IP address. Use redis or in-memory store. Return 429 status when limit exceeded.

When to use:

Protecting APIs from abuse

Example output: Rate limiting middleware with configurable rules
PROMPT #26
Click to copy Build an image upload API endpoint in Next.js that accepts images, validates file types (jpg, png only), compresses them, uploads to Cloudinary or S3, and returns the public URL.

When to use:

User profile pictures or content uploads

Example output: Image upload with validation and cloud storage
PROMPT #27
Click to copy Create a pagination system for a REST API. Accept 'page' and 'limit' query parameters. Return data with metadata (total items, total pages, current page, next/prev page URLs).

When to use:

Large datasets that need pagination

Example output: Paginated API responses with navigation links
PROMPT #28
Click to copy Build a GraphQL API with Apollo Server and Express. Define schemas for User and Post with queries (users, user, posts, post) and mutations (createUser, createPost). Include authentication.

When to use:

Flexible API for complex data fetching

Example output: GraphQL server with schema and resolvers
PROMPT #29
Click to copy Create a server-sent events (SSE) endpoint in Express.js that streams real-time updates to clients. Include heartbeat to keep connection alive. Handle client disconnections gracefully.

When to use:

Real-time notifications or progress updates

Example output: SSE endpoint for streaming data to clients
PROMPT #30
Click to copy Build a search API endpoint that queries a database with full-text search. Support filtering by category, sorting by relevance/date, and pagination. Use PostgreSQL with tsquery or Elasticsearch.

When to use:

Search functionality in your app

Example output: Full-text search with filters and sorting
🗄️

Database (10)

PROMPT #31
Click to copy Create a Prisma schema for a blog app with User, Post, and Comment models. Include proper relationships (user has many posts, post has many comments). Add createdAt and updatedAt timestamps. Generate migrations.

When to use:

Setting up database schema with Prisma

Example output: Complete Prisma schema with relationships
PROMPT #32
Click to copy Write a database seeding script using Prisma that creates 10 sample users, 50 posts, and 200 comments with realistic fake data using Faker.js. Include proper foreign key relationships.

When to use:

Populating development database with test data

Example output: Seed script with realistic demo data
PROMPT #33
Click to copy Create a Supabase database schema for a task management app. Include tables for users (handled by auth), projects, tasks, and tags. Set up row-level security policies so users can only see their own data.

When to use:

Supabase schema with security policies

Example output: SQL for tables and RLS policies
PROMPT #34
Click to copy Build database helper functions with Prisma for common operations: createUser, getUserById, updateUser, deleteUser, getAllUsers with pagination. Include proper error handling and TypeScript types.

When to use:

Reusable database query functions

Example output: Typed database utilities for CRUD operations
PROMPT #35
Click to copy Create a database migration script that adds a new 'premium' boolean column to the users table, sets it to false for existing users, and creates an index on this column for faster queries.

When to use:

Adding new columns to existing tables

Example output: Safe migration with default values and indexes
PROMPT #36
Click to copy Build a soft delete system with Prisma. Add a 'deletedAt' column to models. Create custom findMany/findUnique functions that exclude deleted records by default. Include a 'withDeleted' option.

When to use:

Recoverable deletes instead of hard deletes

Example output: Soft delete implementation with helper functions
PROMPT #37
Click to copy Create a database backup script for PostgreSQL that exports the database to a .sql file with timestamp, compresses it, and uploads to S3. Include restoration instructions.

When to use:

Automated database backups

Example output: Backup script with S3 upload and restore docs
PROMPT #38
Click to copy Write optimized database queries for a social media feed. Fetch posts with user data, like count, comment count, and whether current user has liked it. Use JOIN and subqueries efficiently. Limit 20 posts.

When to use:

Complex queries with multiple relationships

Example output: Optimized SQL with joins and aggregations
PROMPT #39
Click to copy Create database indexes for a high-traffic app. Add indexes on frequently queried columns (user email, post createdAt, tags). Include composite indexes for common filter combinations. Use Prisma schema.

When to use:

Optimizing database performance

Example output: Index definitions in Prisma schema
PROMPT #40
Click to copy Build a database connection pool manager for PostgreSQL with pg library. Handle connection errors, implement retry logic, graceful shutdown, and health checks. Export a reusable query function.

When to use:

Production-ready database connections

Example output: Robust connection pool with error handling
🐛

Debugging & Security (10)

PROMPT #41
Click to copy I'm getting this error: [paste error message]. Here's the relevant code: [paste code]. Expected behavior: [describe]. Actual behavior: [describe]. Explain the cause and provide a fix with comments.

When to use:

Debugging any error with context

Example output: Detailed explanation of the bug and fixed code
PROMPT #42
Click to copy Review this code for security vulnerabilities: [paste code]. Check for SQL injection, XSS, exposed secrets, improper authentication, and other common issues. Provide specific fixes for each vulnerability found.

When to use:

Security audit of your code

Example output: List of vulnerabilities with fixes
PROMPT #43
Click to copy Add comprehensive error handling to this code: [paste code]. Include try-catch blocks, user-friendly error messages, proper logging, and appropriate HTTP status codes. Don't change the core logic.

When to use:

Improving error handling

Example output: Same code with robust error handling
PROMPT #44
Click to copy This API call is failing in production but works locally. Here's the code: [paste]. Network error: [paste]. Environment: [describe]. Help me debug why it's failing and fix it.

When to use:

Environment-specific bugs

Example output: Diagnosis of env differences and solution
PROMPT #45
Click to copy Optimize this slow database query: [paste query]. It's taking 3+ seconds on a table with 100k rows. Suggest indexes, query rewrites, and best practices to make it faster. Explain why each change helps.

When to use:

Performance optimization

Example output: Optimized query with explanations
PROMPT #46
Click to copy Add input validation and sanitization to this form handler: [paste code]. Validate email format, password strength (min 8 chars, 1 number, 1 special char), and sanitize all inputs to prevent XSS.

When to use:

Securing user input

Example output: Code with validation and sanitization
PROMPT #47
Click to copy My React component is re-rendering too often causing performance issues. Here's the component: [paste]. Identify unnecessary re-renders and optimize using React.memo, useMemo, useCallback where appropriate.

When to use:

React performance optimization

Example output: Optimized component with memoization
PROMPT #48
Click to copy Implement rate limiting on this API endpoint to prevent abuse: [paste endpoint code]. Limit to 10 requests per minute per IP. Return 429 status with Retry-After header when limit exceeded.

When to use:

Protecting endpoints from spam

Example output: Endpoint with rate limiting middleware
PROMPT #49
Click to copy Add comprehensive logging to this function: [paste code]. Log function entry/exit, input parameters (without sensitive data), execution time, and any errors. Use Winston or Pino logger.

When to use:

Production debugging and monitoring

Example output: Function with structured logging
PROMPT #50
Click to copy Review this authentication flow for security issues: [paste code]. Check JWT implementation, password hashing, session management, CSRF protection, and secure cookie flags. Fix any vulnerabilities.

When to use:

Auth security audit

Example output: Secure authentication with best practices
✓ Prompt copied to clipboard!