Home / Shop / AI

Cursor Rules + AGENTS.md Pack for Next.js 16 & React Native (Expo)

Cursor Rules + AGENTS.md Pack for Next.js 16 & React Native (Expo)

$24

23 ready-to-use Cursor .mdc rules, two AGENTS.md + CLAUDE.md sets and 30 prompts that get Cursor, Claude Code, Codex and Copilot following the same rules in Next.js 16 and Expo SDK 58 projects.

About this product

AI coding agents forget your project rules every session, and each tool reads instructions from a different file. This pack gives you one maintained set of rules that every major tool reads. It's built for the two stacks freelancers ship most: Next.js 16 and React Native with Expo SDK 58.

What's inside

Rules-Pack/nextjs/: AGENTS.md, CLAUDE.md, 15 Cursor project rules (.mdc) and 9 Claude Code path-scoped rules.

Rules-Pack/expo/: AGENTS.md, CLAUDE.md, 15 Cursor project rules and 6 Claude Code path-scoped rules.

Cursor-Rules-AGENTS-md-Pack-Guide.pdf (31 pages):

How Cursor, Claude Code, Codex and Copilot each load instructions.

The one-source-of-truth layout.

10-minute install and how to check each tool loaded the rules.

Every rule explained, plus how to write your own.

Troubleshooting and a maintenance routine.

Rules-Catalog-and-Setup-Tracker.xlsx:

A catalog of all 23 rules with Keep / Edit / Remove dropdowns.

A setup checklist with a progress bar.

A tool compatibility table.

A Mistake Log for turning repeated agent errors into rule fixes.

30-Rule-Prompts.txt: copy-paste prompts to fill in AGENTS.md from your repo, merge it with your existing rules, convert a legacy .cursorrules file, audit for conflicts, and daily build prompts for Next.js and Expo.

Quick-Start.pdf: a one-page setup guide.

Built for 2026 versions

Models still write code the way older versions worked. These rules fix that:

Next.js 16:

await params, await cookies().

proxy.ts instead of middleware.ts.

revalidateTag(tag, 'max'), updateTag() and "use cache".

Current next/image defaults.

Auth checked inside every Server Action.

Expo SDK 58 / React Native 0.88:

SDK 58 handling of EXPO_PUBLIC_ variables and .env files.

Expo Router changes.

Rules for Continuous Native Generation (CNG) and development builds.

No deep imports, and APIs removed in RN 0.87/0.88.

Tokens stored in expo-secure-store.

Works with

Cursor: .cursor/rules/*.mdc covering all four rule types.

Claude Code: CLAUDE.md imports AGENTS.md, plus .claude/rules.

AGENTS.md readers: OpenAI Codex, GitHub Copilot, Gemini CLI, Windsurf, Zed, Aider and other tools that read AGENTS.md.

Who it's for

Freelance and agency developers who start new Next.js or Expo projects often, solo founders building with Cursor or Claude Code, and small teams that use more than one AI tool.

Good to know

These are plain Markdown instruction files, not an app or a code template. You don't install anything.

Every tool behaviour and framework fact was checked against official docs on 19 October 2026: Cursor, agents.md, Claude Code, Codex, GitHub Copilot, Next.js and Expo. Sources are listed in the guide.

Rules guide AI agents but don't guarantee their output. Keep your tests, linters and CI.

License: unlimited personal and client projects. Edit the rules freely inside them. Don't resell or redistribute the pack.