P PasteCode

Prompts

Copy-paste task prompts for AI coding agents.

15 entries

Prompt ★ Popular

Prompt to Add Better Auth to Next.js with PostgreSQL

A copy-paste prompt for adding Better Auth and PostgreSQL session handling to a Next.js App Router project.

Next.jsPostgreSQLTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Add Cloudflare R2 File Upload

Copy-paste AI prompt to add Cloudflare R2 presigned upload URLs to a Next.js App Router project with server-side validation.

Next.jsCloudflareTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Add Dark Mode with Tailwind CSS v4

AI agent prompt to add system-aware dark mode to a Next.js app using Tailwind CSS v4 CSS variables and next-themes, with no flash on load.

Next.jsTypeScriptTailwind
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Add PostgreSQL Full-Text Search

Copy-paste AI prompt to add native PostgreSQL full-text search with tsvector, GIN index, and ranked results to an existing Next.js app.

Next.jsPostgreSQLTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Add a Sitemap and robots.txt

AI agent prompt to add a dynamically generated sitemap.xml and a correct robots.txt to a Next.js or Astro project for better search indexing.

Next.jsAstroTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Add Stripe Checkout to a Next.js App

AI agent prompt to add Stripe Checkout with webhook handling, customer portal, and subscription status to a Next.js App Router project.

Next.jsPostgreSQLTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Build a Cloudflare Worker API Proxy

Copy-paste AI prompt to build a Cloudflare Worker that proxies and rate-limits external API calls, adds auth headers, and caches responses.

CloudflareTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Build a Next.js AI Tool Directory

AI agent prompt to build a searchable Next.js AI tool directory with MDX data files, category filters, and static generation.

Next.jsTypeScriptTailwind
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Build a SaaS Pricing Page in Next.js

Copy-paste AI prompt to build a SaaS pricing page in Next.js with Tailwind, toggle billing, and Stripe-ready plan data.

Next.jsTypeScriptTailwind
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Build an Astro Static SEO Site

Copy-paste prompt for scaffolding a fully optimized Astro static site with content collections, sitemap, og-images, and TypeScript.

AstroTypeScriptTailwind
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Create a GitHub Actions Deploy Workflow

AI agent prompt to generate a production GitHub Actions CI/CD workflow for a Next.js app with type-check, test, build, and deploy steps.

Next.jsTypeScriptCloudflare
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Create an Admin Dashboard in Next.js

AI agent prompt to build a protected Next.js admin dashboard with data tables, server-side auth guards, and a sidebar layout using Tailwind.

Next.jsPostgreSQLTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Generate OG Images at Build Time

AI agent prompt to generate per-page Open Graph images at build time in Astro or Next.js using Satori and sharp, with no external service.

AstroNext.jsTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Migrate a Next.js 14 App to Next.js 16

Structured AI agent prompt to migrate a Next.js 14 App Router project to Next.js 16 with breaking-change handling and incremental steps.

Next.jsTypeScript
Cursor · Claude Code Updated Jun 8, 2026
Prompt

Prompt to Refactor a React Component Safely

Structured AI agent prompt to refactor a complex React component with a read-audit-refactor-verify loop that prevents regressions.

Next.jsTypeScript
Cursor · Claude Code Updated Jun 8, 2026