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.
Manage dependencies with Poetry
Generate Prisma schemas and migrations
Debug complex issues systematically
Ensure complete switch statements
Generate well-structured notebooks
Write docs with Copilot assistance
Generate efficient pandas data analysis code
Refactor code safely and effectively
Organize SvelteKit applications effectively
Implement effective caching in Next.js
Set up state management solutions efficiently
Track performance and user behavior
Migrate JavaScript to TypeScript
Create smooth animations with Framer Motion
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.