Skip to content
Prompt

nextjs-quick-starter — Cursor Rules

by abidjappie

AI Summary

A comprehensive Cursor Rules booster that establishes security-first development standards for modern Next.js projects, helping developers build type-safe, authenticated applications with built-in best practices for validation, secrets management, and authorization.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "nextjs-quick-starter — Cursor Rules" prompt rules to my project.
Repository: https://github.com/abidjappie/nextjs-quick-starter

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

A modern Next.js starter template with best practices built-in. Features Next.js 16, React 19, TypeScript, Drizzle ORM, TanStack libraries, and Vercel AI SDK.

🎯 Critical Requirements

Security, Stability, and Best Practices - ALWAYS follow these principles:

Project Overview

This is a Next.js 16 application using React 19, Vercel AI SDK, Drizzle ORM, shadcn/ui, and Tailwind CSS v4.

Code Quality & Developer Tools

• Biome v2 - Fast linting and formatting (latest v2) • Lefthook v2 - Git hooks automation (latest v2) • i18next-cli - Internationalization tools (if needed)

Advanced App Router Features

• Route Groups: Use (folder) for organization without affecting URL structure • Parallel Routes: Use @folder for simultaneous page rendering (dashboards, modals) • Intercepting Routes: Use (..)folder for modal-like experiences • Dynamic Routes: Use [slug] for dynamic segments, [...slug] for catch-all • Route Handlers: Create API routes with route.ts (GET, POST, PUT, DELETE, etc.) • Proxy: Use proxy.ts for request/response manipulation (replaces middleware.ts in Next.js 16) • Metadata API: Export metadata object or generateMetadata function for SEO • generateStaticParams: For static generation of dynamic routes • Streaming: Use Suspense and loading.tsx for progressive rendering

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 4mo ago
Stale
AdoptionUnder 100 stars
6 ★ · Niche
DocsREADME + description
Well-documented

GitHub Signals

Stars6
Issues1
Updated4mo ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more