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:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
description: Applies fundamental coding principles like DRY, KISS, YAGNI, and the Boy Scout Rule to all files in the project.
|
||||
globs: **/*.*
|
||||
---
|
||||
- Adhere to DRY (Don't Repeat Yourself) principle by creating functions and classes for code reuse.
|
||||
- Follow Curly's Law: Ensure each entity (class, function, variable) has one clear purpose.
|
||||
- Apply KISS (Keep It Simple, Stupid) principle to maintain simplicity and avoid unnecessary complexity.
|
||||
- Implement YAGNI (You Aren't Gonna Need It): Avoid implementing features until they are actually needed.
|
||||
- Refrain from premature optimization; focus on critical areas.
|
||||
- Apply the Boy Scout Rule: Always leave the code better than you found it.
|
||||
- Code for the maintainer, considering long-term maintainability.
|
||||
- Follow the Principle of Least Astonishment; code should behave as expected.
|
||||
Reference in New Issue
Block a user