21 lines
749 B
Markdown
21 lines
749 B
Markdown
# Important Rules
|
|
|
|
* when fixing a bug, write a failing test FIRST. only after the test fails, write
|
|
the code to fix the bug. then ensure the test passes. leave the test in
|
|
place and commit it with the bugfix. don't run shell commands to test
|
|
bugfixes or reproduce bugs. write tests!
|
|
|
|
* never, ever mention claude or anthropic in commit messages. do not use attribution
|
|
|
|
* after each change, run "make fmt".
|
|
|
|
* after each change, run "make test" and ensure all tests pass.
|
|
|
|
* after each change, run "make lint" and ensure no linting errors. fix any
|
|
you find, one by one.
|
|
|
|
* after each change, commit the files you've changed. push after
|
|
committing.
|
|
|
|
* NEVER use `git add -A`. always add only individual files that you've changed.
|