diff --git a/.cursor/rules/comment-style/RULE.md b/.cursor/rules/comment-style/RULE.md new file mode 100644 index 00000000000..e15508a853a --- /dev/null +++ b/.cursor/rules/comment-style/RULE.md @@ -0,0 +1,9 @@ +--- +description: "Comment style conventions for code comments" +globs: "**/*.{rs}" +alwaysApply: true +--- + +# Overview + +Every sentence in comments must start with a capital letter and end with a period. Applies to line comments (`//`), doc comments (`///`), and block comments (`/* */`). diff --git a/.cursor/rules/run-commands-in-venv/RULE.md b/.cursor/rules/run-commands-in-venv/RULE.md new file mode 100644 index 00000000000..b5ae99a9d7d --- /dev/null +++ b/.cursor/rules/run-commands-in-venv/RULE.md @@ -0,0 +1,9 @@ +git aff --- +description: "Ensures commands are run within the virtual environment" +globs: "*" +alwaysApply: true +--- + +# Overview + +ALWAYS run ". sequencer_venv/bin/activate" before executing any terminal commands. diff --git a/.cursor/rules/test-execution/RULE.md b/.cursor/rules/test-execution/RULE.md new file mode 100644 index 00000000000..b7f2ecf9945 --- /dev/null +++ b/.cursor/rules/test-execution/RULE.md @@ -0,0 +1,9 @@ +--- +description: "Test execution patterns and best practices" +globs: "**/*.rs" +alwaysApply: true +--- + +# Overview + +When running specific tests, always use `-p` to compile only the specific crate.