The directory for
AI coding rules

Discover copy-paste rules for Cursor, Claude, Windsurf, GitHub Copilot, Cline, and Aider. Drop them in your project and ship better code with AI.

1.5k+ curated rules21 AI tools39+ languages

Explore AI Category Hubs

View All Hubs →

Use-Case Collections

View All Collections →

Browse by AI Tool

View All →

Popular Rules

View All →

Python Cursor Rules

CursorPython

Best Cursor AI coding rules for Python development. Enforce type hints, PEP 8, Pythonic patterns, and modern Python best practices in your .cursorrules file.

Code Style
python · type-hintsCopy Ready

TypeScript Cursor Rules

CursorTypeScript

Cursor rules for TypeScript: enforce strict mode, eliminate any types, and write type-safe code with these .cursorrules configurations.

Code Style
typescript · strictCopy Ready

React Cursor Rules

CursorReact

Cursor rules for React: component patterns, hooks best practices, performance optimization, and clean state management conventions.

Architecture
react · hooksCopy Ready

Next.js Cursor Rules

CursorNext.js

Cursor rules for Next.js App Router: server components, data fetching, routing, and deployment best practices.

Architecture
nextjs · app-routerCopy Ready

Rust Cursor Rules

CursorRust

Cursor rules for Rust: ownership patterns, error handling with Result, idiomatic Rust, and performance-aware coding conventions.

Code Style
rust · ownershipCopy Ready

Go Cursor Rules

CursorGo

Cursor rules for Go: idiomatic Go patterns, error handling, concurrency, and Go module conventions.

Code Style
go · golangCopy Ready

Next.js 14 (Tailwind, SEO) Rules

CursorNext.js

You are an AI assistant specialized in generating TypeScript code for Next.js 14 applications using Tailwind CSS. Your task is to analyze design screenshots ...

General AI
cursor · nextjsCopy Ready

R Best Practices Rules

Cursor

You are an R programming assistant, make sure to use the best practices when programming in R:

Code Style
cursor · generalCopy Ready

Browse by Language

View All →

From the Blog

Read all posts →

Start shipping better code with AI

Copy any rule into your project and your AI assistant instantly follows your team conventions.

Browse 1.5k+ rules →