OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add nvidia/elements --skill authoring-documentation
Guidelines for writing documentation files including 11ty templates, Eleventy shortcodes, JSDoc annotations, and markdown content. Use this skill whenever the user works with documentation markdown files, Vale prose linting errors, Eleventy shortcodes (dodont, example), frontmatter, JSDoc annotations that must pass Vale, or the documentation site. Also trigger when the user mentions Vale errors, adding terms to the vocabulary, suppressing Vale rules, or writing and fixing prose in .md or .ts files.
npx skills add nvidia/elements --skill authoring-documentation
*.md)You MUST review @projects/site/src/docs/internal/guidelines/documentation.md before making any documentation changes.
*.ts and *.md filespnpm run cipnpm run lint:vale from the repo root (pass specific files as args to narrow scope)*.md:Vale, Google, write-good, Elements (full rule set)*.ts:Vale, write-good, Elements (no Google rules or spelling checks to reduce noise on code identifiers)*.examples.ts:same as *.ts plus three summary rules: SummaryStyle, SummaryActionable, SummaryGerund| Rule | Trigger | Fix |
|---|---|---|
Google.Latin | e.g., i.e. | Use "for example," "that is" |
Google.Passive | Passive voice | Rewrite in active voice |
Google.Quotes | Punctuation outside quotes | Move commas/periods inside quotation marks |
Elements.Branding | nvidia, Nvidia | Always use NVIDIA |
Elements.Terminology | web component | Use Web Component / Web Components |
Vale.Spelling | Unknown term | Add the term to config/vale/styles/config/vocabularies/Elements/accept.txt |
Elements.SummaryStyle | Weak openers like "This example demonstrates" | Lead with what the example does or when to use it |
Use sparingly, and re-enable immediately after the affected content:
.vale.ini:root config (rule toggles, file-type scopes, token ignores)config/vale/styles/Elements/:custom rules (Branding, Terminology, Summary*)config/vale/styles/config/vocabularies/Elements/accept.txt:approved vocabulary