Commit 6471c85
authored
fix: CI should validate SKILL.md instead of arbitrary .md files (#2)
The validation step used `find ... -name '*.md' | head -1` to pick the
first .md file in each skill directory. On Linux (GitHub Actions), `find`
returns files in inode order — not alphabetical — so auxiliary files like
CREATION-LOG.md or code-quality-reviewer-prompt.md could be picked
instead of SKILL.md. These auxiliary files have no frontmatter, causing
4 false-positive validation errors on every CI run.
Fix: directly target SKILL.md (the canonical skill definition file) and
error if it's missing rather than silently skipping.1 parent 6046c4c commit 6471c85
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments