giselle / rules
Cursor rule556 starsChanged 12 months agoApache-2.0View on GitHub
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 1,533 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/design-mode.mdcCursor rule
- .cursor/rules/edit-workspace-tour.mdcCursor rule
- .cursor/rules/language-support.mdcCursor rule
- .cursor/rules/naming-guide.mdcCursor rule
- .cursor/rules/nodejs.mdcCursor rule
- .cursor/rules/update-ai-sdk.mdcCursor rule
- .cursor/rules/vercel-cli.mdcCursor rule
- add-modelSkill
The file
Show its rules and text
We split this development-guide.mdc into the rules it gives an agent
17 rules. About 0 are common, 6 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Run tests: pnpm -F <package> test or cd <directory> && vitest
- Very specific: line 15
Run specific test: cd <directory> && vitest <file.test.ts>
- Very specific: line 20
MUST run pnpm biome check --write [filename] after EVERY code modification
- Distinctive: line 21
All code changes must be formatted using Biome before being committed
- Distinctive: line 24
Use Biome for formatting with tab indentation and double quotes
- Very specific: line 25
Follow organized imports pattern (enabled in biome.json)
- Very specific: line 26
Use TypeScript for type safety.
- Distinctive: line 27
Use functional components with React hooks
- Very specific: line 28
Use Next.js patterns for web applications
- Distinctive: line 29
Follow package-based architecture for modularity
- Distinctive: line 30
Use async/await for asynchronous code rather than promises
- Very specific: line 35
Files: Use kebab-case for all filenames (e.g., user-profile.ts)
- Very specific: line 36
Components: Use PascalCase for React components and classes (e.g., UserProfile)
- Very specific: line 37
Variables: Use camelCase for variables, functions, and methods (e.g., userEmail)
- Very specific: line 38
Boolean Variables and Functions: Use prefixes like is, has, can, should for clarity:
- Very specific: line 41
Function Naming: Use verbs or verb phrases that clearly indicate purpose (e.g., calculateTotalPrice(), not process())
- Distinctive: line 42
Consistency: Follow these conventions throughout the codebase
≈ “Common” is an estimate: at least 1 in 5 of the 3,030 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: globs: *.tsx,*.ts alwaysApply: false --- # Giselle Development Guide ## Build, Test, and Lint Commands - Build all: `pnpm build` - Build specific packages: `pnpm build-sdk`, `pnpm build-data-type` - Type checking: `pnpm check-types` - Format code: `pnpm format` - Development: `pnpm dev` (playground), `pnpm dev:studio.giselles.ai` (studio) - Run tests: `pnpm -F <package> test` or `cd <directory> && vitest` - Run specific test: `cd <directory> && vitest <file.test.ts>` - Lint: `cd <directory> && biome check --write .` - Format modified files: `pnpm biome check --write [filename]` ## Critical Requirements - MUST run `pnpm biome check --write [filename]` after EVERY code modification - All code changes must be formatted using Biome before being committed ## Code Style Guidelines - Use Biome for formatting with tab indentation and double quotes - Follow organized imports pattern (enabled in biome.json) - Use TypeScript for type safety; avoid `any` types - Use functional components with React hooks - Use Next.js patterns for web applications - Follow package-based architecture for modularity - Use async/await for asynchronous code rather than promises - Error handling: use try/catch blocks and propagate errors appropriately - Tests should follow `*.test.ts` naming pattern and use Vitest ## Naming Conventions - **Files**: Use kebab-case for all filenames (e.g., `user-profile.ts`) - **Components**: Use PascalCase for React components and classes (e.g., `UserProfile`) - **Variables**: Use camelCase for variables, functions, and methods (e.g., `userEmail`) - **Boolean Variables and Functions**: Use prefixes like `is`, `has`, `can`, `should` for clarity: - For variables: `isEnabled`, `hasPermission` (not `status`) - For functions: `isTriggerRequiringCallsign()`, `hasActiveSubscription()` (not `requiresCallsign()` or `checkActive()`) - **Function Naming**: Use verbs or verb phrases that clearly indicate purpose (e.g., `calculateTotalPrice()`, not `process()`) - **Consistency**: Follow these conventions throughout the codebase
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

