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.
Generate creative and artistic code
Use Pydantic V2 for data validation
Ensure generated code meets accessibility standards
Generate comprehensive documentation
Create interactive data visualizations
Create memory-efficient iterators
Server state management with React Query
Generate scalable React architectures
Advanced agentic coding rules for the Antigravity framework.
Generate styled-components and emotion code
Implement observability stack
Optimize React Context usage for performance
Design scalable system architectures
Generate comprehensive error handling
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.