docs: record the skill review fork skip #20
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| scripts: | |
| name: Setup scripts and skill conventions | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - run: chmod +x scripts/*.sh | |
| - run: ./scripts/test-all.sh | |
| spec: | |
| name: Agent Skills spec | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: '3.13' | |
| # Deliberately unpinned. skills-ref is the reference validator, and tracking its | |
| # latest release is how this repo finds out that the spec moved. A failure here | |
| # after an upstream release is information, not a broken build. | |
| # The package is skills-ref, the command it installs is agentskills. | |
| - run: pip install skills-ref | |
| - name: Validate every skill | |
| run: | | |
| fail=0 | |
| for d in skills/*/; do | |
| if ! out=$(agentskills validate "$d" 2>&1); then | |
| fail=1 | |
| echo "::error file=${d}SKILL.md::$(echo "$out" | tr '\n' ' ')" | |
| echo "FAIL $d" | |
| echo "$out" | sed 's/^/ /' | |
| fi | |
| done | |
| echo "Validated $(ls -d skills/*/ | wc -l) skills." | |
| exit $fail |