From ce66de633129abc94df03ab5da91ba2ca2e93330 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 6 May 2026 06:09:02 -0500 Subject: feat(claude): add claude config and wire it into make install I moved Claude Code's user-level config into this repo so it travels with rulesets across machines instead of being machine-specific. The three pieces are settings.json, .mcp.json, and commands/refactor.md. I extended make install, uninstall, and list to handle the new .claude/ directory. The wildcard for CLAUDE_CONFIG matches both `*.json` and `.*.json` because make's glob skips dotfiles by default. Without the dot variant, .mcp.json wouldn't get picked up. I also added settings.local.json to .gitignore. That file is per-machine by convention and shouldn't ever land in the shared repo. --- .claude/settings.json | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .claude/settings.json (limited to '.claude/settings.json') diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..18855e7 --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,43 @@ +{ + "attribution": { + "commit": "", + "pr": "" + }, + "permissions": { + "defaultMode": "bypassPermissions" + }, + "hooks": { + "PreCompact": [ + { + "hooks": [ + { + "type": "command", + "command": "~/.claude/hooks/precompact-priorities.sh" + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "~/.claude/hooks/destructive-bash-confirm.py" + } + ] + } + ] + }, + "enabledPlugins": { + "pyright-lsp@claude-plugins-official": true, + "typescript-lsp@claude-plugins-official": true, + "gopls-lsp@claude-plugins-official": true + }, + "effortLevel": "high", + "promptSuggestionEnabled": false, + "skipDangerousModePermissionPrompt": true, + "editorMode": "emacs", + "prefersReducedMotion": true, + "agentPushNotifEnabled": true +} -- cgit v1.2.3