From f924b3906617e7bbc855700cd4a695e722c56aa0 Mon Sep 17 00:00:00 2001 From: Oscar Wellner Date: Sun, 27 Sep 2026 12:10:53 +0200 Subject: [PATCH 1/2] docs: move shared agent instructions to parent folder The writing style and pull request rules, the CONTRIBUTING.md pointer, and the composite action rules were copied into the AGENTS.md of every D&D Mapp repository. They now live in the AGENTS.md of the folder that holds the repository checkouts, which Claude Code loads from parent directories. Only the project rules stay here. --- AGENTS.md | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c3983ca..7f857ea 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,30 +1 @@ # Agent instructions - -## Writing style - -- Never hard wrap prose. Write each paragraph or list item on a single line and let the editor wrap it. -- Use US spelling only, for example "color", "behavior", and "initialize". -- Keep every sentence at or under 40 words. -- Pretty print Markdown tables so the columns line up in the source. -- Give every separator line alignment markers (`:---`, `:---:`, or `---:`). -- Carry the separator line from edge to edge of each column, with no spaces between the pipes and the dashes. - -Example: - -| Option | Default | Description | -|:---------|:---------|:--------------------------| -| `strict` | `true` | Enables all strict checks | -| `target` | `es2025` | Emitted language version | - -After creating or updating a file that contains prose, including Markdown files, do reading passes over it until every rule above is satisfied. Fix any violation you find, then read the file again. - -## Pull requests - -Turn on auto-merge for every pull request you open, so it merges as soon as it is approved and the checks pass. - -1. Open the pull request with `gh pr create`. -2. Run `gh pr merge --auto --merge` on it. A merge commit is the only merge method the repository allows. - -- A draft cannot have auto-merge. Mark it ready with `gh pr ready ` first, then run the command above. -- When the user asks to keep a pull request open, leave auto-merge off. If it is already on, turn it off with `gh pr merge --disable-auto`. -- Release pull requests (`chore: release X.Y.Z`) come from the Prepare release workflow, which turns on auto-merge itself. Do not prepare a release commit by hand. The `tag` job of the Push main workflow tags their merge commit, which starts the release. From cbbfc8182662b0ecdfbaf0a61799d173247a9518 Mon Sep 17 00:00:00 2001 From: Oscar Wellner Date: Sun, 27 Sep 2026 12:38:49 +0200 Subject: [PATCH 2/2] docs: link contributing guide from agent instructions The CONTRIBUTING.md pointer targets a file in this repository, so it belongs here rather than in the shared AGENTS.md, which only loads in local checkouts. Point to it with a Markdown link. --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 7f857ea..e85a248 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1 +1,3 @@ # Agent instructions + +Read [CONTRIBUTING.md](CONTRIBUTING.md) for the layout, the checks, the release steps, and the commit and branch conventions.