mirror of
https://github.com/feature-sliced/skills.git
synced 2026-09-18 09:08:29 +08:00
b4089ca03a
Three hundred lines of regex over prose, and the only evidence they caught anything was a set of breakages applied by hand and reverted. A green run could not be told apart from a check that matched nothing. Fifteen tests copy the real repository to a temporary directory, break one thing, and assert that the validator names it: a dangling section number, a rule id in a list, a strategy letter, a renamed named-rule heading, a case rule with a bad id, a bad quotation, or a missing heading, a sibling reference path, an orphan, the line limit, the description limit, and a mismatched name. The first test asserts the repository as committed passes, and one checks that code fences are skipped. validate.yml runs them after the validator and now also triggers on any change under .github/scripts. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>