Commit 6239661
committed
ci: Update validation workflows to skip supporting documentation files
Improved YAML frontmatter and date validation to properly exclude files
that don't need validation:
1. **Depth-based exclusion**: Skip files at depth 3+ in skills/ directory
- skills/skill/references/*.md (reference files)
- skills/skill/foundation/*.md (foundation guides)
- skills/skill/interactive/*.md (interactive guides)
- skills/skill/implementation/*.md (implementation guides)
2. **Name-based exclusion**: Skip specific documentation files
- README.md, SUMMARY.txt (across all directories)
- CLAUDE_MD_UPDATES.md (supporting documentation)
- Existing meta files (_INDEX.md, MIGRATION_GUIDE.md, etc.)
3. **Improved output**: Show both checked and skipped file counts
This aligns with the skill structure where only SKILL.md files (main entry
points) require YAML frontmatter and date validation, while supporting
documentation files in subdirectories are optional.
Results:
- Frontmatter validation: 135 skill files checked, 32 skipped
- Date validation: 163 dates checked across skill files, 32 skipped1 parent 042483f commit 6239661
2 files changed
Lines changed: 61 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
53 | 62 | | |
54 | 63 | | |
55 | | - | |
| 64 | + | |
56 | 65 | | |
| 66 | + | |
57 | 67 | | |
58 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
61 | 89 | | |
62 | 90 | | |
63 | 91 | | |
| |||
88 | 116 | | |
89 | 117 | | |
90 | 118 | | |
91 | | - | |
| 119 | + | |
| 120 | + | |
92 | 121 | | |
93 | 122 | | |
94 | 123 | | |
| |||
98 | 127 | | |
99 | 128 | | |
100 | 129 | | |
101 | | - | |
| 130 | + | |
102 | 131 | | |
103 | 132 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | | - | |
| 55 | + | |
47 | 56 | | |
| 57 | + | |
48 | 58 | | |
49 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
50 | 63 | | |
51 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
52 | 76 | | |
53 | 77 | | |
54 | 78 | | |
| |||
58 | 82 | | |
59 | 83 | | |
60 | 84 | | |
61 | | - | |
| 85 | + | |
| 86 | + | |
62 | 87 | | |
63 | 88 | | |
64 | 89 | | |
| |||
0 commit comments