Skip to content

ci(workflow): add lint-skills workflow #1

ci(workflow): add lint-skills workflow

ci(workflow): add lint-skills workflow #1

Workflow file for this run

name: Lint / Agent Skills
on:
workflow_call:
push:
branches: [main]
paths:
- .github/workflows/lint-skills.yml
- .agents/skills/**
pull_request:
branches: [main]
paths:
- .github/workflows/lint-skills.yml
- .agents/skills/**
concurrency:
group: lint-skills-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint-skills:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install uv
uses: astral-sh/setup-uv@11f9893b081a58869d3b5fccaea48c9e9e46f990 # v8.3.2
- name: Install skills-ref tool
run: |
uv tool install git+https://github.com/agentskills/agentskills.git@5e7f3e2c4c9f5464fe342bf2fea72367a914e9b4#subdirectory=skills-ref
- name: Validate skills
run: |
for dir in .agents/skills/*/ ; do
skills-ref validate "$dir"
done