From 1e65828d45d2209b23610111e03d088a5bd4b080 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 19 Apr 2026 13:06:09 -0500 Subject: feat: add commits.md rule — no AI attribution anywhere MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New generic rule at claude-rules/commits.md covers author identity, absence of Claude/Anthropic/LLM/AI attribution (messages, PRs, comments, trailers, emojis), and conventional commit format. Applies to all repos. Bundle settings.json now sets attribution.commit: "" and attribution.pr: "" so Claude Code's default attribution is suppressed belt-and-suspenders with the written rule. Elisp CLAUDE.md template trimmed to reference commits.md instead of inlining the rules. --- languages/elisp/CLAUDE.md | 8 +++++--- languages/elisp/claude/settings.json | 4 ++++ 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'languages/elisp') diff --git a/languages/elisp/CLAUDE.md b/languages/elisp/CLAUDE.md index 9b95e4f..2562695 100644 --- a/languages/elisp/CLAUDE.md +++ b/languages/elisp/CLAUDE.md @@ -35,9 +35,11 @@ See rule files in `.claude/rules/`: ## Git Workflow -- Conventional commit prefixes: `feat:`, `fix:`, `refactor:`, `test:`, `docs:`, `chore:` -- Pre-commit hook in `githooks/` scans for secrets and runs `check-parens` on staged `.el` files -- Activate on fresh clone: `git config core.hooksPath githooks` +Commit conventions: see `.claude/rules/commits.md` (author identity, +no AI attribution, message format). + +Pre-commit hook in `githooks/` scans for secrets and runs `check-parens` on +staged `.el` files. Activate on fresh clone with `git config core.hooksPath githooks`. ## Problem-Solving Approach diff --git a/languages/elisp/claude/settings.json b/languages/elisp/claude/settings.json index cca0eaa..9ab9f12 100644 --- a/languages/elisp/claude/settings.json +++ b/languages/elisp/claude/settings.json @@ -1,4 +1,8 @@ { + "attribution": { + "commit": "", + "pr": "" + }, "permissions": { "allow": [ "Bash(make)", -- cgit v1.2.3