Best GPT Prompts & AI Prompt Library
Discover thousands of high-quality GPT prompts, ChatGPT prompts, and AI assistant prompts. Find the perfect prompt for your needs from our comprehensive library of 28 prompts across 11 categories.
Optimize This Code
Can you review and optimize the following code for speed and efficiency?...
Generate Application Ideas Based on User Needs
Propose 5 unique application ideas based on the following user needs: [insert user needs, e.g., 'improve productivity for remote teams']. For each ide...
Debug My Code
"Here's my code snippet. It throws an error I don't understand. Can you help debug it?" (Paste your code and describe the error)...
Test
sdasdasda asdasda sdasdasd...
Prompt1
Prompt1 Prompt1...
Instagram Stories content plan
Create a month-long Instagram Stories content plan for our [product launch], including ideas for polls, quizzes, behind-the-scenes content, and user-g...
Shadcn UI for a consistent, responsive, and accessible UI across the Next.js project
Review the entire Next.js codebase in `app/` and `src/` to identify components not using Shadcn UI. Update all components to use Shadcn UI (e.g., repl...
Centralize API Validation - Next.js
"Refactor API routes in app/api/ to use a centralized Zod validation schema in src/lib/validators.ts. Replace raw SQL with Prisma methods, handle vali...
Delete Unnecessary Files - Next.js
Analyze the entire Next.js project and identify unused code, including variables, functions, components, and imports. Remove them safely from files li...
next-sitemap Setup - Next.js
Set up next-sitemap in a Next.js project to automatically generate sitemap files for SEO purposes. Requirements: Initialize next-sitemap using npx n...
Centralize Route Middleware - Next.js
Move authentication logic from multiple API routes to a centralized middleware in middleware.ts. Use Prisma for type-safe user checks, handle errors w...
Clean Up Route Handlers
Refactor route handlers in app/api/* to simplify logic. Remove duplicated error handling, streamline GET/POST methods, and inline simple database quer...
Consolidate Duplicate Utility Functions
Scan the entire project for duplicate utility functions such as date formatting, slug generators, or ID validators. Centralize these into a single uti...
Robust Next.js UI System with Shadcn, Tailwind, TypeScript & Zod
You are a professional AI coding agent. Generate clean, scalable, and production-ready Next.js (App Router) code using TypeScript, Tailwind CSS, Shadc...
Production-Ready React UI Generator with Shadcn, Tailwind, TypeScript & Zod
You are a professional AI coding agent. Generate clean, production-ready React code using TypeScript, Tailwind CSS, Shadcn UI, and zod for validation....
Centralized Zod Schema Management for a Next.js Project
Design a centralized, scalable, and maintainable validation and typing system using Zod in a Next.js project. All schemas must be defined in a single,...
Context-Aware Centralized Seed Data in Next.js + Prisma
Build a centralized seed data system for a Next.js application using Prisma as the ORM. The system should automatically detect and replace any hardcod...
Streamline API Error Handling - Next.js
Refactor all API routes in app/api/ to use a centralized error handler in src/lib/error.ts. Replace raw SQL with Prisma methods, handle errors with tr...
Remove Unused API Routes
Scan app/api/ and delete unused route handlers. Update references in app/ and src/, ensuring no broken functionality. Use Prisma for type-safe queries...
Eliminate Duplicate API Logic - Next.js
Refactor app/api/ to remove duplicate logic across routes (e.g., similar database queries). Centralize queries in src/lib/prisma.ts using Prisma’s typ...
Clean Up API Routes - Next.js
Analyze app/api/ and delete unused route handlers. Remove related types and tests in src/types/ and tests/. Verify with npm run build that no routes a...
Remove Deprecated Configs - Next.js
Scan the project for deprecated configuration files (e.g., old next.config.js settings or unused .env variables). Delete or update them and verify wit...
Remove Redundant Middleware - Next.js
Review middleware.ts and remove unnecessary logic or checks (e.g., redundant auth checks). Simplify to handle only essential routes and maintain TypeS...
Remove Unused Dependencies and Code
Audit the project for unused dependencies and import statements. Use tools like depcheck, ts-prune, or eslint-plugin-unused-imports. Remove unnecessar...
Refactor to a Simpler Folder Structure
Analyze the existing folder and module structure. Identify unnecessary nesting (e.g., src/components/ui/buttons/primary) and deeply nested abstraction...
Consolidate POST Route Logic - Next.js
Merge similar POST handlers in app/api/ into a single app/api/submit/route.ts using Prisma’s type-safe create method for a submissions table. Avoid du...
Remove Redundant Shadcn UI Imports - Next.js
Analyze src/components/* for unused Shadcn UI imports (e.g., Button, Card) in a Next.js project. Remove them and update components to use minimal impo...
Optimize Server Actions - Next.js
Simplify server actions in app/actions.ts by removing redundant error handling and merging similar functions. Use Zod for validation, TypeScript for t...
About Our GPT Prompt Library
Welcome to the most comprehensive collection of GPT prompts and AI assistant prompts on the web. Our library features thousands of carefully curated prompts for ChatGPT, Claude, and other AI models.
Why Choose Our Prompt Collection?
- Quality Curated: Every prompt is reviewed and tested for effectiveness
- Diverse Categories: From business to creative writing, coding to marketing
- Community Driven: Prompts shared and rated by our active community
- Regular Updates: New prompts added daily to keep content fresh
- Free Access: All prompts are completely free to use and share
Popular Prompt Categories
Explore our most popular categories including writing prompts, business prompts, coding prompts, creative prompts, and marketing prompts. Each category contains dozens of specialized prompts designed to help you get the most out of your AI assistant.