docs: channel/videos sort + members_only across the plugin's API surface #23
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: Validate Agent Plugin | |
| # Runs on pull requests only. This repository is static JSON and markdown that | |
| # changes rarely, and every change lands through a PR, so validating on both | |
| # push and PR just ran the same checks twice. | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| name: Agent Plugins 1.0.0 conformance | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # Why this job exists at all: when a skill does not conform, Agent Plugins | |
| # §7.1 requires the client to SKIP it. Nothing errors, nothing warns: the | |
| # plugin just quietly does less. That already happened here once (12 of 13 | |
| # skills were being silently dropped), so this is the one check worth the | |
| # runner minutes. | |
| - name: Install skills-ref (official Agent Skills validator) | |
| run: pip install --quiet "git+https://github.com/agentskills/agentskills.git#subdirectory=skills-ref" | |
| - name: Validate every skill against the Agent Skills specification | |
| run: | | |
| fail=0 | |
| for d in skills/*/; do | |
| if skills-ref validate "$d" >/dev/null 2>&1; then | |
| echo "PASS $d" | |
| else | |
| echo "::error::$d does not conform to the Agent Skills specification" | |
| skills-ref validate "$d" 2>&1 | sed 's/^/ /' | |
| fail=1 | |
| fi | |
| done | |
| exit $fail | |
| # Manifest schema rules + the normative requirements a schema cannot | |
| # express. Pure stdlib, no network, no installs. | |
| - name: Check specification conformance | |
| run: python3 .github/scripts/check_conformance.py |