.cursorrules
Generate .cursorrules files automatically
A .cursorrules file tells Cursor AI how your project works — your coding style, preferred patterns, architecture decisions, and what to avoid. Caliber generates this file by analyzing your actual codebase, so the rules reflect how your team writes code.
What is a .cursorrules file?
The .cursorrules file lives in your project root and provides project-specific instructions to Cursor's AI assistant. When Cursor generates or edits code, it reads these rules to produce output that matches your conventions.
Without .cursorrules, Cursor uses generic patterns. With it, the AI knows to use your preferred state management library, follow your naming conventions, import from the right paths, and handle errors the way your team expects.
What Caliber detects for .cursorrules
- Naming conventions — camelCase vs snake_case, file naming patterns, component naming
- Framework patterns — React hooks, Next.js App Router, Express middleware, Django views
- Import style — absolute vs relative imports, path aliases, barrel exports
- Testing patterns — test framework, file locations, assertion style, mocking approach
- Error handling — try/catch patterns, error boundaries, custom error types
Generate .cursorrules in seconds
$ npm install -g @rely-ai/caliber
$ cd your-project
$ caliber init
# .cursorrules generated in your project root
Caliber also generates CLAUDE.md for Claude Code, MCP server configs, and copilot-instructions.md for GitHub Copilot — all from one command.
Generate your .cursorrules in 30 seconds.
Get Started