Cursor rule
.cursor/rules/basic.mdc[object Object]
Cursor rules
Quality
59/100
Scores the file, not the repository.Length
443 words
22 headings · 0 code blocksRepository
19
— · pushed 181 days agoLast changed
3 days ago
First indexed 3 days ago.123456---7description: Guidelines for writing clean, maintainable, and human-readable code. Apply these rules when writing or reviewing code to ensure consistency and quality.8globs:9---1011## Constants Over Magic Numbers12- Replace hard-coded values with named constants13- Use descriptive constant names that explain the value's purpose14- Keep constants at the top of the file or in a dedicated constants file1516## Meaningful Names17- Variables, functions, and classes should reveal their purpose18- Names should explain why something exists and how it's used19- Avoid abbreviations unless they're universally understood2021## Smart Comments22- Don't comment on what the code does - make the code self-documenting23- Use comments to explain why something is done a certain way24- Document APIs, complex algorithms, and non-obvious side effects2526## Single Responsibility27- Each function should do exactly one thing28- Functions should be small and focused29- If a function needs a comment to explain what it does, it should be split3031## DRY (Don't Repeat Yourself)32- Extract repeated code into reusable functions33- Share common logic through proper abstraction34- Maintain single sources of truth3536## Clean Structure37- Keep related code together38- Organize code in a logical hierarchy39- Use consistent file and folder naming conventions4041## Encapsulation42- Hide implementation details43- Expose clear interfaces44- Move nested conditionals into well-named functions4546## Code Quality Maintenance47- Refactor continuously48- Fix technical debt early49- Leave code cleaner than you found it5051## Verify Information52Always verify information before presenting it. Do not make assumptions or speculate without clear evidence.5354## File-by-File Changes55Make changes file by file and give me a chance to spot mistakes.5657## No Apologies58Never use apologies.5960## No Understanding Feedback61Avoid giving feedback about understanding in comments or documentation.6263## No Whitespace Suggestions64Don't suggest whitespace changes.6566## No Summaries67Don't summarize changes made.6869## No Inventions70Don't invent changes other than what's explicitly requested.7172## No Unnecessary Confirmations73Don't ask for confirmation of information already provided in the context.7475## Preserve Existing Code76Don't remove unrelated code or functionalities. Pay attention to preserving existing structures.7778## Single Chunk Edits79Provide all edits in a single chunk instead of multiple-step instructions or explanations for the same file.8081## No Implementation Checks82Don't ask the user to verify implementations that are visible in the provided context.8384## No Unnecessary Updates85Don't suggest updates or changes to files when there are no actual modifications needed.8687## Provide Real File Links88Always provide links to the real files, not x.md.8990## No Current Implementation91Don't show or discuss the current implementation unless specifically requested.
Also in glidea/zenfeed-web
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 |
|---|---|---|---|---|---|
| glidea/zenfeed-web.cursor/rules/ts.mdc · 19 | Cursor rules | styletypes | 48/100 | 3 days ago |
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 | |
| 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 | |
| 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 | |
| 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 |
