文件历史

提交图

5 次代码提交

作者 SHA1 备注 提交日期
Addy Osmani 13e43f2310 Merge pull request #270 from nucliweb/ci/validate-commands
ci: validate command descriptions stay in sync across all three tool directories
2026-06-18 20:51:36 -07:00
Joan Leon ca5e33d607 fix(ci): harden validate-commands script
- Support single-quoted TOML description strings (previously silently returned null)
- Wrap file reads in try/catch to produce actionable CI errors instead of raw stack traces
- Remove dead tomlStems variable; declare allTomlStems once and compute allCanonicalStems for an accurate command count in the summary
- Simplify description mismatch output to always show all three values, removing a redundant conditional branch
2026-06-13 11:24:56 +02:00
Joan Leon 5e706d9aa8 ci: validate command descriptions stay in sync across all three tool directories 2026-06-13 10:22:52 +02:00
Swing-G 50d115dc15 fix(scripts): report unexpected fs errors as structured validator output 2026-06-12 11:12:23 +08:00
Dawid Piaskowski 41d15b8d64 Add CI skill validator
- scripts/validate-skills.js: zero-dependency Node.js validator that
  checks every skill for valid frontmatter, description length (≤1024),
  required sections (Overview, When to Use, Common Rationalizations,
  Red Flags, Verification), and dead cross-skill references
- Skills with type:meta or exempt:sections in frontmatter skip section
  checks; applied to using-agent-skills (meta) and idea-refine (legacy
  structure predating the anatomy spec)
- CI: validate-skills job runs before plugin-manifest validation and
  blocks merge on any error; uses Node 20, no npm install required
2026-04-11 12:52:26 +02:00