Next.js 15 + React 19 + Vercel AI
FreeRules for Next.js 15 App Router, React 19, the Vercel AI SDK and Tailwind CSS, with a plan-first process.
Purpose
Install the original Next.js 15 + React 19 + Vercel AI rule from PatrickJS/awesome-cursorrules and use it in Cursor.
Procedure
--- name: cursor-nextjs15-react19-ai description: Rules for Next.js 15 App Router, React 19, the Vercel AI SDK and Tailwind CSS, with a plan-first process. ---
Next.js 15 + React 19 + Vercel AI
Purpose
Install the original Next.js 15 + React 19 + Vercel AI rule from PatrickJS/awesome-cursorrules and use it in Cursor.
Procedure
Source: https://github.com/PatrickJS/awesome-cursorrules/blob/main/rules/nextjs15-react19-vercelai-tailwind-cursorrules-prompt-file.mdc Maintainer: Community (PatrickJS/awesome-cursorrules). Skilling lists this rule; the original lives in that repository.
Install
mkdir -p .cursor/rules curl -fsSL https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/nextjs15-react19-vercelai-tailwind-cursorrules-prompt-file.mdc -o .cursor/rules/nextjs15-react19-ai.mdc
Run this in the root of your project. Cursor loads .mdc files from .cursor/rules and applies them to the files matched by the globs line. Check Cursor Settings > Rules to see it listed.
What it does
- Analyzes the request before coding
- Next.js 15 and React 19 patterns
- Vercel AI SDK and Tailwind
How to use it
Cursor applies it in Agent and chat once the file is in .cursor/rules.
Example requests
1. Use Next.js 15 + React 19 + Vercel AI
Request: Cursor applies it in Agent and chat once the file is in .cursor/rules. Expected: Analyzes the request before coding.
Dependencies
Cursor, and curl.
Compatibility
This document follows the Agent Skills layout (a folder named cursor-nextjs15-react19-ai containing SKILL.md). Claude Code, Cursor, Codex, and Gemini CLI can load that file from the paths in the Skilling installation guide. GitHub Copilot does not load SKILL.md. Use the Copilot instructions copy, and narrow applyTo before you commit it.
Example prompts
Use Next.js 15 + React 19 + Vercel AI
Cursor applies it in Agent and chat once the file is in .cursor/rules.
Expected: Analyzes the request before coding.
Choose the agent
This skill is installed for one agent at a time. Pick the section you are using.
Related
- Next.js App Router
Next.js App Router practices: server components by default, client components only when needed.
- React Best Practices
Modern React patterns: small function components, custom hooks, composition and typed props.
- Tailwind CSS
Tailwind CSS and UI component practices: config, theme extension, spacing and breakpoints.
Reviews
No reviews yet.
Sign in to review.
Report a problem
Inaccurate steps, an unsafe instruction, or a licensing concern.
Sign in to report.