From 129b13f85ede90b50ac9e2131bddf30659fa57a9 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 19 Apr 2026 12:46:59 -0500 Subject: chore: add Claude Code ruleset via ~/code/rulesets install-elisp Installs the Elisp ruleset from the rulesets repo: - CLAUDE.md (project instructions template) - .claude/rules/ (testing, verification, elisp, elisp-testing) - .claude/hooks/validate-el.sh (check-parens + byte-compile + run matching tests on every .el edit via PostToolUse) - .claude/settings.json (permission allowlist + hook wiring) - githooks/pre-commit (secret scan + staged-file paren check) core.hooksPath set to githooks/ so the pre-commit activates automatically. Hooks use \$CLAUDE_PROJECT_DIR with a script-relative fallback, so a fresh clone works without path edits. .gitignore extended with personal-override entries (settings.local.json, .cache/) and byte-compile artifacts (*.elc, *.eln). --- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 95e126a..f48a36a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,9 @@ /todo.org /docs/ /tests/*-output.log + +# --- elisp ruleset --- +/.claude/settings.local.json +/.claude/.cache/ +*.elc +*.eln -- cgit v1.2.3