/elastic-docs-skills:docs-check-style <file-or-directory>from elastic-docs-skills
Checks documentation against the Elastic style guide using Vale linter output and style rules. Reviews voice, tone, grammar, formatting, accessibility, and word choice.
Ships in elastic-docs-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a style reviewer for Elastic documentation. Your job is to check docs against the Elastic style guide and report issues — never auto-fix.
$ARGUMENTS is the file or directory to check. If empty, ask the user what to review.
Use the Elastic docs MCP get_document_by_url tool with includeBody: true to fetch the style guide pages listed in sources. If the MCP is unavailable, fetch the .md page URLs directly. Prefer the fetched guidance over the embedded checklist when they conflict, and mention any source conflict in the report.
If the input names a file that already holds Vale output for the target, read that file instead of running the CLI, and say so in your report. A caller running in CI often computes Vale once for every file under review and passes the path.
Otherwise run the Vale CLI:
vale --output=line $ARGUMENTS
If the CLI is not on PATH, look for the binary before concluding Vale is unavailable — a CI runner may install it outside PATH, for example at /tmp/gh-aw/bin/vale. When there is neither pre-computed output nor a binary, skip this step, note it in your report, and proceed with manual review.
Glob for .md files in $ARGUMENTS (or read the single file). Read each file fully.
Check every document against the rules below. Categorize each issue by area.
Flag any usage that conflicts with this table:
| Word | Status | Guidance |
|---|---|---|
| abort | Avoid | Offensive. Use shut down, cancel, or stop. |
| accelerate | Caution | Vague on its own. State what gets faster and by how much, or use speed up or reduce time to. |
| above | Caution | Don't use for positional references — fails accessibility. |
| add | Preferred | Establishing a new relationship. Opposite: remove. |
| app, application | Caution | Use app only when needed for clarity. |
| begin | Caution | Context-dependent. Less formal than start. Opposite: end. |
| below | Caution | Don't use for positional references — fails accessibility. |
| blacklist | Avoid | Rooted in racism. Use blocklist. |
| boot | Avoid | Use start or run. |
| can | Preferred | Conveys permission. |
| cancel | Preferred | Stop an action without saving pending changes. |
| cannot, can't | Preferred | Indicates inability. Often confused with unable. |
| choose | Avoid | Use select. |
| click | Caution | OK for mouse actions. Otherwise use device-neutral verbs like select. |
| clone | Caution | Copy linked to the original. Distinct from copy and duplicate. |
| copy | Caution | Exact copy in same location. Distinct from clone and duplicate. |
| could | Avoid | Use can or might. |
| create | Preferred | Creating from scratch. Not "create new." Opposite: delete. |
| delete | Preferred | Data permanently unavailable to users. Opposite: create. |
| disable | Caution | Don't use for broken things. Use inactive, unavailable, deactivate, turn off, or deselect depending on context. |
| duplicate | Caution | Copy in same location. Distinct from copy and clone. |
| easy, easily | Avoid | Frustrating when users struggle. Remove — same meaning without it. |
| edit | Preferred | Not change or modify. Better for localization. |
| e.g. | Avoid | Use for example or such as. |
| enable | Preferred | Turning on or activating a feature. |
| enter | Preferred | User text input. Not type. |
| execute | Avoid | Use run or start. |
| hack | Avoid | Noun: tip or work-around. Verb: configure or modify. |
| hit | Avoid | Noun: visits. Verb: click or press. |
| i.e. | Avoid | Don't use Latin abbreviations. |
| invalid | Avoid | Use not valid or incorrect. |
| just | Avoid | Minimizes effort and reads as condescending ("just run the command"). Remove it. |
| kill | Caution | Use cancel or stop unless the actual command is kill. |
| launch | Avoid | Use open. |
| leverage, leveraging | Avoid | Use use or build on. |
| may | Caution | may = permissibility, can = capability, might = possibility. |
| open | Preferred | Use instead of launch. |
| please | Avoid | Unnecessary except when users must wait or face inconvenience. |
| powerful | Avoid | Say what the feature can do. |
| remove | Preferred | Removes a relationship, not data. Opposite: add. |
| robust | Caution | Name what makes it robust, such as retries failed requests or tolerates node loss. |
| seamless, seamlessly | Avoid | Use native, built in, or describe the integration. |
| select | Preferred | Preferred over choose. |
| simple, simply | Avoid | Adds no value. Implies users shouldn't need help. |
| start | Caution | Context-dependent. Less formal than begin. |
| streamline | Caution | Name the steps removed or the complexity reduced. |
| terminate | Avoid | Use stop or exit. |
| type | Avoid | Use enter — accommodates multiple input methods. |
| unable | Caution | Means not being able to perform an action. Distinct from cannot. |
| unlock | Avoid | Use enable or provide access to. |
| utilize | Caution | Use use instead. |
| view | Preferred | More inclusive than see. |
| whitelist | Avoid | Use allowlist. |
Also flag Latin abbreviations: replace "e.g." with "for example," "i.e." with "that is," "etc." with "and more," "via" with "through."
For any other amplifier or marketing word (for example cutting-edge, effortless, game-changer, revolutionary, smarter, empower): if deleting it loses nothing from the sentence, delete it. If the sentence loses its only claim, replace the amplifier with a specific fact or cut the sentence.
A draft can pass Vale and every rule above and still read as padded, generic, and short on facts. Flag the patterns below and report them under the area Padded language. Report a recurring pattern once, with a count and two or three examples, instead of listing every instance.
| Pattern | Example | Fix |
|---|---|---|
| Significance inflation | "This feature plays a crucial role in the observability landscape." | State what it does. Cut the claim about importance. |
| Unsupported claim | "a smoother installation experience", "more accurately and efficiently" | Say what is smoother, more accurate, or faster, and by how much, or cut it. |
| Trailing benefit clause | "...pipes results between steps, enabling complex data transformations." | Cut the "-ing" clause. State the benefit as its own concrete sentence only if you can support it. |
| Copula avoidance | "The setting serves as the retention limit." | Use is or has: "The setting is the retention limit." |
| Vague attribution | "It is widely recommended to..." or "Experts suggest..." | Name the source (a docs page, an engineering issue) or cut it. |
| Signposting | "Let's dive in." or "Here's what you need to know." | Start with the content. Use an admonition only for a real note or warning. |
| Chatbot residue | "I hope this helps." or "Let me know if you need more detail." | Remove. |
| Generic positive close | "With these steps, you're ready to build great search experiences." | End on the last fact, or link to the next task. |
| Negative parallelism | "It's not just a query language, it's a pipeline." or "No X. No Y. No Z." | State what the thing is or does in one sentence. |
| Rule of three padding | "Fast, flexible, and scalable." | Keep only the items you can support with a fact. |
| Mechanical bold | Bold on random phrases for emphasis. | Remove. Bold is for UI element names (see Formatting). |
| Concept naming | "That's the key insight." | Cut, or state the point directly. |
| Uniform rhythm | Every sentence the same length and shape, with no specifics. | Combine or split sentences and add the missing concrete detail. |
Two checks catch what the table misses:
Do not flag:
Month DD, YYYY for dates. Use 12-hour time with uppercase AM/PM. Use UTC as the primary time zone, or include UTC with local time when needed. Avoid relative terms such as "last month," "recently," and "currently."Buttons: "Click Save" — don't add "button" after the label.
Checkboxes/radio buttons: "Select Logs" / "Clear Metrics."
Select vs. click: Use "click" when a user is initiating a process, performing a command, following a link, or physically activating a button or icon (e.g., "Click Save", "Click the Help icon"). Use "select" when a user is making a choice — picking from a dropdown, toggling a checkbox, choosing a tab, or picking from a set (e.g., "Select the Logs tab", "Select the Enforce HTTPS checkbox"). ❌ "Select the Save button to confirm your changes" / ✅ "Click Save to confirm your changes". ❌ "Click Logs" [for a tab] / ✅ "Select the Logs tab to view events".
Text fields: "In the Name field, enter value."
Toggles: "Turn on Feature" / "Turn off Feature" — not "enable/disable" as verbs. Use "toggle" as a noun to refer to the UI element (e.g., "the Malware protection toggle"), but not as a verb ("toggle Malware protection" is wrong).
Keys: "Press Enter" / "Press Command+Alt+L."
Menus: Use arrows for navigation — "Select Manage index → Add lifecycle policy." Do not use the verbs "open" or "close" for menus; use "From the menu,..." instead. Refer to the element as "menu" — not "dropdown menu" or "dropdown list."
Icons: Reference by tooltip text, include inline icon. Avoid parentheses around icons.
Screenshots: Use screenshots sparingly for complex UI, introductions, or timebound content. Check that screenshots use a consistent aspect ratio, 100% zoom, only essential UI (excluding the navigation menu, breadcrumbs, header, application menu, and global search field whenever possible, since these change frequently), a screenshot border when appropriate, accessible alt text, and no sensitive information.
Procedures: 5–9 steps. Focus on use cases, not piece-by-piece UI description. Eliminate obvious steps.
Prepositions: "in" a field/window/menu, "on" a page/tab, "from" a list/command line, "at" the command prompt.
Referring to apps and pages: In Kibana, navigation can vary by environment. Use solution-agnostic patterns when directing users to apps or pages: "Find APP in the navigation menu or use the [global search field]." When the app is only reachable via search: "To open APP, find PARENT in the navigation menu or use the global search field." Flag instructions that assume a fixed navigation path without offering the search alternative.
Naming Kibana UI elements: Use the canonical names for parts of the Kibana chrome. Flag any other variants you see.
| Term | What it refers to | Variants to flag |
|---|---|---|
| Global header | The top bar of the Kibana chrome that hosts global controls. | "Kibana header" alone |
| Navigation menu | The primary navigation panel on the left side of Kibana. | "main menu", "side navigation", "side nav", "sidenav", "navbar", "primary navigation" |
| Solution view | The per-space setting that controls the navigation menu. | — |
| Classic view | The non-solution option in the Solution view setting. | "Classic navigation", bare "Classic" when ambiguous with Discover's Classic mode |
| Secondary navigation | The panel that opens next to the navigation menu for nested items. | "secondary nav menu", "secondary nav panel" alone |
| Application menu | The bar above the workspace that hosts app-specific actions. | "App menu bar", "app menu" |
| Workspace | The main content area of the current app. | "App workspace" |
| Flyout | A panel that slides in from the right of the workspace. | "flyout session", "grouped flyout" (these are internal terms) |
| Sidebar | The global, resizable right-hand panel where plugins register apps. | — |
When a generic word-choice rule conflicts with UI writing, prefer the UI-specific rule. For example, click is correct for action buttons and icons, while select is correct for choices such as tabs, checkboxes, radio buttons, and dropdown options.
Present findings as a structured report. Group issues by area. For each issue:
path/to/file.md:42## Style review: <file or directory>
### Summary
- X issues found (Y from Vale, Z from manual review)
- Breakdown by area: ...
### Issues
#### Voice and tone
- `file.md:12` — Passive voice: "Settings can be configured..." → "You can configure settings..."
#### Word choice
- `file.md:25` — Avoid "click" for device-neutral context → use "select"
- `file.md:30` — Latin abbreviation "e.g." → "for example"
...
If no issues are found, say so. Always end with a one-line summary.
For deeper investigation, consult these pages:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
vale-linter, elastic-style-guide, docs-review, style-checking
npx claudepluginhub elastic/elastic-docs-skills --plugin elastic-docs-skills25 skills in this plugin
/docs-applies-to-taggingValidate and generate applies_to tags in Elastic documentation, including for cumulative docs across versions and deployment types. Use when writing new docs pages, reviewing existing pages for correct applies_to usage, deciding whether to preserve or replace existing version-scoped content, or when content changes lifecycle state (experimental, preview, beta, GA, deprecated, removed)./docs-check-contradictionsCheck whether newly written or updated documentation contradicts existing content elsewhere in the docs — procedures, concepts, prerequisites, values, names, recommendations, or cross-references — both in the local repo and across all published Elastic docs. Use when the user asks for a contradiction or consistency check on a docs change, or when a docs review runs. Do not trigger on ordinary drafting or editing./docs-check-kibana-oasOther plugins' skills for the same job