Skip to content

Commit 673c86e

Browse files
DeveloperAllyclaude
andcommitted
refactor(scripts): Wave 5 partial — document dual-mode, fix AI skill paths
Wave 5 decisions: - Keep 5 dual-mode validators as-is, documented @pipeline with both modes - Updated stale lint-* paths in 4 AI skills files Deferred to after component branch merge (Task 13): - Split enforce-generated-file-banners.js (complex, touched by component branch) - Split validate-ai-tools-registry.js (ai-tools/ restructured on main) - Split audit-script-inventory.js (consolidate with add-framework-headers.js) - Resolve .vscode/components.code-snippets conflict (deeply embedded in generate-ui-templates.js) - Compose glossary + terminology-search pipeline Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b448bfa commit 673c86e

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎tools/scripts/validators/components/library/check-component-css.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @purpose qa:repo-health
88
* @description Validates component files against component governance styling rules.
99
* @mode read-only
10-
* @pipeline manual, P3
10+
* @pipeline manual → component .jsx files → exit-code, stdout:violations; --fix → component .jsx files → CSS token replacements, P3
1111
* @scope single-domain
1212
* @usage node tools/scripts/validators/components/library/check-component-css.js [--path snippets/components] [--staged] [--fix] [--help]
1313
* @policy R-R10

‎tools/scripts/validators/content/grammar/check-grammar-en-gb.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @purpose qa:content-quality
88
* @description Deterministic UK English grammar checker for prose content with optional conservative autofix for safe rules.
99
* @mode read-only
10-
* @pipeline manual/CI validator for English v2 docs and explicit content files
10+
* @pipeline manual → staged .mdx files → exit-code, stdout:violations; --fix → staged .mdx files → edited files/CI validator for English v2 docs and explicit content files
1111
* @scope tools/scripts/validators/content, tools/script-index.md, tests/script-index.md, docs-guide/catalog/scripts-catalog.mdx, v2
1212
* @usage node tools/scripts/validators/content/grammar/check-grammar-en-gb.js [--scope full|changed] [--file <path[,path...]>] [--fix] [--strict]
1313
* @policy SE-1-11, S-1.15

‎tools/scripts/validators/content/grammar/check-proper-nouns.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @purpose qa:content-quality
88
* @description Detects and fixes incorrect proper noun capitalisation in prose while skipping code, frontmatter, URLs, and path-like tokens.
99
* @mode read-only
10-
* @pipeline manual
10+
* @pipeline manual → staged .mdx files → exit-code, stdout:violations; --fix → staged .mdx files → edited files
1111
* @scope v2, tools/scripts/validators/content, tests/config/spell-dict.json
1212
* @usage node tools/scripts/validators/content/grammar/check-proper-nouns.js [--file <path[,path...]>] [--fix]
1313
* @policy E-R1, R-R11

‎tools/scripts/validators/content/structure/check-double-headers.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @purpose qa:content-quality
88
* @description Detects duplicate body H1 headings and opening paragraphs that repeat frontmatter title or description content.
99
* @mode read-only
10-
* @pipeline manual
10+
* @pipeline manual → staged .mdx files → exit-code, stdout:violations; --fix → staged .mdx files → edited files
1111
* @scope v2-content
1212
* @usage node tools/scripts/validators/content/structure/check-double-headers.js [--staged|--file <path>|--files <a,b>] [--fix]
1313
* @policy 1.12, 1.13

‎tools/scripts/validators/content/structure/check-page-endings.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @purpose qa:content-quality
88
* @description Validates that English v2 MDX pages end with an approved navigational or closing element
99
* @mode read-only
10-
* @pipeline manual, ci
10+
* @pipeline manual → staged .mdx files → exit-code, stdout:violations; --fix → staged .mdx files → TODO comment appended, ci
1111
* @scope tools/scripts/validators/content, v2
1212
* @usage node tools/scripts/validators/content/structure/check-page-endings.js [--fix] [--json]
1313
* @policy R-R14

0 commit comments

Comments
 (0)