Skip to content

1 or 2 credits, some free · 1 credit is about $1

pocketshelf

CLAUDE.md Rules for Next.js and Supabase

A ready-to-edit rules file for AI coding agents working in a Next.js, Supabase and Tailwind codebase.

ForDevelopers

Project rules: Next.js 16 + Supabase + Tailwind

You are working in a Next.js App Router codebase with Supabase and Tailwind CSS. Follow these rules on every task.

Ground rules

  • Read the relevant guide in node_modules/next/dist/docs before using a Next.js API you are not sure about. This version has breaking changes.
  • Prefer Server Components. Add "use client" only for interactivity, and keep client components small.

80% more in the full file

What's inside

Format
Markdown
Contents
Claude.md · 35 lines
Version
1.0 · Updated 3 Oct 2026
Licence
Personal What this means
Checked
Checked before it ships
  • CLAUDE.mdMarkdown · 2 KB
  • LICENSE.txtadded to every download

About this item

A single CLAUDE.md (also usable as AGENTS.md or .cursorrules) that tells an AI coding agent how to work in a Next.js App Router project with Supabase and Tailwind: server-first components, Row Level Security in every migration, server-only service-role access, design-token discipline, accessibility basics, testing expectations and commit style. Drop it in your repository root and edit the sections to match your team.

  • Cursor
  • Rules
  • Next.js
  • Claude
  • Supabase

Reviews

No reviews yet.

You might also grab