From 126481588c4b7e9925dffd496edfdd831fe30b89 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 29 Jul 2026 17:18:19 +0000 Subject: [PATCH] document commit message format in CLAUDE.md Authored by Claude (claude-opus-5) The previous instruction said to "prefix" commit messages with "Authored by Claude", which put the attribution ahead of the summary on the first line and pushed the actual summary out of `git log --oneline` and off the front of PR titles. Move the attribution to its own line below the summary and give an example, so the first line is the summary alone. --- CLAUDE.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 1108aa3..9e77a44 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,19 @@ ## General notes -- When creating commit messages, prefix them with "Authored by Claude", if possible include your model name and version. +- Commit messages: put the one-line summary on the first line, then a blank line, then an +"Authored by Claude" attribution line which if possible includes your model name and version, +then a blank line, then the body. Do not put the attribution in the summary line. For example: + +``` +publish d3d11 context hook table via atomic ptr + +Authored by Claude (claude-opus-5) + +get_hook_context took a DEVICE_STATE read lock and returned +HookDirect3D11Context by value, so every hooked context fn paid an RwLock +acquire plus a memcpy of the whole fn-pointer table. +``` ## Rust Build