-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 979 Bytes
/
Copy pathvalidate.yml
File metadata and controls
39 lines (32 loc) · 979 Bytes
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
name: validate
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
validate-skill:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Validate SKILL.md against Anthropic spec
run: python scripts/validate_skill.py SKILL.md
- name: Confirm reference files exist
run: |
test -f references/patterns.md
test -f references/channels.md
- name: Confirm example files exist
run: |
test -f examples/author-voice.example.md
test -f examples/brand-voice.example.md
test -f examples/before-after-email.md
test -f examples/before-after-linkedin.md
test -f examples/before-after-blog.md
- name: Confirm install.sh is executable
run: |
test -x install.sh
bash -n install.sh