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

@@ -13,6 +13,7 @@ set -euo pipefail
AGENT_DIRS=(
design
engineering
game-development
marketing
paid-media
product
@@ -21,7 +22,6 @@ AGENT_DIRS=(
support
spatial-computing
specialized
strategy
)
REQUIRED_FRONTMATTER=("name" "description" "color")
@@ -87,7 +87,7 @@ else
if [[ -d "$dir" ]]; then
while IFS= read -r f; do
files+=("$f")
done < <(find "$dir" -maxdepth 1 -name "*.md" -type f | sort)
done < <(find "$dir" -name "*.md" -type f | sort)
fi
done
fi