docs-applies-to-tagging

Validate and generate `applies_to` tags in Elastic documentation Markdown files.

71|10|Updated Aug 20, 2025
One-click install
npx skills add https://github.com/elastic/elastic-docs-skills --skill docs-applies-to-tagging
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docs-applies-to-tagging
Source: https://github.com/elastic/elastic-docs-skills/tree/main/skills/authoring/applies-to-tagging
Command: npx skills add https://github.com/elastic/elastic-docs-skills --skill docs-applies-to-tagging

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that all Elastic documentation pages and sections are correctly tagged with applies_to information, which is crucial for indicating product, deployment, and version applicability, thereby improving documentation accuracy and user experience.

Core Features & Use Cases

  • Validation: Checks for missing, duplicate, or incorrectly formatted applies_to tags in Markdown files.
  • Generation: Can generate correct applies_to tags based on provided context or requirements.
  • Use Case: When reviewing a new documentation page for a feature released in Stack 9.1 and Serverless, this Skill can validate that the applies_to frontmatter correctly reflects this, or generate it if missing.

Quick Start

Validate the applies_to tags in the file '/path/to/your/document.md'.

Frequently Asked Questions about docs-applies-to-tagging

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate applies_to tags in Elastic documentation?

You validate applies_to tags by running this Skill on your Markdown files. It uses Glob to locate documents and Read to inspect frontmatter and section annotations, checking for missing, duplicate, or incorrectly formatted tags.

What are applies_to tags used for in Elastic docs?

Applies_to tags indicate product, deployment, and version applicability for Elastic documentation. They are applied across page-level frontmatter, section-level annotations, and inline tags to ensure documentation accuracy and improve user experience.

Can I generate missing applies_to frontmatter for a new documentation page?

Yes, you can generate missing applies_to frontmatter. The Skill generates correct applies_to tags based on provided context or requirements, such as when a new feature is released for a specific Stack version and Serverless.

How do applies_to tags handle different deployment types and lifecycle states?

Applies_to tags handle deployment types and lifecycle states by adhering to specific syntax rules and defined validation guidelines. The Skill inspects content and applies corrections to ensure tags accurately reflect product, deployment, and version applicability.

What is the best way to fix incorrectly formatted applies_to annotations in Markdown files?

The best way to fix incorrectly formatted applies_to annotations is to use this Skill to inspect content and apply corrections. It uses the Edit tool to automatically correct page-level frontmatter and section-level annotations based on defined validation rules.