Commit Graph

2 Commits

Author SHA1 Message Date
Alex Verkhovsky 4b1cb84b97
style(test): format validate-skills regression test (#2503) 2026-06-24 05:37:52 -07:00
Zied Jlassi c9813c6862
fix(validate-skills): exempt deprecated skills from SKILL-06 trigger (#2486)
* fix(validate-skills): exempt deprecated skills from SKILL-06 trigger

SKILL-06 flagged deprecated compatibility shims for missing a "Use when"
trigger phrase. Deprecated skills omit it on purpose so users are steered
to their replacement, so exempt them from that specific check.

- detect deprecation via description starting with "DEPRECATED"
- keep the other SKILL-06 check (length) and all other rules applying
- add test/test-validate-skills.js + fixtures, wired into npm test

* test(validate-skills): document test helpers with JSDoc

Added JSDoc to the test/assert/hasTriggerFinding helpers so the new
test file documents its own helpers. No behaviour change — the suite
still passes 3/3.
2026-06-23 23:55:34 -07:00