Files
Conor Bronsdon c892a8e013 docs: reconcile pattern count to 46 + add CI count-guard (#28)
Comprehensive doc review after the 3.4->3.7.2 churn. The pattern count
had rotted across files (README said 42, CLAUDE.md said 36, reality is
46 detection categories in SKILL.md).

- Fix the count to 46 and keep it in ONE user-facing place (the README
  "46 pattern categories" bullet). README heading reframed to "Pattern
  reference" (representative examples, not an exhaustive census), and the
  table extended with the 7 missing categories (placeholders, citation
  markup, UTM, gap-filling, hyphenated-pair, infomercial, low-TTR).
- De-duplicate the count: CLAUDE.md and detector/CATEGORIES.md now
  reference SKILL.md + CI instead of restating their own numbers.
- Add scripts/check-pattern-count.sh + wire into the CI workflow: it
  derives the count from SKILL.md's detection ### entries (excluding the
  3 writer-side tests) and fails if the README number drifts. Drift is
  now a red check, not silent rot.
- Fix stale detector/patterns.js version comment and the marketplace.json
  description (was "detection-only mode").

No SKILL.md / version change — docs + CI only.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 02:29:49 -07:00
..