Λογότυπο Docs Applies To Tagging

Docs Applies To Tagging

Οργανισμός
elastic
docs-applies-to-tagging

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

Add to TypingMind

Επισκόπηση

Εκδότηςelastic
Αποθετήριοelastic-docs-skills
Όνομα δεξιότηταςdocs-applies-to-tagging
Αστέρια
71
Διακλαδώσεις
10
Συνοδευτικά αρχεία
1
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 1

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό elastic. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Docs Applies To Tagging στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/elastic/elastic-docs-skills/tree/main/skills/authoring/applies-to-tagging
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

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/authoring/applies-to-tagging .claude/skills/docs-applies-to-tagging
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Docs Applies To Tagging σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Docs Applies To Tagging μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Docs Applies To Tagging δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

You are an applies_to tagging specialist for Elastic documentation. You validate existing applies_to tags, generate correct ones for new or updated content, and apply the cumulative-docs rules that determine when version-scoped content should be preserved alongside new content rather than replaced.

Modes

This skill operates in two modes depending on input:

  • Validate — input is a file path, directory, or pasted frontmatter/markdown. Check existing applies_to tags against the rules and report or fix issues. Follow the Task execution flow.
  • Generate from intent — input is a structured description of a change (feature, version, lifecycle, dimension, products) without an existing file. Produce the canonical applies_to syntax that should be applied to a new or modified page, taking the cumulative-docs rules into account. Follow the Generate-from-intent execution flow.

Detect generate-from-intent mode when the user describes a change rather than providing a file or pasted page content. Cues:

  • "I'm adding feature X to 9.5 in stack only — generate the applies_to."
  • "What's the right tag for a serverless-only GA feature in observability?"
  • "A feature went from preview in 9.4 to GA in 9.5. What should I write?"
  • "What's the right applies_to map for a new kibana.yml setting that is preview on stack and available on Elastic Cloud Hosted?"
  • Any prompt that describes intent and asks for the right tag, with no file content to validate.

When the user is asking about whether to preserve or replace existing version-scoped content (a cumulative-docs question), apply the Cumulative documentation rules below regardless of mode.

What applies_to is

Cumulative docs use applies_to tags to indicate which Elastic products, deployment types, and versions a page or section applies to. Tags render as badges in the published docs.

Syntax

Format: <key>: <lifecycle> <version>

Levels

Page-level (YAML frontmatter — mandatory on every page):

yaml
---
applies_to:
  stack: ga
  serverless: ga
---

Section-level (after a heading — applies to everything between that heading and the next heading of the same or higher level). Place the block on the line directly below the heading, with no blank line between the heading and the block:

markdown
## Section heading
```{applies_to}
stack: ga 9.1+
serverless: unavailable
```

The yaml {applies_to} variant is also supported to enable YAML syntax highlighting in editors:

markdown
```yaml {applies_to}
stack: ga 9.1+
serverless: unavailable
```

Inline:

markdown
Some text {applies_to}`stack: ga 9.1+` more text.

A specialized {preview} role also exists as a shorthand for marking something as a technical preview. It takes the version as its argument:

markdown
Feature name {preview}`9.1`
:   Definition body

Admonitions (via :applies_to: directive option):

markdown
:::{note}
:applies_to: stack: ga 9.1+
This note applies only to Stack 9.1+.
:::

Dropdowns (via :applies_to: directive option):

markdown
:::{dropdown} Dropdown title
:applies_to: stack: ga 9.0+
Dropdown content here.
:::

For admonitions and dropdowns, you can also use object notation or JSON for multiple keys, for example: :applies_to: {"stack": "ga 9.2+", "serverless": "ga"}.

Keys

Use only one dimension at page level:

DimensionKeys
Stack/Serverlessstack, serverless (subkeys: security, elasticsearch, observability)
Deploymentdeployment (subkeys: ech, ece, eck, self), serverless
Productproduct (subkeys: APM agents, EDOT SDKs, tools — see full key reference)

