From bac412c6d409c473f72059336acfff8b0deb1595 Mon Sep 17 00:00:00 2001 From: J3vb <192430104+J3vb@users.noreply.github.com> Date: Thu, 30 Jul 2026 15:59:11 +0200 Subject: [PATCH] chore: make Claude Code config local-only Removes .claude/ and every CLAUDE.md from the index and gitignores them; the files stay on disk untouched. Ahead of the repo going public, this keeps agent instructions and local skills out of the published tree. A slashless gitignore pattern matches at any depth, so one CLAUDE.md rule covers the root, Server/ and Client/tauri-client/ copies. Also drops a stray gitlink at .claude/worktrees/tauri-plugins (mode 160000, committed by accident) that would have cloned as a broken submodule. .mcp.json stays tracked: it lists MCP servers, uses ${OWNCORD_API_TOKEN} indirection rather than a literal, and holds no secrets. --- .gitignore | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index b3737552..b72dbfdb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,14 +2,12 @@ .env Server/.env -# Claude Code — shared project config (CLAUDE.md, .claude/settings.json, -# .claude/skills/, .claude/hooks/, .mcp.json) is committed; local-only -# state and overrides are not. -.claude/settings.local.json -.claude/*.local.json +# Claude Code — local-only, never committed. A slashless pattern matches at any +# depth, so these also cover Server/CLAUDE.md, Client/**/CLAUDE.md and nested +# .claude/ dirs. .mcp.json stays tracked (MCP server list, no secrets in it). +.claude/ +CLAUDE.md CLAUDE.local.md -Client/.claude/ -Server/.claude/ # GitHub Copilot instructions (internal) .github/copilot-instructions.md @@ -72,7 +70,7 @@ tools/* tools/mcp-introspect/node_modules/ .cache/ -# Internal dev files (root-level scratch only; .claude/skills/ and CLAUDE.md are committed) +# Internal dev files (root-level scratch only) /SKILL.md TODOS.md DESIGN.md