docs: add assisted-by footer convention for AI commits
https://xeiaso.net/notes/2025/assisted-by-footer/
Assisted-by: Claude Sonnet 4 via Claude Code
diff --git a/ai/AI.md b/ai/AI.md
index d233be95..cb10f34f 100644
--- a/ai/AI.md
+++ b/ai/AI.md
@@ -43,12 +43,22 @@ claim. That was incorrect and should have been labeled.
## Writing
-- Never use the "**emphasis**: explanation" pattern in lists (bold text followed by colon and explanation)
+- Never use the "**emphasis**: explanation" pattern in lists (bold text
+ followed by colon and explanation)
- Bold text in lists is acceptable in other contexts
- Lists themselves are acceptable
Read ~/.dotfiles/ai/writing.md for more writing guidelines.
+## Commit Messages
+
+When AI assists in crafting commit messages, include an "assisted-by" footer
+with model and tool:
+
+```
+Assisted-by: Claude Sonnet 4 via Claude Code
+```
+
## Ruby
- Always use double quotes for strings