Logo Docs Review Changelog

Docs Review Changelog

Tổ chức
elastic
docs-review-changelog

Validate and assess the quality of Elastic changelog YAML files against current Elastic standards. Reports schema errors, content quality issues, systematic pattern violations, type-title alignment mismatches, missing product/surface context in titles, description verb-tense issues, and overly technical content that needs user-focused rewrites. Features repository-aware area validation. Fetches canonical guidance to stay in sync. Use when checking or reviewing changelog files before merging — pairs with docs-fix-changelog to get suggested fixes.

Tổng quan

Nhà phát hànhelastic
Kho mãelastic-docs-skills
Tên kỹ năngdocs-review-changelog
Sao
71
Bản fork
10
Tệp đi kèm
1
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được elastic công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Docs Review Changelog trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/elastic/elastic-docs-skills/tree/main/skills/changelogs/review-changelog
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/elastic/elastic-docs-skills.git /tmp/elastic-docs-skills
mkdir -p .claude/skills
cp -r /tmp/elastic-docs-skills/skills/changelogs/review-changelog .claude/skills/docs-review-changelog
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Docs Review Changelog trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Docs Review Changelog ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Docs Review Changelog với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

How to use this skill

Purpose: Quality gatekeeper for changelog YAML files. Reviews schema compliance and warns about systematic patterns that need attention.

Common workflows:

  • Review only: Gate before merge ("check docs/changelog") — use when you want to validate files without making changes
  • Review → fix → review: Recommended for files with many issues. Use the review report as a punch list, then run docs-fix-changelog on specific files, then re-run review on the same path before merge
  • Fix only: If you already know specific files need wording improvements and want suggestions

