add canonical agent instructions with per-tool symlinks

Store agent instructions at ~/.config/agents/AGENTS.md and symlink
~/.copilot/copilot-instructions.md and ~/.config/opencode/AGENTS.md to it.
Instructs agents to omit attribution trailers and to get the commit message
approved before committing.
This commit is contained in:
2026-08-28 16:26:45 -04:00
parent 951cdb1d36
commit 83ff8360ef
3 changed files with 8 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Agent instructions
## Commits
- Do not add a `Co-authored-by` trailer (or any other agent attribution) to commit messages.
- Before committing, show the proposed commit message and wait for approval. Apply any edits I request, then commit.
@@ -0,0 +1 @@
{{ .chezmoi.homeDir }}/.config/agents/AGENTS.md
@@ -0,0 +1 @@
{{ .chezmoi.homeDir }}/.config/agents/AGENTS.md