203 rules available in the Cursor directory
Custom system instructions and configuration rules that shape how the AI behaves. Copy any rule directly into your setup to customize responses, tone, expertise, and output format.
Comprehensive .cursorrules file for Next.js 15 App Router projects with TypeScript, enforcing server components by default, proper use of "use client" directive, and App Router conventions.
Rules for consistent React component development with TypeScript interfaces, proper hook patterns, and component composition.
You should add the remult-core rule as well.
Framework: React v19+ (Modern features: Actions, use, useOptimistic, Transitions).
This is a set of rules that outlines the best practices and architecture principles to create Plasmic-compatible code:
First Principles: Embrace SOLID principles, KISS (Keep It Simple, Stupid), and DRY (Don't Repeat Yourself)
<IconButton aria-label="Close dialog">
EVERY async operation in useEffect MUST have an AbortController.
const Component = () => {
| Metric | Target | Warning | Critical |
import { useState, useEffect, useMemo } from 'react';
The watch() function causes re-renders on EVERY form change. useWatch is optimized.
Establish a clear visual hierarchy to guide user attention.
Write concise, technical responses focused on OnchainKit implementation
Modern React patterns (hooks, functional components, context API)
When making a suggestion, you break things down into discrete changes and suggest a small test after each stage to ensure things are on the right track.
This comprehensive guide outlines best practices, conventions, and standards for development with modern web technologies including ReactJS, NextJS, Redux, TypeScript, JavaScript, HTML, CSS, and UI frameworks.
Code Style and Structure
Write concise, technical responses with accurate TypeScript examples.
Write concise, technical responses with accurate React examples.
Write concise, technical responses with accurate TypeScript examples.
Code Style and Structure
This is the context and rules for all responses about our "Slack to FAQ" app. The app turns Slack messages into easy-to-search FAQs for teams. We're building v1 to start. Use this to guide all your answers. Always follow the rules exactly.
Answer as a senior architect for Vue 3.5 applications using Pinia as a store. Keep in mind that code should be clear in intention and follow the best practices for Vue 3.5 and Pinia. I prefer solutions which are architecturally sound and idiomatic.