P PasteCode

#Auth

9 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 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 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
Rule

AI Coding Rules for Auth and Security

AGENTS.md rules for authentication and security that prevent agents from rolling custom crypto, leaking secrets, or bypassing authorization checks.

Next.jsTypeScriptPostgreSQL
Cursor · Claude Code Updated Jun 8, 2026
Playbook

Prompt-to-PR: Add an Admin Data Table

SOP for adding a server-side paginated, sortable, searchable admin data table in Next.js using TanStack Table and a PostgreSQL query — no ORM magic.

Next.jsTypeScriptPostgreSQL
Cursor · Claude Code Updated Jun 8, 2026
Playbook ★ Popular

Prompt-to-PR: Add Better Auth to a Next.js App

Full SOP for wiring Better Auth into a Next.js App Router project — sessions, email/password, OAuth, and middleware protection in one pass.

Next.jsTypeScriptPostgreSQL
Cursor · Claude Code Updated Jun 8, 2026
Checklist

Checklist for Reviewing AI-Generated Auth Code

A human review checklist for authentication code written by AI coding agents — sessions, JWTs, OAuth flows, and authorization logic for web apps.

Next.jsTypeScriptPostgreSQL
Cursor · Claude Code Updated Jun 8, 2026
Checklist

Checklist for Reviewing AI-Generated Stripe Code

A human review checklist for Stripe integration code written by AI coding agents — webhook security, idempotency, race conditions, and payment flows.

Next.jsTypeScriptPostgreSQL
Cursor · Claude Code Updated Jun 8, 2026
Context Pack

Next.js SaaS Starter — Context Pack

Copyable context pack for a Next.js SaaS app with App Router, Better Auth, Stripe billing, and Postgres so your AI agent works correctly from prompt one.

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