DeGraciaMathieu

13 mods across 1 repository, 4 stars between them.

DeGraciaMathieu/cursor-mdc-rules

Cursor rule Cursor

Avoid writing complex conditional expressions with multiple combined conditions. Encapsulate the logic into clearly named methods or objects to express intent rather than implementation details.

not rated 4 1y ago A 295 tokens

be_clear_not_clever

04

DeGraciaMathieu/cursor-mdc-rules

Cursor rule Cursor

Write code that is clear and readable rather than overly concise or clever. Prioritize human comprehension over clever syntax tricks.

not rated 4 1y ago A 321 tokens

DeGraciaMathieu/cursor-mdc-rules

Cursor rule Cursor

Comments should provide context or clarifications that the code alone cannot convey. They are not a substitute for clear code, but a complement to explain why something is done or what external constraints apply.

not rated 4 1y ago A 399 tokens

demeter_law

06

DeGraciaMathieu/cursor-mdc-rules

Cursor rule Cursor

A class should only interact with its direct dependencies. It must not reach through objects to access their internals or depend on transitive dependencies.

not rated 4 1y ago A 321 tokens

DeGraciaMathieu/cursor-mdc-rules

Cursor rule Cursor

A method should operate at a single level of abstraction from start to finish. It should either express a high-level intention ("what") or execute low-level implementation details ("how"), but not both.

not rated 4 1y ago A 39 tokens

DeGraciaMathieu/cursor-mdc-rules

Cursor rule Cursor

A method should limit the number of arguments it accepts. If a method has more than three arguments, consider grouping them into a single parameter object to reduce complexity and improve clarity.

not rated 4 1y ago A 381 tokens

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: