From 632ea8cdd53ee37215efc8984354dba934a52cf0 Mon Sep 17 00:00:00 2001 From: Jochem Wichers Hoeth Date: Wed, 11 Feb 2026 11:46:03 +0100 Subject: [PATCH 1/2] Add initial set of instructions for coding agents --- AGENTS.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 00000000..fedd2175 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,7 @@ +# Project Instructions + +## After code editing +* When you add, remove or modify files under pkg/formatter/templates/text/, run `make bindata` to regenerate pkg/formatter/templates/bindata.go. Commit updated bindata.go together with the template changes. +* When you add, remove of modify commands, run `make docs` to regenerate the files under docs/. Commit updated docs together with the command changes. +* Run `make format` and `make lint` to verify your code style. +* Run `make unit` to run the unit tests to verify your code changes. From e601b43e5ed2814326237235ff39b7e617f04246 Mon Sep 17 00:00:00 2001 From: Jochem Wichers Hoeth Date: Wed, 11 Feb 2026 11:48:27 +0100 Subject: [PATCH 2/2] Tell agents to check format and linter fixes --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index fedd2175..4642ef08 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,5 +3,5 @@ ## After code editing * When you add, remove or modify files under pkg/formatter/templates/text/, run `make bindata` to regenerate pkg/formatter/templates/bindata.go. Commit updated bindata.go together with the template changes. * When you add, remove of modify commands, run `make docs` to regenerate the files under docs/. Commit updated docs together with the command changes. -* Run `make format` and `make lint` to verify your code style. +* Run `make format` and `make lint` to verify your code style. If these result in changes, evaluate if the changes are sensible. If they are sensible, commit them together with your code changes. * Run `make unit` to run the unit tests to verify your code changes.