forked from bchanot/claude
New /validate skill runs a narrow-scope web standards audit covering W3C HTML validity (validator.nu API in FULL, html-validate / vnu.jar in LOCAL), W3C CSS validity (jigsaw.w3.org/css-validator in FULL, stylelint / css-tree in LOCAL), and WCAG 2.1 accessibility (pa11y, @axe-core/cli, WAVE API, or static checklist fallback). Dedicated validator-analyzer agent with a strict IN/OUT scope filter so the report stays focused on conformance — no meta/OG/JSON-LD/ sitemap/CSP/cookie/CWV noise. Those remain owned by /seo, /geo, and /harden respectively. LOCAL mode degrades gracefully: tries local npm tools first, falls back to static analysis if none present (same 12-point a11y checklist as /onboard a11y dispatch). Never fails hard. Framework awareness: validates built output (dist/, _site/, build/, out/) for SPA/JS frameworks, not JSX/TSX source. Warns if no build dir found. Fix mode (--fix) produces a conservative auto-fix bundle: missing lang attr, alt="" on decorative images, unclosed void tags, duplicate IDs, unambiguous heading level skips. Content decisions (form labels, color contrast, landmark restructure, alt text on content images) always go to User actions, never auto-applied. Flags: --local, --full, --fix, --no-external. Routing updated in CLAUDE.md. /harden and /seo cross-refs narrowed to redirect W3C / WCAG concerns to /validate (was previously routed to /onboard a11y dispatch, which only runs at setup). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>