From 5aa19c381bb4fefd98431ce5eb5037dc65f520a9 Mon Sep 17 00:00:00 2001 From: zzstoatzz Date: Wed, 21 May 2025 23:08:47 -0500 Subject: [PATCH] also rules --- .cursor/rules/debug.mdc | 7 +++++++ .cursor/rules/mre.mdc | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .cursor/rules/debug.mdc create mode 100644 .cursor/rules/mre.mdc diff --git a/.cursor/rules/debug.mdc b/.cursor/rules/debug.mdc new file mode 100644 index 000000000..b9d756d8d --- /dev/null +++ b/.cursor/rules/debug.mdc @@ -0,0 +1,7 @@ +--- +description: +globs: +alwaysApply: false +--- +- prefer using your shell tool to find and `rg` through site-packages to your web tool when you need to know details on upstream libraries +- iterative, empirical observations are better than rumination \ No newline at end of file diff --git a/.cursor/rules/mre.mdc b/.cursor/rules/mre.mdc new file mode 100644 index 000000000..a5acf9e9c --- /dev/null +++ b/.cursor/rules/mre.mdc @@ -0,0 +1,10 @@ +--- +description: +globs: +alwaysApply: false +--- +- put a MINIMAL reproducible example in repros/{issue_number}.py +- afterwards, change the library as needed, if necessary +- test against the MRE +- add unit tests (in a sensible place) if applicable +- after adding tests, critically review them and the library changes \ No newline at end of file