Cursor Rules Generator
Generate .cursorrules, .windsurfrules, .clinerules, CLAUDE.md or Copilot instructions from your stack, conventions, testing approach and rules.
Cursor Rules Generator
Tech Stack: Next.js, React, TypeScript Project Type: Web App Naming: camelCase for variables, PascalCase for components Imports: Absolute paths with aliases (@/) Patterns: - Functional components only - Clean architecture Testing: Jest + React Testing Library
Preview updated, 8 lines
Updated . Provided as is. Check the output before you rely on it in production.
How to use Cursor Rules Generator
- 1
Pick Cursor or Windsurf
Select Cursor for a .cursorrules file or Windsurf for .windsurfrules. The same form also produces CLAUDE.md, Copilot and Cline formats.
- 2
Describe your stack
Start from a quick template or fill in tech stack, project type, naming convention, import style and testing approach.
- 3
Add never-do and custom rules
List the mistakes the assistant must avoid and any project-specific conventions.
- 4
Copy or download
Copy the generated file or download it, then save it at your project root.
Questions and answers
What is a .cursorrules file?
Where does .windsurfrules go?
Can I generate CLAUDE.md or Copilot instructions here?
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/cursor-rules-generator/
For automation planning, fetch the canonical contract at /api/tool/cursor-rules-generator.json.