BMAD-METHOD/test/fixtures/validate-skills
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
..
deprecated-shim fix(validate-skills): exempt deprecated skills from SKILL-06 trigger (#2486) 2026-06-23 23:55:34 -07:00
missing-trigger fix(validate-skills): exempt deprecated skills from SKILL-06 trigger (#2486) 2026-06-23 23:55:34 -07:00
with-trigger fix(validate-skills): exempt deprecated skills from SKILL-06 trigger (#2486) 2026-06-23 23:55:34 -07:00