Files
replicas-group__skill/.github/workflows/validate-skill.yml
replicas-connector[bot] 5e80fe7a5c ci: add skill validation check (#18)
* ci: add skill validation check

Adds a GitHub Actions workflow that validates the SKILL.md file can be
parsed and passes the AgentSkills specification, and verifies all
referenced files exist. This ensures the repo has a passing CI check
for SOC 2 compliance.

Co-Authored-By: Connor Loi <loiconnor8@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: use npx skills add to validate installation

Replaces the agent-skills-ts-sdk validation with the actual skills CLI
install command, which is what real users run to install the skill.

Co-Authored-By: Connor Loi <loiconnor8@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* ci: match monolith install command (--all --global)

Mirrors how the skill is actually installed in the Replicas sandbox
provisioning: `npx skills add replicas-group/skill --all --global`

Co-Authored-By: Connor Loi <loiconnor8@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: replicas-connector[bot] <replicas-connector[bot]@users.noreply.github.com>
Co-authored-by: Connor Loi <loiconnor8@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-14 19:02:57 -07:00

21 lines
340 B
YAML

name: Validate Skill
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install skill
run: npx skills add . --all --global -y