Add AGENTS.md and CLAUDE.md

This commit is contained in:
Bjørn Erik Pedersen
2026-01-25 13:35:28 +01:00
parent 576d55d009
commit 0fc63fbf57
2 changed files with 11 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
* Brevity is good.
* Assume that the maintainers and readers of the code you write are Go experts:
* Don't use comments to explain the obvious.
* Use self-explanatory variable and function names.
* Use short variable names when the context is clear.
* Never export symbols that's not needed outside of the package.
* Avoid global state at (almost) all cost.
* This is a project with a long history; assume that a similiar problem has been solved before, look hard for helper functions before creating new ones.
* Use `go test ./somepackage/...` when iterating.
* Use `mage check` when you're done.
+1
View File
@@ -0,0 +1 @@
@AGENTS.md