-
Notifications
You must be signed in to change notification settings - Fork 210
87 lines (63 loc) · 3.06 KB
/
Copy pathvalidate.yml
File metadata and controls
87 lines (63 loc) · 3.06 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: Validate Kit
on:
pull_request:
branches: [main]
permissions:
contents: read
concurrency:
group: validate-${{ github.head_ref || github.ref_name }}
cancel-in-progress: true
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup Node.js
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4
with:
node-version: 22
- name: Validate agent parity
run: node .claude/skills/vc-audit-vc/scripts/validate-agent-parity.mjs
- name: Validate skills
run: node .claude/skills/vc-audit-vc/scripts/validate-skills.mjs
- name: Validate guide sync
run: node .claude/skills/vc-audit-vc/scripts/validate-guide-sync.mjs
- name: Validate protocol wiring
run: node .claude/skills/vc-audit-vc/scripts/validate-protocol-wiring.mjs
- name: Validate seeds
run: node .claude/skills/vc-audit-vc/scripts/validate-seeds.mjs
- name: Validate context discovery
run: node .claude/skills/vc-audit-context/scripts/validate-context-discovery.mjs
- name: Validate skill routing
run: node .claude/skills/vc-audit-context/scripts/validate-skill-routing.mjs
- name: Validate skill cross-refs
run: node .claude/skills/vc-audit-context/scripts/validate-skill-cross-refs.mjs
- name: Validate skill dependencies
run: node .claude/skills/vc-audit-context/scripts/validate-skill-dependencies.mjs
- name: Validate confusable skills
run: node .claude/skills/vc-audit-context/scripts/validate-confusable-skills.mjs
- name: Generate skills catalog
run: node .claude/skills/vc-audit-context/scripts/generate-skills-catalog.mjs
- name: Validate plan inventory
run: node .claude/skills/vc-audit-plans/scripts/validate-plan-inventory.mjs
- name: Validate all context
run: node .claude/skills/vc-generate-context/scripts/validate-all-context.mjs
- name: Validate skill invocation wiring
run: node .claude/skills/vc-audit-vc/scripts/validate-skill-invocation-wiring.mjs
- name: Validate protocol discovery
run: node .claude/skills/vc-audit-context/scripts/validate-protocol-discovery.mjs
- name: Validate skill keywords
run: node .claude/skills/vc-audit-context/scripts/validate-skill-keywords.mjs
- name: Validate plan artifacts (if any)
run: |
PLANS=$(find process/general-plans/active process/features/*/active -name '*_PLAN_*' -type f 2>/dev/null)
if [ -n "$PLANS" ]; then
echo "$PLANS" | xargs -I {} node .claude/skills/vc-generate-plan/scripts/validate-plan-artifact.mjs {}
else
echo "No active plan artifacts found, skipping."
fi
- name: Check for personal path leaks
run: node .claude/skills/vc-audit-vc/scripts/validate-kit-portability.mjs
- name: Lint Markdown (non-blocking)
run: npx markdownlint-cli2 '**/*.md' '#node_modules' || true