skillpack 0.8.4

Generate and verify the agent-distribution layer for any OSS project (Claude Code, Cursor, Codex, OpenCode, GitHub Copilot).
Documentation
# CI gate for skillpack (design ยง7.4): fmt + clippy + full test suite on every
# PR; no PR merges without green CI.
#
# Matrix: ubuntu, macos, windows โ€” verifies cross-OS compile + PATHEXT
# resolution on Windows (cmd.exe appends PATHEXT; Rust's Command does not;
# which_on_path probes name{ext} manually). Runtime prereqs (node, python,
# go, ruby) installed via the official setup-* actions so each OS gets a
# working runtime without hand-rolled apt/choco/brew logic.
#
# `--include-ignored` runs the Go + Ruby `#[ignore]`-gated round trips
# because the runners ship those runtimes (the dev machine does not). Each
# ignored test self-skips via a runtime probe, so a missing runtime
# anywhere degrades the same way it does locally rather than failing.
name: CI

on:
  push:
    branches: [main]
  pull_request:

env:
  CARGO_TERM_COLOR: always

jobs:
  check:
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
      - uses: actions/checkout@v4
      # Install the exact toolchain pinned in rust-toolchain.toml so CI's
      # fmt/clippy are byte-identical to local โ€” a newer stable's fmt collapse
      # rule can't pass one place and fail the other. `rust-toolchain.toml` is
      # the single source of truth; this input must match its `channel` field.
      - uses: dtolnay/rust-toolchain@master
        with:
          toolchain: '1.95.0'
          components: 'rustfmt,clippy'
      - uses: Swatinem/rust-cache@v2

      # Runtime prereqs โ€” one setup-* action per language, each works across
      # all three OSes. The Go + Ruby installs let the `#[ignore]`-gated
      # round-trip tests actually execute rather than self-skip.
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
      - uses: actions/setup-python@v5
        with:
          python-version: '3.12'
      - uses: actions/setup-go@v5
        with:
          go-version: '1.22'
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: '3.3'
      - uses: shivammathur/setup-php@v2
        with:
          php-version: '8.3'
      - uses: actions/setup-java@v4
        with:
          distribution: 'temurin'
          java-version: '21'
      - uses: actions/setup-dotnet@v4
        with:
          dotnet-version: '8.0'

      - name: fmt --check
        run: cargo fmt --check
      - name: clippy --all-targets
        run: cargo clippy --all-targets -- -D warnings
      - name: test (incl. ignored runtime round trips)
        run: cargo test --all-targets -- --include-ignored