Code Style AI Coding Rules

45 rules focused on code style for all major AI coding tools.

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

PyTorch (scikit-learn) Rules

CursorPython

You are an expert in developing machine learning models for chemistry applications using Python, with a focus on scikit-learn and PyTorch.

Code Style
cursor · pythonCopy Ready

Tailwind CSS (Next.js Guide) Rules

CursorNext.js

Prompt Generation Rules:

Code Style
cursor · nextjsCopy Ready

TypeScript (Clasp App Script) Rules

CursorTypeScript

You are an expert in TypeScript and Google Apps Script development using clasp. Follow the user's requirements carefully and to the letter.

Code Style
cursor · typescriptCopy Ready

TypeScript (Vite, Tailwind) Rules

CursorTypeScript

You are an expert in TypeScript, Node.js, Vite, Vue.js, Vue Router, Pinia, VueUse, DaisyUI, and Tailwind, with a deep understanding of best practices and per...

Code Style
cursor · typescriptCopy Ready

Code Pair Interviews Rules

Cursor

You are an expert software developer focused on producing clean, well-structured, and professional-quality code, suitable for a code pair programming interview.

Code Style
cursor · generalCopy Ready

JavaScript/TypeScript Code Quality Rules

CursorTypeScript

You are a senior full-stack developer. One of those rare 10x developers that has incredible knowledge.

Code Style
cursor · typescriptCopy Ready

Next.js (React, Tailwind) Rules

CursorNext.js

- You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, and Tailwind and Framer Motion.

Code Style
cursor · nextjsCopy Ready

Web App Optimization Rules

Cursor

You are an expert in Svelte 5, SvelteKit, TypeScript, and modern web development.

Code Style
cursor · generalCopy Ready

TestRail Test Case Rules

Cursor

You are an experienced QA Engineer with expertise in writing clear, detailed test cases

Code Style
cursor · generalCopy Ready

Code Style Consistency Rules

Cursor

You are an expert code style analyst with a keen eye for pattern recognition and

Code Style
cursor · generalCopy Ready

Next.js 15 (React 19, Vercel AI, Tailwind) Rules

CursorNext.js

You are an expert senior software engineer specializing in modern web development, with deep expertise in TypeScript, React 19, Next.js 15 (App Router), Verc...

Code Style
cursor · nextjsCopy Ready

JavaScript (Astro, Tailwind CSS) Rules

CursorJavaScript

You are an expert in JavaScript, TypeScript, and Astro framework for scalable web development.

Code Style
cursor · javascriptCopy Ready

TypeScript (LLM Tech Stack) Rules

CursorTypeScript

You are an elite software engineer and product manager with the following expertise:

Code Style
cursor · typescriptCopy Ready

SvelteKit (Tailwind CSS, TypeScript) Rules

CursorTypeScript

Modible Project Standards

Code Style
cursor · typescriptCopy Ready

Go Cursor Rules

CursorGo

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

Code Style
go · golangCopy Ready

TypeScript (React) Rules

CursorTypeScript

const preferFunctionalComponents = true;

Code Style
cursor · typescriptCopy Ready

TypeScript (Next.js) Rules

CursorTypeScript

You are an expert in TypeScript, Node.js, Next.js App Router, Drizzle ORM, React, Daisy UI and Tailwind. Always run bun as a package manager (and not npm)

Code Style
cursor · typescriptCopy Ready

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

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

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

Angular (Novo Elements) Rules

CursorAngular

- Talk to me like a human

Code Style
cursor · angularCopy Ready

React (React Query) Rules

CursorReact

const preferFunctionalComponents = true;

Code Style
cursor · reactCopy Ready

Swift GitHub Copilot Instructions

GitHub CopilotSwift

GitHub Copilot instructions for Swift: SwiftUI, async/await, and modern iOS development patterns.

Code Style
swift · swiftuiCopy Ready

TypeScript (React, Next.js, Cloudflare) Rules

CursorTypeScript

