HyperPrompt's Rules Library contains 328+ configuration files for Cursor, Windsurf, Claude, Gemini, Kiro, GitHub Copilot, and other AI coding assistants. AI coding rules are project instructions in a tool-supported format, such as .mdc, CLAUDE.md, or AGENTS.md, that customize how an AI assistant generates and refactors code for your tech stack and coding standards. Free to browse and copy.
Browse 328+ rules for Cursor, Gemini, Kiro, Claude, Windsurf, and more.
Cursor rule for React Server Components in the Next.js App Router covering client boundaries, serializable props, async params, streaming and secure Server Actions.
Generate configuration handling code
Create particle effect systems
Secure Node.js applications comprehensively
Generate complex animation systems
Rules provide project conventions and context to a coding assistant. Use the format and activation scope documented for your tool. Cursor supports .cursor/rules/*.mdc, Claude uses CLAUDE.md and scoped rule files, and other clients have their own formats. Rules guide a model; they do not guarantee that generated code follows every instruction.
Rule loading is controlled by the coding tool, and the model's response still needs review. Use the format and scope documented for your tool and verify that it loads the rule before testing the output.
Many tools support multiple scoped rule files. Keep instructions focused and check precedence. The Rules Generator creates a Cursor .mdc rule or an AGENTS.md starting point.
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.
You can browse and copy the public entries. Check the original source and license for reuse requirements, and review instructions before applying them to your project.