Relationship to docs-fix-changelog:

  • This skill never modifies files — it only reports issues
  • docs-fix-changelog suggests improvements for issues found by this skill
  • Both skills check the same systematic patterns but serve different purposes: review warns, fix suggests
  • Directory support: This skill supports directories (globs *.yaml/*.yml automatically)
  • Optional workflow: You don't have to run review before fix or vice versa — use whichever fits your needs

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.

Inputs

$ARGUMENTS is a file path or directory to review. If empty, ask the user what to review.

Step 1: Load canonical guidance and repository configuration

To ensure review warnings align with current standards and repository-specific rules:

Canonical Guidance Loading

  1. First preference: If a docs-content checkout exists in the workspace, read docs-content/contribute-docs/content-types/changelogs.md
  2. Second preference: Fetch the published guide at https://www.elastic.co/docs/contribute-docs/content-types/changelogs
  3. Fallback: Use the embedded patterns in this skill if the above sources are unavailable

Repository Configuration Loading

  1. Area validation: Look for docs/changelog.yml in the workspace to extract valid area values from the pivot.areas section
  2. Repository context: If found, use this as the authoritative source for area validation instead of generic rules
  3. Fallback: If no repository config found, note this limitation in the final summary

Purpose: 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.

Step 2: Discover and parse files

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.

Step 3: Schema checks

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 present
  • type: must be present, value must be one of: feature, enhancement, security, bug-fix, breaking-change, deprecation, known-issue, docs, regression, other
  • products: must be present, non-empty array; each product object must have a product key

Product 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):

  • PR-linked: prs required (non-empty); products[].versions and products[].target forbidden
  • Version-listed (no PR, or note-*.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 forbidden
  • products[].target is obsolete on every file — schema error if present
  • File with versions and no prs on a PR-number filename: schema error — point writers to docs-builder changelog note

Optional 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, other
  • prs 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 validation
  • feature-id if present: must be a string — used to associate a change with a unique feature flag
  • highlight if present: must be a boolean — marks entries for inclusion in release highlights

YAML 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"

Step 4: Quality checks

These are warnings. The source of truth is the changelogs style guidance linked in sources.

All types:

  • Title starts with base-form action verb (Add, Fix, Improve, Remove, Update…) — not third-person forms (Adds, Fixes)
  • Flag: title does not start with an approved base-form verb for the declared type (noun-phrase titles)
  • Flag titles starting with negative imperatives: Don't, Do not — these are not approved leading verbs for any type
  • Flag noun-phrase or gerund-led titles: Ability to, Adding, Changing, Using, Shutdown
  • Flag: slash-separated enumerations in titles (foo/bar/baz)
  • Title is specific, not vague ("Bug fixes" or "Performance improvements" are too vague)
  • Title avoids bare internal references ("PR #123", "bug #456") — these don't help users
  • Title and description avoid implementation-focused language (describe user impact, not code changes)
  • Title over 80 or description over 600 characters → quality warning (guideline; low priority if ≤20 over; never a merge blocker)

Systematic pattern warnings:

1. Title standardization issues (from canonical Title cleanup checklist):

  • Strip development labels: Remove prefixes such as feat:, fix:, Fix:, auto-implement:, ES|QL|DS, Aggs:, GPU codec:, DiskBBQ -, and trailing tracker fragments like Bugfix -
  • No bracket-only team tags: Replace [Security Solution], [Query Rules], [Inference], and similar with plain, user-facing wording
  • Strong verbs: Prefer Improve validation for... over Better validation for... (use present tense imperative: Fix, Add, Remove)
  • No buried lede: If title is vague, fold in concrete detail from description so release notes stand alone
  • Product/surface context: Titles scoped to a UI element or workflow must locate the change: [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 sources
  • Base-form verb requirement: Use Fix, Add, Remove (not third-person Fixes, Adds, Removes)
  • Sentence case: Follow standard sentence capitalization
  • Feature/app prefix patterns: Flag titles with [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:

  • Missing backticks around class/method names, config keys, API endpoints, or code identifiers
  • British spelling that should use US English: serialise → serialize, colour → color
  • Unexpanded abbreviations where full form would be clearer: params → parameters
  • Inconsistent terminology: ESQL should be standardized to ES|QL

3. Content quality issues:

  • Vague titles that could be more specific based on description content
  • Absent description when title is self-explanatory is fine; only flag present descriptions that repeat the title, say "See PR", or add no context
  • Implementation-focused phrasing instead of user-visible outcomes
  • Verb-form split: Titles use base-form imperative (Fix, Add). Descriptions, impact, and action use third-person present (Fixes, Adds). Flag past tense (Fixed, Added) and base-form openings in descriptions
  • Directory mode: Flag mixed past/present description tense across files in the same run

4. YAML formatting issues (cross-reference with Step 2):

  • Unquoted text containing special characters (see Step 2 for details)
  • Inconsistent formatting across text fields

5. UI element formatting issues:

  • Unclear UI labels: Button names, page titles, tabs should be in "quotation marks" if the phrase is unclear. For example: 'Fix "View in AI Assistant" button availability'
  • Incorrectly quoted feature names: Feature names should be capitalized, not quoted (Machine Learning, not "Machine Learning")
  • Missing backticks: Field names, parameters, API endpoints should use backticks
  • UI vs feature uncertainty: Flag when formatting choice between UI label and feature name is unclear

6. 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

    • Warning: Type suggests fixing broken behavior, but title implies improvement/addition
    • Suggest: Review whether behavior was actually broken or if this should be enhancement
  • bug-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

    • Leading patterns to flag: Don't, Do not, Disallow, Prevent, Reject, Block, Forbid, Prohibit, Restrict, No longer allow
    • Warning: Title explains what is now blocked, not what was broken (recovery failure, query error, cluster red, etc.)
    • Suggest: Rewrite as Fix [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"
    • Type note: If the change only adds validation with no prior user-visible failure, consider enhancement instead of bug-fix
  • enhancement misalignment: Title uses Fix, Resolve, Correct instead of expected Improve, Update, Optimize, Enable, Expand, Enhance

    • Warning: Type suggests improving working functionality, but title implies fixing broken behavior
    • Suggest: Review whether behavior was broken (→ bug-fix) or truly an optimization (keep enhancement)
  • feature misalignment: Title uses Fix, Improve for substantial new capabilities

    • Warning: Major new functionality should use Add, Introduce, Enable, Support
    • Suggest: Review scope - substantial new capability (→ feature) vs minor addition (→ enhancement)
  • docs misalignment: Title doesn't focus on documentation clarity/accuracy

    • Warning: Documentation changes should use Update, Add, Clarify, Document

Example patterns to flag:

  • Type bug-fix + "Improve query approximation accuracy..." → Flag alignment mismatch
  • Type bug-fix + "Don't allow runtime fields to shadow fields used in index sort" → Flag preventive framing + verb mismatch
  • Type enhancement + "Fix Painless score scripts..." → Flag alignment mismatch
  • Type enhancement + "Fix ES|QL performance issues..." → Flag alignment mismatch

7. 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

    • Warning: Title focuses on code changes rather than user-visible symptoms
    • Example: "Fix splitValue nullability coercion when constructing ColorSeries" → Flag as too technical
    • Suggest: Rewrite to describe user-visible impact like "Fix inline charts with grey time series for ES|QL queries"
  • Technical jargon without context: Multiple technical terms that don't explain user experience

    • Warning: Title requires deep technical knowledge to understand user impact
    • Suggest: Focus on what users see, not how code works
  • Missing user symptoms: Describes internal fixes without explaining external effects

    • Warning: Users can't determine if this change affects them
    • Suggest: Include user-facing symptoms or feature areas affected
  • 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 when linked PR/issue is test-only, refactor-only, or internal plumbing with no user-visible change
  • Without PR context: flag title/description mentioning test-only work or internal refactor
  • Report under ### Recommend removal; do not modify or delete files

Type-specific:

  • breaking-change: impact and action are REQUIRED — flag as errors if absent; subtype is strongly recommended
  • deprecation and known-issue: impact and/or action are recommended — flag as warnings if absent
  • feature / enhancement: title/description should explain what users can now do, not how it was built
  • bug-fix / regression: title/description should explain what was wrong and what is now correct
  • When present, description must add context beyond repeating the title; flagging "See PR" or "Internal refactoring" as low-value
  • impact if present: should explain scope and who is affected
  • action if present: should provide clear, prescriptive steps

Step 5: Formatting checks

These are warnings. Check description, impact, and action field values for formatting consistency.

Link formatting:

  • Bare URLs used as link text — should use [descriptive text](url) instead
  • Generic link text like "click here" or "read more" — should be descriptive of the destination

Code formatting:

  • Code fences without a language identifier — e.g. ``` with no language tag (use yaml, json, bash, console, etc.)
  • Field names, config keys, commands, class names, or API endpoints written as plain text — should use inline backticks
  • Missing backticks around obvious code identifiers like method names, parameter names, or specific values

Text formatting:

  • Inconsistent spelling (should follow US English conventions)
  • Inconsistent terminology

Step 6: Report

Produce one section per file reviewed. Omit empty sections. Use this format:

markdown
## 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.

Confidence Assessment

Include this section when resource loading or validation has limitations:

  • Canonical guidance: [✓ Loaded successfully | ✗ Failed - using embedded patterns]
  • Repository config: [✓ Found docs/changelog.yml | ✗ Not found - using generic validation]
  • Validation confidence: [High | Medium | Low] - [Brief reason]
  • Review limitations: [Any factors affecting review accuracy]

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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Docs Review Changelog làm được gì?

Validate and assess the quality of Elastic changelog YAML files against current Elastic standards. Reports schema errors, content quality issues, systematic pattern violations, type-title alignment mismatches, missing product/surface context in titles, description verb-tense issues, and overly technical content that needs user-focused rewrites. Features repository-aware area validation. Fetches canonical guidance to stay in sync. Use when checking or reviewing changelog files before merging — pairs with docs-fix-changelog to get suggested fixes.

Vì sao nên dùng Docs Review Changelog trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Docs Review Changelog là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Docs Review Changelog trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/elastic/elastic-docs-skills/tree/main/skills/changelogs/review-changelog. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Docs Review Changelog?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Docs Review Changelog với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Docs Review Changelog với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Docs Review Changelog có miễn phí không?

Có. Kỹ năng này được elastic phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