refactor: move ai/claude ignore rules into a local .gitignore
The root .gitignore now only lets the nested .gitignore through.
Keeps the rules next to the content they govern and drops stale
entries for commands/ and marketplace/.
Assisted-by: Claude Opus 4.6 via pi
diff --git a/.gitignore b/.gitignore
index ef75ef3d..ad0c7b83 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,6 +22,8 @@ private
!.config/nvim
!.config/neovide
!.config/pip
+!.config/ramekin
+.config/ramekin/agent
!.config/ripgrep
!.config/sketchybar
!.config/starship
@@ -43,12 +45,7 @@ private
!.hammerspoon/Spoons/SpoonInstall
/ai/claude/*
-!/ai/claude/commands
-!/ai/claude/marketplace
-!/ai/claude/rules
-!/ai/claude/settings.json
-!/ai/claude/skills
-!/ai/claude/statusline.sh
+!/ai/claude/.gitignore
# hack for now since I don't want to commit Alfred secrets
macos/Alfred.alfredpreferences/workflows/*/prefs.plist
diff --git a/ai/claude/.gitignore b/ai/claude/.gitignore
new file mode 100644
index 00000000..47d552b4
--- /dev/null
+++ b/ai/claude/.gitignore
@@ -0,0 +1,14 @@
+# ignore everything by default
+*
+
+!.gitignore
+!settings.json
+!skills
+!statusline.sh
+
+# Git won't look inside an ignored directory, so un-ignoring the
+# directory and its contents are both required.
+!hooks/
+!hooks/**
+!rules/
+!rules/**