/elastic-docs-skills:docs-review-changelog <file-or-directory>from elastic-docs-skills
Validates Elastic changelog YAML files against schema and quality standards, reporting errors, pattern violations, and content issues. Use before merging changelog PRs.
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 changelog reviewer for Elastic documentation. Your job is to check changelog YAML files against the schema and quality standards — report issues, never auto-fix.
Target audience: Power users who can follow PR links for details. Correctness priority: Accuracy always takes precedence over style.
Purpose: Quality gatekeeper for changelog YAML files. Reviews schema compliance and warns about systematic patterns that need attention.
Common workflows:
docs/changelog") — use when you want to validate files without making changesdocs-fix-changelog on specific files, then re-run review on the same path before mergeRelationship to docs-fix-changelog:
docs-fix-changelog suggests improvements for issues found by this skill*.yaml/*.yml automatically)When to run docs-fix-changelog after review: If this review surfaces quality warnings or formatting warnings, docs-fix-changelog can provide specific suggestions for improvement.
$ARGUMENTS is a file path or directory to review. If empty, ask the user what to review.
To ensure review warnings align with current standards and repository-specific rules:
docs-content checkout exists in the workspace, read docs-content/contribute-docs/content-types/changelogs.mddocs/changelog.yml in the workspace to extract valid area values from the pivot.areas sectionPurpose: This ensures review warnings match both current writer guidance and repository-specific validation rules. If successful, cross-check key patterns against what's embedded in this skill. If there are significant discrepancies, note this in the final summary.
Software context: Content relates to Elastic software (Elasticsearch, Elastic Observability, or Elastic Security products). Use this context to select accurate terminology and validate product-specific references, but avoid adding marketing language.
Glob for *.yaml and *.yml in $ARGUMENTS, or read a single file if given a direct path. Parse each file as YAML. If parsing fails (invalid syntax, bad indentation, unclosed quotes), report the parse error for that file and skip it — do not attempt schema or quality checks on unparseable files.
These are hard errors — structural/parse failures only (missing required fields, invalid enums, YAML types, unquoted scalars, required impact/action on breaking-change). Not style guidelines. The source of truth for the schema is ChangelogEntry.cs and ProductReference.cs linked in sources.
One schema for all changelog YAML. Ask: is this tied to a pull request? A note-*.yml / note-*.yaml filename is only a hint that the file was written with docs-builder changelog note, not a second content type.
Required fields:
title: must be presenttype: must be present, value must be one of: feature, enhancement, security, bug-fix, breaking-change, deprecation, known-issue, docs, regression, otherproducts: must be present, non-empty array; each product object must have a product keyProduct ID validation: Fetch https://raw.githubusercontent.com/elastic/docs-builder/main/config/products.yml to get the canonical list — valid IDs are the top-level keys under products:. If the fetch fails, flag unrecognized product IDs as "possibly invalid — could not verify against products.yml" rather than as errors.
Applicability (prs / versions / target):
prs required (non-empty); products[].versions and products[].target forbiddennote-*.yml filename hint): products[].versions required — YAML sequence of concrete versions/dates, not * or a | string; missing prs/issues is not an error; products[].target still forbiddenproducts[].target is obsolete on every file — schema error if presentversions and no prs on a PR-number filename: schema error — point writers to docs-builder changelog noteOptional field constraints:
products[n].lifecycle if present on any product object, fetch https://github.com/elastic/docs-builder/blob/main/src/Elastic.Documentation/Lifecycle.cs to get canonical list (such as ga)subtype: only permitted on breaking-change changelogs; value must be one of: api, behavioral, configuration, dependency, subscription, plugin, security, otherprs and issues: arrays of strings when present (see applicability rules above for required vs optional)areas if present: must be an array of strings — validate against repository configuration from Step 1 if available (only flag areas not in docs/changelog.yml pivot.areas section), otherwise use generic validationfeature-id if present: must be a string — used to associate a change with a unique feature flaghighlight if present: must be a boolean — marks entries for inclusion in release highlightsYAML quoting: Text field values (title, description, impact, action) that contain : (colon followed by a space) MUST be wrapped in quotes — an unquoted value containing : is interpreted as the start of a new mapping key and causes a "While scanning a plain scalar value, found invalid mapping" error at bundle time. Also flag unquoted values containing #, [, ], {, or } as these can also cause parse failures.
Example problem: description: The tool no longer accepts the flag: -c
Correct form: description: "The tool no longer accepts the flag: -c"
These are warnings. The source of truth is the changelogs style guidance linked in sources.
All types:
Add, Fix, Improve, Remove, Update…) — not third-person forms (Adds, Fixes)type (noun-phrase titles)Don't, Do not — these are not approved leading verbs for any typeAbility to, Adding, Changing, Using, Shutdownfoo/bar/baz)Systematic pattern warnings:
1. Title standardization issues (from canonical Title cleanup checklist):
feat:, fix:, Fix:, auto-implement:, ES|QL|DS, Aggs:, GPU codec:, DiskBBQ -, and trailing tracker fragments like Bugfix -[Security Solution], [Query Rules], [Inference], and similar with plain, user-facing wording[Verb] [change] [in/on/for] [feature, app, page, tab, flyout, or integration]. Flag generic nouns (button, metrics, monitors) with no context. Use PR paths/labels, areas, and issue titles as context sourcesFix, Add, Remove (not third-person Fixes, Adds, Removes)[Feature/App]: [Action] patterns that need contextual integration (e.g., "File upload: Fix bug" should integrate the feature contextually). Skip technical terms, API references, code identifiers.2. Technical term enhancement issues:
serialise → serialize, colour → colorparams → parametersESQL should be standardized to ES|QL3. Content quality issues:
description when title is self-explanatory is fine; only flag present descriptions that repeat the title, say "See PR", or add no contextFix, Add). Descriptions, impact, and action use third-person present (Fixes, Adds). Flag past tense (Fixed, Added) and base-form openings in descriptions4. YAML formatting issues (cross-reference with Step 2):
5. UI element formatting issues:
backticks6. Type-title alignment issues:
Flag when changelog type and title verb patterns don't align, indicating potential misclassification:
bug-fix/regression misalignment: Title uses Improve, Enable, Update, Enhance instead of expected Fix, Resolve, Correct
enhancementbug-fix/regression enhancement verbs: On bug-fix, flag titles starting with Default, Reserve, Ensure, or Close without Fix
bug-fix/regression preventive/restrictive framing: Flag titles that describe a new restriction or validation rather than the user-visible failure, especially when the title does NOT start with Fix, Resolve, or Correct
Don't, Do not, Disallow, Prevent, Reject, Block, Forbid, Prohibit, Restrict, No longer allowFix [symptom] when [condition] — e.g. "Don't allow runtime fields to shadow index sort fields" → "Fix shard recovery failures when runtime fields shadow index sort fields"enhancement instead of bug-fixenhancement misalignment: Title uses Fix, Resolve, Correct instead of expected Improve, Update, Optimize, Enable, Expand, Enhance
bug-fix) or truly an optimization (keep enhancement)feature misalignment: Title uses Fix, Improve for substantial new capabilities
Add, Introduce, Enable, Supportfeature) vs minor addition (→ enhancement)docs misalignment: Title doesn't focus on documentation clarity/accuracy
Update, Add, Clarify, DocumentExample patterns to flag:
bug-fix + "Improve query approximation accuracy..." → Flag alignment mismatchbug-fix + "Don't allow runtime fields to shadow fields used in index sort" → Flag preventive framing + verb mismatchenhancement + "Fix Painless score scripts..." → Flag alignment mismatchenhancement + "Fix ES|QL performance issues..." → Flag alignment mismatch7. Technical content issues:
Flag overly technical titles that focus on implementation details rather than user impact:
Implementation-focused titles: Class names, method names, or internal processes without user context
Technical jargon without context: Multiple technical terms that don't explain user experience
Missing user symptoms: Describes internal fixes without explaining external effects
Preventive vs corrective: On bug-fix/regression, if the title lacks symptom words (fail, error, crash, leak, hang, timeout, incorrect, missing, red, unallocated) and instead uses restriction words (allow, disallow, prevent, reject, validate, block), flag as likely preventive framing — soft heuristic for human review, not auto-fail
Dev/test language: Flag Repro and fix phrasing and PR-title passthrough with class/method names
Unexpanded dev acronyms: Flag and expand per the docs-fix-changelog Step 4 item 2 table (do not copy the table here)
ES|QL function tokens: When areas includes ES|QL, flag unbackticked function names (UNION_BY_NAME, JSON_EXTRACT, etc.)
Eligibility (report only — never delete files):
### Recommend removal; do not modify or delete filesType-specific:
breaking-change: impact and action are REQUIRED — flag as errors if absent; subtype is strongly recommendeddeprecation and known-issue: impact and/or action are recommended — flag as warnings if absentfeature / enhancement: title/description should explain what users can now do, not how it was builtbug-fix / regression: title/description should explain what was wrong and what is now correctdescription must add context beyond repeating the title; flagging "See PR" or "Internal refactoring" as low-valueimpact if present: should explain scope and who is affectedaction if present: should provide clear, prescriptive stepsThese are warnings. Check description, impact, and action field values for formatting consistency.
Link formatting:
[descriptive text](url) insteadCode formatting:
``` with no language tag (use yaml, json, bash, console, etc.)Text formatting:
Produce one section per file reviewed. Omit empty sections. Use this format:
## Changelog review: <filename>
### Summary
- N schema errors, M quality warnings, P formatting warnings
### Schema errors
- `field`: description of the problem
### Quality warnings
- `field`: description of the problem
### Formatting warnings
- `field`: description of the problem
### Recommend removal
- Optional; include only when eligibility checks fire — reason and PR/issue reference if available
If a file has no issues, say so explicitly.
Include this section when resource loading or validation has limitations:
End with a one-line overall summary across all files reviewed. If any files have quality warnings (including systematic pattern issues, type-title alignment mismatches, and technical content issues) or formatting warnings, suggest running docs-fix-changelog to get specific improvement suggestions that address the same patterns this review identified.
Sync awareness: If Step 1 successfully loaded canonical guidance and you detected significant discrepancies between the live documentation and this skill's embedded patterns, flag this in your summary. Note which patterns may need updating and suggest checking the canonical source directly at https://www.elastic.co/docs/contribute-docs/content-types/changelogs.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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-oasReview a Kibana PR for OpenAPI Spec (OAS) and API docs compliance against the Elastic API docs checklist, core guidelines, and Kibana quickstart. Checks availability, summaries, descriptions, parameters, examples, tags, links, defaults, enums, deprecation, and generated YAML correctness. Use when reviewing a Kibana PR that touches API routes or OAS output files, or when asked to check OAS, availability, x-state, or API docs compliance on a PR.
/docs-check-styleCheck documentation for Elastic style guide compliance using Vale linter output and style rules. Use when the user asks to check, lint, or review docs for voice, tone, grammar, formatting, accessibility, or word choice issues, or when a docs review runs. Do not trigger on ordinary drafting or editing./docs-content-type-checkerCheck a docs-content page against Elastic content type guidelines (overview, how-to, tutorial, troubleshooting, changelog), or classify a proposed page idea against the content types before drafting. Use when the user asks to check content type compliance, validate page structure, review a doc against content type standards, or decide which content type a planned page should use./docs-draft-feature-docsDraft Elastic documentation for any feature or feature area, from a doc issue, a product pull request, or raw notes. Enforces the docs-content baseline on every draft — verify against product source at HEAD, find the canonical home, place content once, scope it cumulatively — and reads per-area reference files for local conventions when they exist. Use when picking up a doc issue, documenting a shipped or upcoming feature, or turning engineering notes into a page.Other plugins' skills for the same job