diff --git a/.github/workflows/check-skill-sync.yml b/.github/workflows/check-skill-sync.yml index c79b896f..bddf6ae6 100644 --- a/.github/workflows/check-skill-sync.yml +++ b/.github/workflows/check-skill-sync.yml @@ -29,3 +29,13 @@ jobs: - name: Check SKILL.md is in sync run: npm run check:skill-sync + + - name: Validate skill against agentskills.io spec + env: + GH_TOKEN: ${{ github.token }} + run: | + if ! gh skill publish --help >/dev/null 2>&1; then + echo "::notice::gh skill publish not available on this runner (preview feature, gh >= 2.90.0); skipping validation." + exit 0 + fi + gh skill publish --dry-run