Skip to main content
KITS

Launch sale: 70% off every kit until 31 December. See the deals

Build with AI

Cursor Rules for Production Stacks

Modern .cursor/rules/*.mdc files so Cursor writes senior-level code for your stack

What it fixes

  • Cursor stops suggesting patterns that break your stack
  • Current .mdc format with correct globs + activation types — not the deprecated single .cursorrules file
  • Three production stacks: Next.js App Router, TypeScript/Node API, React + Tailwind UI
  • Server-vs-client boundaries, async params, Zod validation, error handling, a11y enforced without re-explaining every session
  • Includes a skill for adapting the rules to your own repo

Look inside

Real files from this kit. Open any unlocked one to read it; the rest unlock when you get the kit.

Kit / V04Build with AI

Cursor Rules for Production Stacks

Regular price $29Sale price $8.7070% off until 31 Dec11 files
kits / cursor-rules-production-stacks / README.md
# Cursor Rules: Production Stacks

Battle-tested `.cursor/rules/*.mdc` files that make the Cursor AI IDE write production-grade, stack-idiomatic code instead of generic output. Drop them in, and Cursor gets a senior engineer's conventions as context on every relevant edit.

## What's inside

```
rules/
  nextjs-app-router/      # Next.js 15/16 App Router · React 19
    core.mdc                  (Always)        server/client boundary, routing, env, TS
    data-fetching.mdc         (Auto-Attached) RSC fetching, caching, Server Actions
    forms-and-validation.mdc  (Auto-Attached) Zod + Server Actions + useActionState
  typescript-node-api/    # Node 20+ · TypeScript · Express/Fastify/Hono
    core.mdc                  (Always)        layering, validation, security, logging
    error-handling.mdc        (Auto-Attached) typed errors, central handler, responses
    testing.mdc               (Auto-Attached) Vitest/Jest, unit + integration
  react-tailwind-ui/      # React 19 · Tailwind CSS v4
    core.mdc                  (Always)        components, hooks, styling, performance
    components.mdc            (Auto-Attached) composition, variants, component API
    accessibility.mdc         (Auto-Attached) WCAG 2.2 AA
skills/
  using-cursor-rules/SKILL.md  # how the rule types work, install, adapt globs
```

Each rule uses the current Cursor `.mdc` format: YAML frontmatter (`description` / `globs` / `alwaysApply`) + a concise, imperative markdown body.

## Install

1. Pick the stack folder(s) you use under `rules/`.
2. Copy the `.mdc` files into your project's `.cursor/rules/` (flatten them or keep the subfolder — both work).
3. Reload Cursor. Check **Settings → Rules** to confirm each rule is detected with the expected type.
11 files, 4,197 words8 locked until you own the kit

Everything in the folder

Guides

  • README. which stack folder to drop into .cursor/rules/ and how the activation types differ

Tools

  • Next.js App Router rules. core conventions, data fetching, forms + validation (.mdc x3)
  • TypeScript/Node API rules. core, error handling, testing (.mdc x3)
  • React + Tailwind UI rules. core, components, accessibility (.mdc x3)
  • Using Cursor Rules. a Claude Code skill for adapting globs + activation to your repo

How to install

  1. Download the folderIt is available as soon as you pay, and again any time from your account.
  2. Open the install note for your toolInside the folder, start with the README. It says which file goes where for the tool you use.
  3. PasteCopy the files into your AI's instructions, project or rules, as the note describes. No software to run.

Who it's for

Developers and technical founders using Cursor as their primary editor who spend more time correcting AI suggestions than accepting them.

Who it isn’t for

People who are not yet building with these tools. The files assume you already work in them. A kit is files you use, not a course.

Questions

What are the best Cursor rules for Next.js?

Rules that are scoped by file glob and say what your stack's conventions are: server versus client components, async params, validation and error handling. This kit has three .mdc rule sets, one each for Next.js App Router, a TypeScript/Node API and React with Tailwind.

Do these use the new .cursor/rules format instead of .cursorrules?

Yes. The files are .mdc rules with globs and activation types, for the .cursor/rules/ folder, not the older single .cursorrules file.

Is this a course?

No. A course teaches you how to maybe build the thing. A kit is the thing: working agent files, templates, and playbooks you install and run the same afternoon. You are buying the artefact, not the explanation.

What exactly do I get?

4 tools, 1 guide — everything listed on this page, delivered as instant downloads from your account the moment checkout completes. Buy once, own forever, run in your own stack.

Which tools does this work with?

The files are written for the tools named on this page and drop into your existing setup. No KITS-specific runtime, no lock-in — plain files you keep.

Do I need to be technical?

This kit assumes you already build with the tools it targets. If you ship code with them, you are the audience.

Is this kit in All-Access?

No. This kit is sold on its own and is deliberately not part of the All-Access bundle.

What if it isn't right for me?

Individual kit purchases carry a 14-day money-back guarantee — email support with your order number and we refund it. The details live in the Terms.