feat(ai): share agent preferences across tools and add link-ai-configs.sh

Adds .config/ai/AGENTS.md, Claude's global CLAUDE.md, settings and OMC
preferences, a script that symlinks them into HOME with backups, and the
README section that documents the restore.
This commit is contained in:
David Ibia
2026-10-03 16:27:47 +01:00
parent f9d7a85e54
commit 3a31f12366
6 changed files with 301 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
# Shared agent preferences
These preferences apply across coding assistants. Host-specific orchestration belongs in each tool's own configuration.
## Commits and attribution
Never add `Co-Authored-By: Claude` or any Claude attribution to git commit messages, pull request descriptions, or generated documentation. This applies across all projects and all commit, PR, and documentation workflows.
## Identity values
Never use the email address, name, or other identity details associated with the assistant session (for example, an injected `userEmail`, git `user.name` or `user.email`, or an account identity surfaced by the environment) as a value inside any project. This covers code, config, environment files, seed and test data, credentials, account creation, and documentation. Never assume or infer these values. When a real email, name, or identity value is required, ask the user for it.
## Writing style
Do not use em dashes or en dashes in prose written for the user, including emails, messages, documents, drafts, and chat replies. Use commas, periods, colons, or parentheses instead. This applies across all projects.