You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI, Tailwind CSS and DrizzleORM.

Code Style
cursor · typescriptCopy Ready

Kotlin GitHub Copilot Instructions

GitHub CopilotKotlin

GitHub Copilot instructions for Kotlin: Android development, coroutines, and idiomatic Kotlin patterns.

Code Style
kotlin · androidCopy Ready

Vue.js GitHub Copilot Instructions

GitHub CopilotVue

GitHub Copilot instructions for Vue 3: Composition API, TypeScript, and modern Vue ecosystem.

Code Style
vue · nuxtCopy Ready

DragonRuby Best Practices Rules

CursorRuby

You are an expert game developer in Ruby using the DragonRuby Game Toolkit.

Code Style
cursor · rubyCopy Ready

GraphQL (Apollo Client) Rules

CursorGraphQL

const preferFunctionalComponents = true;

Code Style
cursor · graphqlCopy Ready

Java GitHub Copilot Instructions

GitHub CopilotJava

GitHub Copilot instructions for Java 21: virtual threads, records, sealed types, and modern Spring Boot patterns.

Code Style
java · springCopy Ready

Python Aider Conventions

AiderPython

Aider AI coding conventions for Python: CONVENTIONS.md patterns for automated refactoring and clean Python code.

Code Style
python · aiderCopy Ready

React (Styled Components) Rules

CursorReact

const preferFunctionalComponents = true;

Code Style
cursor · reactCopy Ready

React GitHub Copilot Instructions

GitHub CopilotReact

GitHub Copilot instructions for React: hooks, patterns, and best practices for modern React apps.

Code Style
react · copilotCopy Ready

TypeScript Windsurf Rules

WindsurfTypeScript

Windsurf rules for TypeScript: strict type safety, functional patterns, and modern TypeScript conventions.

Code Style
typescript · windsurfCopy Ready

Vue 3 (Composition API) Rules

CursorVue

const vue3CompositionApiBestPractices = [

Code Style
cursor · vueCopy Ready

CSS Cursor Rules

CursorCSS

Cursor rules for CSS: custom properties, logical properties, modern layout, and maintainable CSS architecture.

Code Style
css · stylingCopy Ready

PHP Cursor Rules

CursorPHP

Cursor rules for PHP: modern PHP 8 patterns, strict types, type declarations, and secure PHP development.

Code Style
php · php8Copy Ready

Python Cline Rules

ClinePython

Cline AI coding rules for Python: automated coding patterns and best practices for the Cline VS Code extension.

Code Style
python · clineCopy Ready

TypeScript GitHub Copilot Instructions

GitHub CopilotTypeScript

GitHub Copilot custom instructions for TypeScript: strict types, modern patterns, and team conventions.

Code Style
typescript · copilotCopy Ready

Vue.js Claude Rules

ClaudeVue

Claude rules for Vue 3: Composition API, Pinia, performance, and Vue ecosystem best practices.

Code Style
vue · piniaCopy Ready

Vue.js Cursor Rules

CursorVue

Cursor rules for Vue 3: Composition API patterns, script setup, TypeScript integration, and Vue ecosystem best practices.

Code Style
vue · composition-apiCopy Ready

Tailwind CSS Cline Rules

ClineTailwind CSS

Cline rules for Tailwind CSS: advanced patterns, animation, and scalable Tailwind architecture.

Code Style
tailwind · clineCopy Ready

Tailwind CSS Cursor Rules

CursorTailwind CSS

Cursor rules for Tailwind CSS: class organization, component extraction, responsive design, and dark mode conventions.

Code Style
tailwind · cssCopy Ready

Tailwind CSS Windsurf Rules

WindsurfTailwind CSS

Windsurf rules for Tailwind CSS: component organization, design system integration, and Tailwind v4 patterns.

Code Style
tailwind · windsurfCopy Ready

Flutter Expert Rules

CursorFlutter

const flutterBestPractices = [

Code Style
cursor · flutterCopy Ready