Skip to content

ci: install skills-ref so tier-1 spec validation actually runs #383

Description

@whoabuddy

Problem

bun run validate runs two tiers (see scripts/validate-frontmatter.ts):

  • Tier-1 shells out to skills-ref (the canonical agentskills.io reference validator, Python).
  • Tier-2 is the in-repo Zod schema (pure TS).

If skills-ref isn't on PATH (or at .venv-skills-ref/bin/skills-ref), tier-1 prints a warning and silently skips — only tier-2 runs.

.github/workflows/ci.yml doesn't install Python or skills-ref, so tier-1 is skipped on every CI run. CI stays green even when the canonical upstream spec validator would flag issues. This defeats the purpose of having tier-1.

Proposed fix

In .github/workflows/ci.yml, before bun run validate:

  1. actions/setup-python@v5 (pin a version)
  2. pip install skills-ref (or pipx install skills-ref — whichever produces a skills-ref binary on PATH)

Then bun run validate will pick up the binary via Bun.which("skills-ref") and tier-1 will actually run.

Optionally cache the pip install to keep CI fast.

Acceptance

  • CI logs show Validation tiers: [tier-1: skills-ref] [tier-2: Zod] (currently shows [tier-1: SKIPPED]).
  • A SKILL.md that passes Zod but violates the agentskills.io spec is caught in CI.

Context

This was originally wired in to close #110 (agentskills.io spec compliance). Tier-1 has been silently skipped in CI ever since.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions