30 rules for Claude Code
Claude Code rules for Next.js: App Router, TypeScript and Server Actions. Structure, data, errors, security, performance, and tests. Next.js 16.4.6, Nov 2026.
# Next.js Claude Code Rules: App Router, TypeScript and Server Actions
## Install
Install the native export at `.claude/rules/nextjs-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Next.js Claude Code Rules: App Router, TypeScript and Server Actions
Path-scoped Claude Code rule for Next.js. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Next.js 16.4.6, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Read `package.json`, the lockfile, and `next.config` ...Claude Code rules for React: Components, State and Effects. Structure, data, errors, security, performance, and tests. React 19.3.1, Nov 2026.
# React Claude Code Rules: Components, State and Effects
## Install
Install the native export at `.claude/rules/react-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# React Claude Code Rules: Components, State and Effects
Path-scoped Claude Code rule for React. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for React 19.3.1, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Build the tree from function components. One component owns one job....Claude Code rules for Python: Environments, Types and pytest. Structure, data, errors, security, performance, and tests. uv 0.13.7 and Ruff 0.17.4, Nov 2026.
# Python Claude Code Rules: Environments, Types and pytest
## Install
Install the native export at `.claude/rules/python-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Python Claude Code Rules: Environments, Types and pytest
Path-scoped Claude Code rule for Python. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for uv 0.13.7 and Ruff 0.17.4, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Read `pyproject.toml` and the lockfile first. The...Claude Code rules for TypeScript: Strict Types and Runtime Checks. Structure, data, errors, security, performance, and tests. TypeScript 7.0.2, Nov 2026.
# TypeScript Claude Code Rules: Strict Types and Runtime Checks
## Install
Install the native export at `.claude/rules/typescript-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# TypeScript Claude Code Rules: Strict Types and Runtime Checks
Path-scoped Claude Code rule for TypeScript. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for TypeScript 7.0.2, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
`tsconfig.json` is the source of truth. ...Claude Code rules for Supabase: Auth, RLS and Typed Queries. Structure, data, errors, security, performance, and tests. supabase-js 2.119.0, Nov 2026.
# Supabase Claude Code Rules: Auth, RLS and Typed Queries
## Install
Install the native export at `.claude/rules/supabase-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Supabase Claude Code Rules: Auth, RLS and Typed Queries
Path-scoped Claude Code rule for Supabase. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for supabase-js 2.119.0, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
The browser uses a publishable key (`sb_publishable_....Claude Code rules for Tailwind CSS: CSS-First Tokens and Accessible UI. Structure, data, errors, security, performance, and tests. Tailwind CSS 4.3.5, Nov 2026.
# Tailwind CSS Claude Code Rules: CSS-First Tokens and Accessible UI
## Install
Install the native export at `.claude/rules/tailwind-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Tailwind CSS Claude Code Rules: CSS-First Tokens and Accessible UI
Path-scoped Claude Code rule for Tailwind CSS. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Tailwind CSS 4.3.5, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Read the stylesheet entry an...Claude Code rules for Playwright: Locators, Fixtures and Assertions. Structure, data, errors, security, performance, and tests. Playwright 1.65.0, Nov 2026.
# Playwright Claude Code Rules: Locators, Fixtures and Assertions
## Install
Install the native export at `.claude/rules/playwright-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Playwright Claude Code Rules: Locators, Fixtures and Assertions
Path-scoped Claude Code rule for Playwright. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Playwright 1.65.0, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Tests live in the directory the con...Claude Code rules for Node.js: ESM, Cancellation and Streams. Structure, data, errors, security, performance, and tests. Node.js 26.13.1 LTS, Nov 2026.
# Node.js Claude Code Rules: ESM, Cancellation and Streams
## Install
Install the native export at `.claude/rules/nodejs-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Node.js Claude Code Rules: ESM, Cancellation and Streams
Path-scoped Claude Code rule for Node.js. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Node.js 26.13.1 LTS, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Node.js 26.13.1 Lithium is the active LTS on nodejs.org. The newest dist...Claude Code rules for React Native: Expo, Navigation and Native Lifecycle. Structure, data, errors, security, performance, and tests. React Native 0.88.1, Nov 2026.
# React Native Claude Code Rules: Expo, Navigation and Native Lifecycle
## Install
Install the native export at `.claude/rules/react-native-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# React Native Claude Code Rules: Expo, Navigation and Native Lifecycle
Path-scoped Claude Code rule for React Native. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for React Native 0.88.1, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Read `app.json` o...Claude Code rules for Vue: Script Setup, Composables and SSR. Structure, data, errors, security, performance, and tests. Vue 3.5.45, Nov 2026.
# Vue Claude Code Rules: Script Setup, Composables and SSR
## Install
Install the native export at `.claude/rules/vue-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Vue Claude Code Rules: Script Setup, Composables and SSR
Path-scoped Claude Code rule for Vue. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Vue 3.5.45, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
New components use `<script setup lang="ts">` when the project is on V...Claude Code rules for Angular: Standalone Components, Signals and Forms. Structure, data, errors, security, performance, and tests. Angular 22.2.6, Nov 2026.
# Angular Claude Code Rules: Standalone Components, Signals and Forms
## Install
Install the native export at `.claude/rules/angular-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Angular Claude Code Rules: Standalone Components, Signals and Forms
Path-scoped Claude Code rule for Angular. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Angular 22.2.6, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
New components are standalone. They ...Claude Code rules for FastAPI: Pydantic Models, Dependencies and Async. Structure, data, errors, security, performance, and tests. FastAPI 0.162.5, Nov 2026.
# FastAPI Claude Code Rules: Pydantic Models, Dependencies and Async
## Install
Install the native export at `.claude/rules/fastapi-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# FastAPI Claude Code Rules: Pydantic Models, Dependencies and Async
Path-scoped Claude Code rule for FastAPI. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for FastAPI 0.162.5, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Routers are split by resource. A rout...Claude Code rules for Prisma: Schema, Migrations and Query Shape. Structure, data, errors, security, performance, and tests. Prisma 7.10.1 stable, Nov 2026.
# Prisma Claude Code Rules: Schema, Migrations and Query Shape
## Install
Install the native export at `.claude/rules/prisma-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Prisma Claude Code Rules: Schema, Migrations and Query Shape
Path-scoped Claude Code rule for Prisma. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Prisma 7.10.1 stable, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
The npm `latest` tag for `prisma` is an 8.0 release candidate. T...Claude Code rules for Go: Errors, Context and Goroutines. Structure, data, errors, security, performance, and tests. Go 1.27.4, Nov 2026.
# Go Claude Code Rules: Errors, Context and Goroutines
## Install
Install the native export at `.claude/rules/go-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Go Claude Code Rules: Errors, Context and Goroutines
Path-scoped Claude Code rule for Go. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Go 1.27.4, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Go 1.27.4 is the current stable release on `go.dev/dl`. Go 1.26.11 is the other stable line. Stay o...Claude Code rules for Spring Boot: Injection, Transactions and Validation. Structure, data, errors, security, performance, and tests. Spring Boot 4.1 stable line, Nov 2026.
# Spring Boot Claude Code Rules: Injection, Transactions and Validation
## Install
Install the native export at `.claude/rules/spring-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Spring Boot Claude Code Rules: Injection, Transactions and Validation
Path-scoped Claude Code rule for Spring Boot. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Spring Boot 4.1, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Stay on the Spring Boot and JDK the build alre...Claude Code rules for .NET: Nullable Contracts, Async and Endpoints. Structure, data, errors, security, performance, and tests. .NET 10 LTS and .NET 11, Nov 2026.
# .NET Claude Code Rules: Nullable Contracts, Async and Endpoints
## Install
Install the native export at `.claude/rules/dotnet-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# .NET Claude Code Rules: Nullable Contracts, Async and Endpoints
Path-scoped Claude Code rule for .NET. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for .NET 10 LTS and .NET 11, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
.NET 11 includes C# 15 unions and closed hierarchies. A p...Claude Code rules for Flutter: Widgets, Async UI and Platform Builds. Structure, data, errors, security, performance, and tests. Flutter 3.50, Nov 2026.
# Flutter Claude Code Rules: Widgets, Async UI and Platform Builds
## Install
Install the native export at `.claude/rules/flutter-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Flutter Claude Code Rules: Widgets, Async UI and Platform Builds
Path-scoped Claude Code rule for Flutter. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Flutter 3.50, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Write for the Flutter version in `pubspec.yaml` and the SDK co...Claude Code rules for SwiftUI: State, Concurrency and Availability. Structure, data, errors, security, performance, and tests. Swift 6.4, Nov 2026.
# SwiftUI Claude Code Rules: State, Concurrency and Availability
## Install
Install the native export at `.claude/rules/swiftui-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# SwiftUI Claude Code Rules: State, Concurrency and Availability
Path-scoped Claude Code rule for SwiftUI. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Swift 6.4, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Write for the Swift tools version and the deployment target in the pr...Claude Code rules for Django: ORM, Permissions and Migrations. Structure, data, errors, security, performance, and tests. Django 6.1.3, Nov 2026.
# Django Claude Code Rules: ORM, Permissions and Migrations
## Install
Install the native export at `.claude/rules/django-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Django Claude Code Rules: ORM, Permissions and Migrations
Path-scoped Claude Code rule for Django. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Django 6.1.3, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
An app owns its models, forms, and views. A view checks perm...Claude Code rules for Svelte: Runes, Load Functions and SSR. Structure, data, errors, security, performance, and tests. Svelte 5.57.3 and SvelteKit 3.2.0, Nov 2026.
# Svelte Claude Code Rules: Runes, Load Functions and SSR
## Install
Install the native export at `.claude/rules/svelte-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Svelte Claude Code Rules: Runes, Load Functions and SSR
Path-scoped Claude Code rule for Svelte. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for Svelte 5.57.3 and SvelteKit 3.2.0, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
Svelte 5.57.3 and `@sveltejs/kit` 3.2.0 are the npm latest ve...Loading all presets…