From 04244fc3f7026737a65d33f35ed53873d8856c8c Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 24 Apr 2026 13:04:47 +0200 Subject: [PATCH] Add AGENTS.md and CLAUDE.md Co-Authored-By: Claude (Opus 4.7) --- AGENTS.md | 10 ++++++++++ CLAUDE.md | 1 + 2 files changed, 11 insertions(+) create mode 100644 AGENTS.md create mode 100644 CLAUDE.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000..97d1e0c0 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,10 @@ +- Use `make help` to find available development targets +- Run `make fmt` to format `.go` files, and run `make lint-go` to lint them +- Run `make tidy` after any `go.mod` changes +- Run single go unit tests with `go test -run '^TestName$' ./modulepath/` +- Add the current year into the copyright header of new `.go` files +- Ensure no trailing whitespace in edited files +- Never force-push, amend, or squash unless asked. Use new commits and normal push for pull request updates +- Preserve existing code comments, do not remove or rewrite comments that are still relevant +- Include authorship attribution in issue and pull request comments +- Add `Co-Authored-By` lines to all commits, indicating name and model used diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 00000000..43c994c2 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +@AGENTS.md