-
-
Notifications
You must be signed in to change notification settings - Fork 232
54 lines (49 loc) · 1.53 KB
/
Copy pathskillcheck.yml
File metadata and controls
54 lines (49 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: SkillCheck
# Validates every skills/<name>/SKILL.md against the project authoring standard
# (SKILL-AUTHORING-STANDARD.md). Errors fail the build; warnings are advisory.
on:
push:
branches: [main]
paths:
- 'skills/**'
- 'skill-tiers.json'
- 'scripts/skillcheck.mjs'
- 'bin/skillcheck.mjs'
- 'tests/skillcheck-test.mjs'
- 'scripts/skill-dupes.mjs'
- 'skill-dupes-allow.json'
- 'skillspec/**'
- 'conformance/**'
- '.github/workflows/skillcheck.yml'
pull_request:
paths:
- 'skills/**'
- 'skill-tiers.json'
- 'scripts/skillcheck.mjs'
- 'bin/skillcheck.mjs'
- 'tests/skillcheck-test.mjs'
- 'scripts/skill-dupes.mjs'
- 'skill-dupes-allow.json'
- 'skillspec/**'
- 'conformance/**'
- '.github/workflows/skillcheck.yml'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '24'
- name: Test the validator itself
run: node tests/skillcheck-test.mjs
- name: Run SkillCheck
run: node scripts/skillcheck.mjs
- name: Duplicate check (skill-dupes)
run: node scripts/skill-dupes.mjs --check
- name: SkillSpec conformance gate (dogfooding the published validator)
run: node skillspec/cli.mjs skills/ --min-level 3
- name: Validate the SkillSpec conformance registry
run: node conformance/verify-registry.mjs