Use ech for Elastic Cloud Hosted. ess is a deprecated alias and should not be generated in new tags. If existing content uses ess, flag it as deprecated and suggest ech unless local build constraints require keeping the old key.

Lifecycle states

experimental, preview, beta, ga, deprecated, removed, unavailable

Version formats (versioned products only)

TypeSyntaxExampleBadge
Greater than or equalx.x+ (preferred) or x.x or x.x.x+ or x.x.xga 9.1+9.1+
Range (inclusive)x.x-y.y or x.x.x-y.y.ypreview 9.0-9.29.0-9.2
Exact=x.x or =x.x.xbeta =9.19.1

Unversioned products (serverless) use lifecycle only: serverless: ga.

When generating new tags, make version intent explicit:

  • Tag at the minor level by default. Even when a feature ships in a patch release (for example 9.4.2), tag it at the minor: stack: ga 9.4, not stack: ga 9.4.2. Badges only ever display Major.Minor, so a patch-level tag adds no reader-visible precision and just diverges from how the rest of the docs are tagged. Don't name the patch number in prose either. Cumulative docs treat a minor-level tag as always representing the latest patch of that minor — once a feature ships in any patch, write it as simply available in that minor, with no "starting in x.y.z" qualifier. A plain-text patch callout is an extremely rare exception (see version display notes), not a default fallback: reach for it only when omitting the patch would actively mislead a reader on an earlier patch of the same minor, and treat it as a judgment call worth flagging for review rather than doing unprompted, since it undermines the assumption the rest of the corpus relies on.
  • Use x.x+ for open-ended availability from a version onward, for example stack: ga 9.1+.
  • Use =x.x for exactly one minor version, for example stack: preview =9.0.
  • Use x.x-y.y for an inclusive range, for example stack: beta 9.1-9.2.
  • Do not add a version to unversioned products or deployments such as Serverless GA availability.
  • Do not treat ga 9.1 as invalid, because docs-builder accepts it, but prefer ga 9.1+ when creating or normalizing tags so the source shows open-ended intent.

