Support nested agent directories and add game-development category

- Add game-development to AGENT_DIRS in convert.sh, lint-agents.sh,
  install.sh, and the CI workflow
- Remove maxdepth 1 from find commands so nested subdirectories
  (e.g., game-development/unity/) are discovered
- Update CI git diff globs to **/*.md for recursive matching
- Remove strategy from lint AGENT_DIRS (playbooks, not agents)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Michael Sitarzewski
2026-03-10 09:06:47 -05:00
parent e5b256d0ce
commit 74e756be57
4 changed files with 10 additions and 9 deletions

View File

@@ -259,7 +259,7 @@ install_claude_code() {
local count=0
mkdir -p "$dest"
local dir f first_line
for dir in design engineering marketing paid-media product project-management \
for dir in design engineering game-development marketing paid-media product project-management \
testing support spatial-computing specialized; do
[[ -d "$REPO_ROOT/$dir" ]] || continue
while IFS= read -r -d '' f; do
@@ -267,7 +267,7 @@ install_claude_code() {
[[ "$first_line" == "---" ]] || continue
cp "$f" "$dest/"
(( count++ )) || true
done < <(find "$REPO_ROOT/$dir" -maxdepth 1 -name "*.md" -type f -print0)
done < <(find "$REPO_ROOT/$dir" -name "*.md" -type f -print0)
done
ok "Claude Code: $count agents -> $dest"
}