mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 14:52:55 +08:00
rename folder
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
---
|
||||
description: This rule defines commenting standards for all code files, emphasizing purpose descriptions and including file path/name as a one-line comment.
|
||||
globs: *.js, *.jsx, *.ts, *.tsx, *.py, *.go
|
||||
---
|
||||
- Comments should be created where the operation isn't clear from the code, or where uncommon libraries are used
|
||||
- Code must start with path/filename as a one-line comment
|
||||
- Comments should describe purpose, not effect
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
---
|
||||
description: This rule focuses on code style, refactoring suggestions, and leveraging the latest ES and Node.js features for JavaScript, TypeScript, and Python files.
|
||||
globs: *.js, *.jsx, *.ts, *.tsx, *.py
|
||||
---
|
||||
- Use ES module syntax
|
||||
- Where appropriate suggest refactorings and code improvements
|
||||
- Favor using the latest ES and nodejs features
|
||||
- Don’t apologize for errors: fix them
|
||||
* If you can’t finish code, add TODO: comments
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
---
|
||||
description: This rule outlines general project practices, including agile methodologies, modularity, DRY principles, performance, and security considerations applicable to all files.
|
||||
globs: **/*.*
|
||||
---
|
||||
- Follow best practices, lean towards agile methodologies
|
||||
- Prioritize modularity, DRY, performance, and security
|
||||
- First break tasks into distinct prioritized steps, then follow the steps
|
||||
- Prioritize tasks/steps you’ll address in each response
|
||||
- Don't repeat yourself
|
||||
- Keep responses very short, unless I include a Vx value:
|
||||
- V0 default, code golf
|
||||
- V1 concise
|
||||
- V2 simple
|
||||
- V3 verbose, DRY with extracted functions
|
||||
Reference in New Issue
Block a user