Cursor rule
.cursor/rules/self_improve.mdcGuidelines for continuously improving Cursor rules based on emerging code patterns and best practices.
Cursor rules
Quality
36/100
Scores the file, not the repository.Length
322 words
0 headings · 1 code blocksRepository
9.3k
— · pushed 0 days agoLast changed
2 days ago
First indexed 2 days ago.1234567- **Rule Improvement Triggers:**8 - New code patterns not covered by existing rules9 - Repeated similar implementations across files10 - Common error patterns that could be prevented11 - New libraries or tools being used consistently12 - Emerging best practices in the codebase1314- **Analysis Process:**15 - Compare new code with existing rules16 - Identify patterns that should be standardized17 - Look for references to external documentation18 - Check for consistent error handling patterns19 - Monitor test patterns and coverage2021- **Rule Updates:**22 - **Add New Rules When:**23 - A new technology/pattern is used in 3+ files24 - Common bugs could be prevented by a rule25 - Code reviews repeatedly mention the same feedback26 - New security or performance patterns emerge2728 - **Modify Existing Rules When:**29 - Better examples exist in the codebase30 - Additional edge cases are discovered31 - Related rules have been updated32 - Implementation details have changed3334- **Example Pattern Recognition:**35```typescript36 // If you see repeated patterns like:37 const data = await prisma.user.findMany({38 select: { id: true, email: true },39 where: { status: 'ACTIVE' }40 });4142 // Consider adding to [prisma.mdc](mdc:.cursor/rules/prisma.mdc):43 // - Standard select fields44 // - Common where conditions45 // - Performance optimization patterns46```4748- **Rule Quality Checks:**49 - Rules should be actionable and specific50 - Examples should come from actual code51 - References should be up to date52 - Patterns should be consistently enforced5354- **Continuous Improvement:**55 - Monitor code review comments56 - Track common development questions57 - Update rules after major refactors58 - Add links to relevant documentation59 - Cross-reference related rules6061- **Rule Deprecation:**62 - Mark outdated patterns as deprecated63 - Remove rules that no longer apply64 - Update references to deprecated rules65 - Document migration paths for old patterns6667- **Documentation Updates:**68 - Keep examples synchronized with code69 - Update references to external docs70 - Maintain links between related rules71 - Document breaking changes7273Follow [cursor_rules.mdc](mdc:.cursor/rules/cursor_rules.mdc) for proper rule formatting and structure.74
Also in we-promise/sure
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 |
|---|---|---|---|---|---|
| we-promise/sure.cursor/rules/api-endpoint-consistency.mdc · 9.3k | Cursor rules | styletesting-strategygitsecurity+2 | 57/100 | 2 days ago | |
| we-promise/sure.cursor/rules/cursor_rules.mdc · 9.3k | Cursor rules | no sections | 36/100 | 2 days ago | |
| we-promise/sure.cursor/rules/general-rules.mdc · 9.3k | Cursor rules | styledo-not | 44/100 | 2 days ago | |
| we-promise/sure.cursor/rules/project-conventions.mdc · 9.3k | Cursor rules | styledependenciesdatabaseui+2 | 59/100 | 2 days ago | |
| we-promise/sure.cursor/rules/project-design.mdc · 9.3k | Cursor rules | style | 58/100 | 2 days ago | |
| we-promise/sure.cursor/rules/stimulus_conventions.mdc · 9.3k | Cursor rules | no sections | 44/100 | 2 days ago | |
| we-promise/sure.cursor/rules/testing.mdc · 9.3k | Cursor rules | styletesting-strategy | 52/100 | 2 days ago | |
| we-promise/sure.cursor/rules/ui-ux-design-guidelines.mdc · 9.3k | Cursor rules | styledo-not | 49/100 | 2 days ago | |
| we-promise/sure.cursor/rules/view_conventions.mdc · 9.3k | Cursor rules | style | 52/100 | 2 days ago | |
| we-promise/sure.github/copilot-instructions.md · 9.3k | Copilot instructions | setuptestlint-formatstyle+10 | 88/100 | 2 days ago | |
| we-promise/sureAGENTS.md · 9.3k | AGENTS.md | buildtestlint-formatstyle+7 | 78/100 | 2 days ago | |
| we-promise/sureCLAUDE.md · 9.3k | CLAUDE.md | setuptestlint-formatstyle+11 | 93/100 | 2 days ago |
Diff against .cursor/rules/api-endpoint-consistency.mdc Diff against .cursor/rules/cursor_rules.mdc Diff against .cursor/rules/general-rules.mdc Diff against .cursor/rules/project-conventions.mdc Diff against .cursor/rules/project-design.mdc Diff against .cursor/rules/stimulus_conventions.mdc Diff against .cursor/rules/testing.mdc Diff against .cursor/rules/ui-ux-design-guidelines.mdc Diff against .cursor/rules/view_conventions.mdc Diff against .github/copilot-instructions.md Diff against AGENTS.md 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 | |
| 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 | |
| hiromaily/go-crypto-wallet.cursor/rules/proto.mdc · 126 | Cursor rules | buildlint-formatstylearch+3 | 96/100 | 3 days ago | |
| nerds-odd-e/doughnut.cursor/rules/cli.mdc · 49 | Cursor rules | setupbuildteststyle+4 | 96/100 | 3 days ago | |
| K-Mistele/opensearch.cursor/rules/default.mdc · 30 | Cursor rules | buildtestlint-formatstyle+2 | 94/100 | 3 days ago | |
| hiromaily/go-crypto-wallet.cursor/rules/task-context-loading.mdc · 126 | Cursor rules | archtypesdatabasedo-not+1 | 93/100 | 3 days ago |
