Files
sim/.husky/pre-commit
T
Justin Blumencranz 7f936dc02a feat(tooling): enforce docs freshness and modernize agent skills (#6756)
* feat(docs): fail CI when generated integration docs are stale

* fix(docs): don't flag delete-then-recreated trigger pages in check mode

* docs(skills): require docs:check in the integration authoring skills

* chore(skills): migrate agent commands to native skills

* fix(skills): clean orphaned Claude projections
2026-08-15 19:08:47 -07:00

10 lines
348 B
Plaintext
Executable File

bunx lint-staged
# Regenerate skill projections when a canonical .agents/skills source is staged,
# so .claude/skills never drifts from it. Cursor reads .agents/skills directly.
# CI's check:skills is the backstop.
if git diff --cached --name-only | grep -q '^\.agents/skills/.*/SKILL\.md$'; then
bun run skills:sync
git add .claude/skills
fi