HyperPrompt's Rules Library contains 328+ configuration files for Cursor, Windsurf, Claude, Gemini, Kiro, GitHub Copilot, and other AI coding assistants. Rules customize AI behavior for your project's tech stack and coding standards. Free to browse and copy.
Browse 328+ rules for Cursor, Gemini, Kiro, Claude, Windsurf, and more.
Comprehensive Cursor rules for Next.js 14+ with App Router, including routing, layouts, and API patterns.
Cursor rules for TypeScript with strict type checking, advanced patterns, and best practices.
Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.
Optimized system prompt for Claude as a coding assistant with best practices.
Cursor rules for Node.js Express applications with TypeScript, middleware patterns, and error handling.
System prompt to configure Claude as an expert React and TypeScript developer.
Cursor rules for React Server Components and the App Router pattern in Next.js 14+.
System prompt for Claude to excel at Next.js App Router development.
Cursor rules for Prisma database development with TypeScript, migrations, and query optimization.
Configure Claude as a Python expert for backend and data science.
Best practices and patterns for using GitHub Copilot with TypeScript projects.
Cursor rules for testing React applications using Vitest and React Testing Library.
Optimize GitHub Copilot suggestions for React and TypeScript development.
Cursor rules for Rust development with focus on memory safety, ownership, and performance.
Configure Claude as a TypeScript expert for type-safe development.
Rules for Python backend development with FastAPI, including async patterns, type hints, and API design.
Cursor rules for Vue 3 development with Composition API, TypeScript, and Pinia state management.
Configure Claude to assist with Tailwind CSS and design systems.
Configure Copilot for Python development with type hints and docstrings.
Copilot configuration for strict TypeScript development.
System prompt for Claude to excel at Node.js backend development.
Optimized rules for Google Gemini Code Assist with context management and code generation preferences.
Configure Claude as a Go expert for backend and systems development.
Optimize Copilot for Next.js App Router patterns.
System prompt for Claude to assist with Rust systems programming.
System instructions for Gemini to excel at React and TypeScript development.
Cursor rules for SvelteKit applications with server-side rendering, load functions, and form actions.
Generate configuration handling code
Implement type guards for runtime type checking
Comprehensive testing strategies using pytest
Create particle effect systems
Secure Node.js applications comprehensively
Generate complex animation systems
System instructions for Gemini to help with Next.js App Router development.
AI coding rules are configuration files that shape how your AI coding assistant generates code. In Cursor, they're called .cursorrules; in Windsurf, .windsurfrules. Rules let you define coding standards, preferred frameworks, naming conventions, and project-specific patterns so the AI consistently produces code that matches your team's style. Instead of repeating instructions in every prompt, rules apply automatically to every AI interaction in your project.
Rules are tool-specific. Cursor rules work with all models inside Cursor (GPT-4, Claude, etc.). Windsurf rules work within Windsurf. Each tool has its own rule format, but the concepts are the same.
Most tools use a single rule file per project. You can combine content from multiple rules into one file. HyperPrompt's Rules Generator can help you build a combined file.
Start with a rule from this library and customize it. Or use the Cursor Rules Generator to create one from scratch based on your tech stack. Read our guide to writing Cursor rules for detailed instructions.
Yes. All rules in the library are free to download, copy, and use in any project. You can also submit your own rules to share with the community.