fix: generate .agents directory at setup time instead of shipping duplicates (#308)

Removes 14K+ lines of committed generated Codex skill files from git.
.agents/ is now gitignored and generated at setup time via
`bun run gen:skill-docs --host codex`. Updates CI workflow to validate
generation instead of checking committed file freshness.

Co-authored-by: cskwork <cskwork@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Garry Tan
2026-03-22 14:43:40 -07:00
parent 518b450d64
commit c63e624f7f
29 changed files with 32 additions and 14154 deletions
+1 -2
View File
@@ -10,6 +10,5 @@ jobs:
- name: Check Claude host freshness
run: bun run gen:skill-docs
- run: git diff --exit-code || (echo "Generated SKILL.md files are stale. Run: bun run gen:skill-docs" && exit 1)
- name: Check Codex host freshness
- name: Check Codex host generation succeeds
run: bun run gen:skill-docs --host codex
- run: git diff --exit-code -- .agents/ || (echo "Generated Codex SKILL.md files are stale. Run: bun run gen:skill-docs --host codex" && exit 1)