AI Rules
Pre-configured instruction files for AI coding agents.
Creator ships with instruction files for the most popular AI coding agents. These files give the AI context about the project's architecture, conventions, available commands, and patterns — so it can generate code that fits the codebase.
Included files
| File | Agent |
|---|---|
CLAUDE.md | Claude Code (CLI) |
.cursorrules | Cursor |
.windsurfrules | Windsurf |
.github/copilot-instructions.md | GitHub Copilot / VS Code |
All four files contain the same project instructions: available commands, architecture overview, auth patterns, database setup, billing conventions, and tech stack details.
What's covered
The instruction files tell the AI about:
- Commands —
npm run dev,npm run build,npm run db:migrate, etc. - Architecture — Route groups, access control patterns, key directories
- Auth guards — How to use
requireApiAuth(),requireApiAdmin(), subscription guards - Database — Drizzle ORM patterns, schema location, query conventions
- Billing — Plan configuration, free user defaults, webhook handling
- Tech stack — React 19, Tailwind CSS v4, Vercel AI SDK v6, shadcn/ui conventions
Customizing
As you build on top of Creator, update these files to reflect your own conventions, new features, and custom patterns. This keeps the AI aligned with your codebase as it evolves.