also rules

This commit is contained in:
zzstoatzz 2025-05-21 23:08:47 -05:00
commit 5aa19c381b
2 changed files with 17 additions and 0 deletions

7
.cursor/rules/debug.mdc Normal file
View file

@ -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

10
.cursor/rules/mre.mdc Normal file
View file

@ -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