Cursor rule
.cursor/rules/readme.mdcNOWCRM development rules and best practices
Cursor rules
Quality
73/100
Scores the file, not the repository.Length
519 words
23 headings · 1 code blocksRepository
26
— · pushed 116 days agoLast changed
3 days ago
First indexed 3 days ago.123456# Twenty Development Rules78This directory contains NOWCRM's development guidelines and best practices in the modern Cursor Rules format (MDC). These rules are automatically applied based on file patterns and provide context-aware guidance to AI assistants.910## Rules Overview1112### Core Guidelines13- **architecture.mdc** - Project overview, technology stack, and infrastructure setup (Always Applied)1415### Code Quality16- **typescript-guidelines.mdc** - TypeScript best practices and conventions (Auto-attached to .ts/.tsx files)17- **code-style.mdc** - General coding standards and style guide (Auto-attached to code files)18- **file-structure.mdc** - File and directory organization patterns (Auto-attached to config files)1920### React Development21- **react-general-guidelines.mdc** - Core React development principles (Auto-attached to React files)2223### Testing & Quality24- **testing-guidelines.mdc** - Testing strategies and best practices (Auto-attached to test files)2526### Internationalization27- **translations.mdc** - Translation workflow and i18n setup (Auto-attached to locale files)2829## How Rules Work3031### Automatic Attachment32Rules are automatically included in your AI context based on file patterns (globs). When you work on TypeScript files, the TypeScript guidelines are automatically loaded.3334### Manual Reference35You can manually reference any rule using the `@ruleName` syntax:36- `@react-general-guidelines` - Load React best practices37- `@testing-guidelines` - Get testing recommendations3839### Rule Types Used40- **Always Applied** - Loaded in every context (architecture.mdc, README.mdc)41- **Auto Attached** - Loaded when matching file patterns are referenced42- **Agent Requested** - Available for AI to include when relevant43- **Manual** - Only included when explicitly mentioned4445## Development Commands4647### Frontend Commands4849todo:5051### Backend Commands5253todo:5455## Usage Guidelines5657### For Developers58- Rules are automatically applied based on file context59- Check rule descriptions to understand when they're activated60- Use manual references (`@ruleName`) for additional context61- Keep rules updated as the codebase evolves6263### For AI Assistants64- Rules provide consistent guidance across conversations65- Use rule context to maintain coding standards66- Reference specific rules when making recommendations67- Apply rule principles in code suggestions and reviews6869## Contributing to Rules7071### Adding New Rules721. Create a new `.mdc` file in this directory732. Include proper metadata headers with description and globs743. Write clear, actionable guidelines with examples754. Test the rule with relevant file patterns765. Update this README if needed7778### Updating Existing Rules791. Modify the rule content while preserving metadata802. Test changes with affected file patterns813. Ensure consistency with other rules824. Update examples and best practices as needed8384## Rule Format Reference8586Each rule file uses the MDC format with metadata:8788```markdown89---90description: Brief description of the rule's purpose91globs: ["**/*.ts", "**/*.tsx"] # File patterns for auto-attachment92alwaysApply: false # Whether to always include this rule93---9495# Rule Title9697Rule content in Markdown format...98```99100## Migration from Legacy Format101102The rules have been migrated from the legacy `.md` format to the modern `.mdc` format, providing:103- Better context awareness through file pattern matching104- Improved organization with metadata headers105- More flexible rule application strategies106- Enhanced integration with Cursor's AI features107108For the most up-to-date version of these guidelines, always refer to the files in this directory.
Also in nowtec/nowCRM
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| nowtec/nowCRM.cursor/rules/architecture.mdc · 26 | Cursor rules | arch | 54/100 | 3 days ago | |
| nowtec/nowCRM.cursor/rules/code-style.mdc · 26 | Cursor rules | lint-formatstylearchdocs | 62/100 | 3 days ago | |
| nowtec/nowCRM.cursor/rules/file-structure.mdc · 26 | Cursor rules | buildstylearch | 70/100 | 3 days ago | |
| nowtec/nowCRM.cursor/rules/react-general-guidelines.mdc · 26 | Cursor rules | archuiperformancedo-not | 61/100 | 3 days ago | |
| nowtec/nowCRM.cursor/rules/testing-guidelines.mdc · 26 | Cursor rules | setupteststylearch+3 | 73/100 | 3 days ago | |
| nowtec/nowCRM.cursor/rules/translations.mdc · 26 | Cursor rules | stylearchagent-behaviour | 62/100 | 3 days ago | |
| nowtec/nowCRM.cursor/rules/typescript-guidelines.mdc · 26 | Cursor rules | styletypesui | 58/100 | 3 days ago | |
| nowtec/nowCRMCLAUDE.md · 26 | CLAUDE.md | buildstyledeployment | 21/100 | 3 days ago |
Diff against .cursor/rules/architecture.mdc Diff against .cursor/rules/code-style.mdc Diff against .cursor/rules/file-structure.mdc Diff against .cursor/rules/react-general-guidelines.mdc Diff against .cursor/rules/testing-guidelines.mdc Diff against .cursor/rules/translations.mdc Diff against .cursor/rules/typescript-guidelines.mdc Diff against CLAUDE.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