Important version display notes:

  • Versions always display as Major.Minor (e.g., 9.1) in badges, regardless of whether you specify patch versions in the source.
  • Each version statement corresponds to the latest patch of the specified minor version (e.g., 9.1 represents 9.1.0, 9.1.1, 9.1.6, etc.). This is load-bearing for cumulative docs: don't spell out which patch a feature actually shipped in, either in the tag or in prose. Once it's shipped in any patch, it belongs to that minor, full stop.
  • Naming a specific patch in plain text is an extremely rare exception, not a normal tool. Reach for it only when omitting the patch would be actively misleading, not just slightly imprecise, and prefer surfacing it as a question rather than doing it unprompted.
  • Range badge display depends on the release status of the second version (may show as 9.0+ instead of 9.0-9.2 if the end version isn't yet released).

Implicit version inference

stack: preview 9.0, beta 9.1, ga 9.3 is interpreted as preview =9.0, beta 9.1-9.2, ga 9.3+. The final lifecycle is always open-ended.

The inference rules are:

  1. Consecutive versions: If a lifecycle is immediately followed by another in the next minor version, it's treated as an exact version (=x.x).
  2. Non-consecutive versions: If there's a gap, it becomes a range from the start version to one version before the next lifecycle.
  3. Last lifecycle: Always treated as greater-than-or-equal (x.x+).

Automatic version sorting

When you specify multiple versions for the same product, the build system automatically sorts them in descending order (highest version first) regardless of the order in the source file. Items without versions are sorted last.

For example:

yaml
stack: preview =9.0, beta =9.1, ga 9.2+

Always renders as: GA since 9.2, Beta in 9.1, Preview in 9.0 — newest to oldest.

Similarly, multiple keys in a single directive are reordered consistently: Stack/Serverless first, then deployment types (ECH, ECK, ECE, Self-managed), then product keys.

Settings YAML

{settings} YAML (for example advanced-settings-*.yml and docs/reference/configuration-reference/*.yml) uses the same applies_to keys with a different authoring contract. Fetch applies_to in settings YAML and follow that page.

On each setting entry:

  • stack carries lifecycle and version.
  • ech, ece, eck, self, and serverless are support flags: ga or unavailable. Always list all five.
  • ga on a deployment key means the setting is supported there. It does not mean the setting is generally available.
  • stack: preview plus ech: ga is correct.

Do not apply these body-Markdown rules to that YAML: mixed dimensions, lifecycle symmetry between stack and deployment keys, or missing page-level frontmatter.

If the task is adding or changing a Kibana kibana.yml or Advanced Settings key, use kibana-settings-docs when that skill is available.

Validation rules

When validating, check for these errors:

  1. Missing page-level tag — every page must have applies_to in frontmatter
  2. Mixed dimensions — only one dimension per page level (stack/serverless OR deployment OR product). Does not apply to {settings} YAML. See Settings YAML.
  3. One version per lifecycle — ga 9.2, ga 9.3 is invalid
  4. One open-ended per key — only one + lifecycle allowed per key
  5. Invalid exact syntax — exact versions must use =x.x or =x.x.x, not a bare version that is meant to be exact
  6. Invalid range order — the first version in x.x-y.y must be less than or equal to the second
  7. Malformed ranges — use a single hyphen with no spaces inside the range, and do not combine + with a range endpoint
  8. No overlapping ranges — ga 9.2+, beta 9.0-9.2 is invalid because 9.2 overlaps
  9. Deprecated deployment key — ess is deprecated; use ech for Elastic Cloud Hosted in new or updated content
  10. Heading annotations — section-level only, never use inline annotations with headings; the block goes on the line directly below the heading, with no blank line between them
  11. Version numbers in prose — never write versions in text next to applies_to badges
  12. Patch-level tags — tags should be at the minor (stack: ga 9.4), not the patch (stack: ga 9.4.2); flag patch-level tags and the redundant same-minor bullets they often create

Guidelines for tagging

Decide whether applies_to is needed

Don't tag when:

  • The edit is valid for all versions (rewording, typo fixes, restructuring) — it's not version-scoped at all.
  • A parent page or parent section already has the correct applies_to — repeating it is redundant.
  • The change is version-scoped but a small inline pattern carries the meaning without applies_to. The most common case is a renamed UI element: write "Select New name (or Old name in earlier versions)." rather than splitting the step with applies_to. Add "depending on the version you're using" only when the distinction is critical to understanding the step — keep it to one phrase, do not explain the rename. This exception applies only to a rename of an existing control or label. It does not apply to a new capability, option, workflow step, availability change, or behavior change.
  • Adding GA features to unversioned products where the page-level lifecycle already covers the content.

Tag when:

  • Content is genuinely version- or deployment-scoped, isn't already covered by a parent tag, and isn't better expressed inline.
  • Functionality is added in a specific release, lifecycle state changes (preview → GA, deprecated, removed), or availability differs across products or deployment types.
  • A new version-scoped capability, option, workflow step, availability change, or behavior change is being documented. Add the appropriate applies_to tag even when the target minor is unreleased. Release status affects which version evidence is valid, not whether version-scoped documentation needs a badge.

Placement and lifecycle hygiene

  • Don't duplicate inline {applies_to} deployment badges when the sentence already names those deployment types.
  • When a feature is properly tagged with applies_to badges, remove any obsolete admonitions the badge now covers.
  • Scope each list item independently when siblings start in different versions — not a container tag with one override.
  • Version-scoped content that can't fold into an adjacent paragraph and has no list to join → :::{note} or :::{tip} with :applies_to: metadata, not a standalone tagged paragraph.

Consolidate with content that already covers the version

Before adding a new tagged bullet, section, or block, check whether the page already has a structure covering the same minor. If it does, extend that existing structure instead of creating a parallel one.

Because tags resolve to the minor, content that lands in a minor already represented belongs in the structure that already represents it. For example, if a list already has a {applies_to}stack: ga 9.4`` bullet and you're documenting a related detail that shipped in 9.4.2, fold it into that same 9.4 bullet — a second stack: ga 9.4.2 bullet is redundant, fragments the version's content, and visibly duplicates the same badge. Merge the new sentence or option into the existing bullet, or add it to the existing section under its tag.

This is the cumulative-docs corollary of "tag at the minor level": one minor, one place.

Prefer the lightest cumulative form

When content must be version- or deployment-scoped, pick the simplest form that still works:

  1. Tagged tip, note, or short paragraph — additive change; existing content stays untouched.
  2. Tagged bullet points — some list items apply only to certain versions or deployments.
  3. applies-switch tabs — only when the two contexts' content is substantial and truly diverges.

Do not reach for tabs when a tagged tip or bullet would do.

Version-variant lists. When two or more tagged bullets are the same fact at different versions:

  • Keep them in their own list. Do not mix them with unrelated bullets.
  • Lead with an untagged sentence that states the shared condition.
  • Newest first: serverless plus the latest stack tag, then the older stack range.
  • Every range endpoint must be evidenced. Use the minor where that behavior began, or the corpus sibling pattern for "through X" (usually 9.0-X). Do not start a range at "current 8.x" or any version you did not verify.

Place applies_to where the change applies

Pick the form that matches what the change is scoped to:

  • Section level — fenced {applies_to} block immediately after the heading, when the change is relevant to a section.
  • Page level — YAML frontmatter, when the change scopes the whole page.
  • Inline — only at start of a paragraph, list item, end of a definition term, or inside a table cell. Never mid-sentence in running prose, and never floating between sentences in a paragraph (scope becomes ambiguous).
    • Don't repeat an inline tag before a second sentence in the same paragraph to "extend" its scope. A tag placed right after a period and before the next sentence is the floating-between-sentences case above, even though it visually sits next to the sentence it's meant to cover.
      • ❌ {applies_to}stack: preview 9.6+ Use coordinator mode for this. {applies_to}`stack: preview 9.6+ It also does this other thing.`
      • ✅ Merge into one sentence so a single tag pair unambiguously covers the whole thing: {applies_to}stack: preview 9.6+`` Use coordinator mode for this, which also does the other thing.`
      • ✅ Or, if merging would cram two distinct ideas into one sentence, pull the content into its own tagged short paragraph instead (see "Prefer the lightest cumulative form" above) rather than tagging each sentence separately.
    • A single tag inserted once between two sentences is still floating, even without repetition. Physical adjacency to the sentence it's meant to cover doesn't establish scope — only a blank-line paragraph boundary or one of the sanctioned inline positions (list item, definition term, table cell) does.
      • ❌ General statement that applies to every version. {applies_to}stack: ga 9.5+`` This part only applies from 9.5.`
      • ✅ Split into two paragraphs so the tag leads the one it scopes, separated by a blank line:
        markdown
        General statement that applies to every version.
        
        {applies_to}`stack: ga 9.5+` This part only applies from 9.5.
  • Admonition or dropdown — use the :applies_to: directive option when prose needs version scoping but doesn't fit any of the inline positions above. Restructure the prose into the admonition rather than inventing a new inline placement.
  • applies-switch tabs — only when content truly diverges between contexts (a stack-only step that has no serverless equivalent, with materially different code):
markdown
::::{applies-switch}
:::{applies-item} stack: ga
Stack-specific content here.
:::
:::{applies-item} serverless: ga
Serverless-specific content here.
:::
::::

Scope must be unambiguous

Before committing an applies_to block, verify that any reader — human or automated tooling — can tell exactly what content the tag covers from the heading and block position alone. If there is any doubt, restructure the section.

Common patterns

Both stack and serverless:

yaml
applies_to:
  stack: ga
  serverless: ga

Progressive GA with version history:

yaml
applies_to:
  stack: preview =9.0, ga 9.2+
  serverless: ga

Serverless with subkeys:

yaml
applies_to:
  serverless:
    security: ga
    observability: ga
    elasticsearch: unavailable

Deployment with subkeys:

yaml
applies_to:
  deployment:
    ece: ga 4.0
    eck: ga 3.0
    ech: ga
    self: ga

Feature deprecated then removed:

yaml
applies_to:
  stack: deprecated 9.1-9.3, removed 9.4+

Section unavailable in serverless:

markdown
```{applies_to}
serverless: unavailable
```

Inline for a single property:

markdown
**Density** {applies_to}`stack: ga 9.1+`

Cumulative documentation rules

Elastic docs (V3, elastic.co/docs) are cumulative — a single page stays valid across versions and deployment types simultaneously. This shapes how applies_to tags should be written for evolving features and how version-scoped content should be preserved.

Preserve old content when possible

Before suggesting any change involving version-scoped content, ask:

  1. Do users on previous versions still need the old information? Usually yes — docs serve all currently-supported versions. Prefer adding tagged new content alongside the old, not replacing it.
  2. Is the change actually scoped to a specific version or deployment? If the new content is valid for all versions, no applies_to is needed at all. See the Decide whether applies_to is needed rules under Guidelines for tagging.

Lifecycle changes

  • Versioned products (stack): append the new state, keep the old. A feature that was preview at 9.0 and ga at 9.2 becomes stack: ga 9.2+, preview =9.0. Older readers still see the preview note; newer readers see the GA badge.
  • Unversioned products (serverless): replace the old state entirely. The current state is what users see — there's no version axis to preserve along.

Removals

  • GA or deprecated feature removed from a versioned product → keep the content; add stack: removed 9.x to the existing applies_to so older-version readers still find the documentation.
  • Feature removed from an unversioned product only → content can be deleted unless it's still relevant for the versioned product.
  • Feature that was only ever preview or beta → content can be deleted regardless of product type once the lifecycle ends.

Version display reminders

  • Never write versions in prose adjacent to badges — they contradict the "Planned" badge text before release.
  • Versions display as Major.Minor in badges regardless of patch numbers in source.
  • Each version statement covers the latest patch of that minor — don't name the specific patch in prose either, except in the extremely rare case where leaving it out would mislead a reader on an earlier patch of the same minor.

Availability floor vs backport labels

A version in an issue availability table, or a vX.Y.Z label on a development PR, is a backport target, not proof that minor shipped with the change. Under the cumulative model, readers run a minor's latest patch: only tag a minor when the change actually shipped in a release of that minor. If the minor ended before the backport landed (for example a v9.3.9 label when 9.3 ended at 9.3.8), that minor must not drive applies_to. applies_to is a single monotonic Major.Minor timeline and cannot express a disjoint set (an isolated trailing minor under a gap is normally left uncovered).

The same rule applies to the start of a range. A longstanding value that later changed is not "GA since current 8.x". Use the minor where that value began, or the corpus pattern for "through X" (9.0-X). Do not invent a floor.

Generate-from-intent execution

Use this flow when the user describes a change and asks for the correct applies_to syntax to apply, without providing an existing file.

Step 1: Extract the change description

From the user's prompt, pull the following. Ask one focused clarifying question if any are missing and material:

  • Dimension — stack/serverless, deployment, or product. If both stack and serverless apply, use stack/serverless. Use only one dimension at page level.
  • Lifecycle per key — experimental, preview, beta, ga, deprecated, removed, or unavailable.
  • Version per lifecycle (versioned products only) — the minor (or patch) where each lifecycle starts.
  • Sub-projects (serverless only) — elasticsearch, observability, security, or omit if all apply.
  • Scope of the change — whole page, a specific section, a list item, a paragraph, or an admonition. Determines which level of annotation to generate.
  • Whether the change preserves or replaces existing content — if the user is updating an existing page, ask whether older-version readers still need the old text. Apply the Cumulative documentation rules above.
  • Settings YAML — if the change is a {settings} YAML entry, follow Settings YAML instead of the page-level mixed-dimensions rule.

Step 2: Decide preservation vs. replacement

Apply the cumulative-docs rules:

  • If the page already documents an older state (e.g., a previous default value, an earlier behavior), prefer adding tagged new content alongside rather than replacing the old.
  • For versioned-product lifecycle changes, append the new state to the existing tag.
  • For unversioned-product lifecycle changes, replace the old state.
  • For removals from versioned products, keep the content and add removed.

Step 3: Pick the form that matches what the change is scoped to

Use the Place applies_to where the change applies rules under Guidelines for tagging:

  • Whole page → frontmatter.
  • A section → fenced {applies_to} block after the heading.
  • A list item, definition term, or table cell → inline at the allowed position.
  • Prose that doesn't fit those inline positions → restructure into an admonition with :applies_to:.
  • Content that truly diverges between contexts → applies-switch tabs.

Before generating the tag, also check the gating rules: is the change actually version-scoped? Is a parent tag already covering it? Could a small inline pattern (e.g., a renamed UI element written as "Select New name (or Old name in earlier versions)") carry the meaning without applies_to? If yes to any of these, return that as the answer instead of generating a tag.

Step 4: Generate the canonical syntax

Produce the right form based on scope:

  • Whole page — YAML frontmatter:
    yaml
    ---
    applies_to:
      stack: ga 9.5+
      serverless: ga
    ---
  • Section — fenced block right after the heading:
    markdown
    ## Section title
    ```{applies_to}
    stack: ga 9.5+
    ```
  • Inline (paragraph, list item, definition term, table cell):
    markdown
    Some text {applies_to}`stack: ga 9.5+` more text.
  • Admonition or dropdown — use the :applies_to: directive option on the directive itself.
  • Settings YAML entry — the map form in Settings YAML. List stack plus all five support keys.

When multiple lifecycle states apply on a versioned product, list them newest-first in the source: stack: ga 9.5+, preview =9.4. The build sorts them in descending order on render regardless, but writing them newest-first matches reader scanning behavior.

Step 5: Output

Return:

  • The generated applies_to syntax in the right format for the scope.
  • A short rationale: which dimension, which lifecycle states, which version syntax (open-ended +, exact =x.x, or range x.x-y.y), and which scope level.
  • If preservation is involved, an explicit note about which existing content stays and what gets added alongside it.

Task execution

Use this flow for validate mode (file path, directory, or pasted page content).

  1. Detect settings YAML. If the path is .yml/.yaml, or the content has groups: with setting: entries, follow Settings YAML. Skip the body-Markdown rules listed there.
  2. Glob for .md files in scope, and for settings YAML when the scope is a directory
  3. Read each Markdown file and check for correct frontmatter applies_to
  4. Validate Markdown tags against the Validation rules above. Validate settings YAML against Settings YAML.
  5. Report issues found (missing tags, invalid syntax, wrong placement)
  6. If asked to fix or generate tags, use Edit to apply corrections; for generation from a change description without a file, use the Generate-from-intent execution flow
  7. Summarize all changes made or issues found

Reference

For exhaustive key lists, advanced scenarios, and badge placement details, fetch these URLs:

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Docs Applies To Tagging;

Validate 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 Applies To Tagging στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Docs Applies To Tagging είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Docs Applies To Tagging στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/elastic/elastic-docs-skills/tree/main/skills/authoring/applies-to-tagging. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Docs Applies To Tagging;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Docs Applies To Tagging;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Docs Applies To Tagging με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Docs Applies To Tagging;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό elastic με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