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.
This commit is contained in:
J3vb
2026-07-30 16:01:35 +02:00
parent d6cc57af56
commit bac412c6d4
+6 -8
View File
@@ -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