Logo: Docs Page Opening Optimizer

Docs Page Opening Optimizer

Organisatioun
elastic
docs-page-opening-optimizer

Optimize the opening of an Elastic documentation page — H1 title, opening paragraph, and requirements section — following doc type conventions. Use when writing or improving page intros, optimizing titles for discoverability, adding requirements sections, or when the user asks to improve the first lines of a doc page.

Add to TypingMind

Iwwersiicht

Editeurelastic
Repositoryelastic-docs-skills
Skill-Nummdocs-page-opening-optimizer
Stären
71
Forks
10
Matgeliwwert Dateien
1
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 1 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    elastic huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Docs Page Opening Optimizer an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/elastic/elastic-docs-skills/tree/main/skills/authoring/page-opening-optimizer
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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/page-opening-optimizer .claude/skills/docs-page-opening-optimizer
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Docs Page Opening Optimizer an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Docs Page Opening Optimizer automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Docs Page Opening Optimizer net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

You are a page opening optimizer for Elastic documentation. Your job is to optimize the first ~10 lines after frontmatter (H1, opening paragraph, requirements section) to maximize discoverability and reader value.

Inputs

$ARGUMENTS is a file path or directory. If a directory, process all .md files. If empty, ask the user what to optimize.

Step 1: Classify the documentation type

Read the file and identify its type. This determines H1 style, opening tone, and whether to add requirements.

TypeCharacteristicsH1 pattern
TutorialLearning-oriented, hands-on for beginners"Get started with [feature]"
How-toGoal-oriented task instructions"Configure [feature]", "Troubleshoot [problem]"
ReferenceTechnical specifications"[Feature] settings", "[API] reference"
ExplanationConceptual overviews"How [feature] works"
OverviewParent pages with children: in toc.ymlFeature name only

To detect overview pages, check toc.yml for entries with children: pointing to the file.

Step 2: Optimize the H1 title

The H1 must be:

  1. Discoverable — include the feature name and context (e.g., "in Kibana", "with ES|QL")
  2. Specific — clearly indicate what the page covers
  3. Unique — no other page should share this title
markdown
# Configure data views in Kibana

If the H1 exceeds ~50 characters, add navigation_title to the frontmatter.

Step 3: Write the opening paragraph

The opening paragraph (2-4 sentences) immediately follows the H1. It must NOT repeat the frontmatter description.

By doc type

Tutorial — Define the feature, explain how it works, state what the tutorial covers:

markdown
Elasticsearch Query Language ({{esql}}) makes it easier to explore your data
in **Discover**. {{esql}} uses a piped syntax to filter, transform, and aggregate
data. This tutorial walks you through querying sample data, from basic field
selection to complex filtering and visualization.

How-to — Define the feature, explain what it does, state the value:

markdown
Pattern analysis in **Discover** helps you find patterns in unstructured log
messages by performing categorization analysis on text fields. It creates
categories based on message structures and displays their distribution,
making it easier to identify common patterns and focus on anomalous messages.

Reference — Define the subject, state its purpose:

markdown
API keys provide secure, token-based authentication for applications accessing
{{product.elasticsearch}}. Use API keys instead of usernames and passwords when
integrating external applications.

Explanation — Establish context, state what concepts are covered:

markdown
{{product.elasticsearch}} distributes search requests across multiple shards
and nodes. Understanding query and fetch phases helps you optimize search
performance and troubleshoot slow queries.

Overview — State what the feature is, its value, and key capabilities:

markdown
**Discover** is the primary tool for exploring your data in {{product.kibana}}.
Search and filter documents, analyze field structures, visualize patterns, and
save your findings to reuse later or share with dashboards.

Key principles

  • Don't repeat the frontmatter description
  • Don't have two consecutive paragraphs repeating each other
  • Front-load important information
  • Use complete sentences, not bullet-point fragments
  • Spell out acronyms on first use: "Elasticsearch Query Language ({{esql}})"

Step 4: Add a "Before you begin" section

Add ## Before you begin only when all conditions are met:

  • No existing "Before you begin", requirements, or prerequisites section in the first 50 lines
  • The page is not an overview page
  • At least one requirement is non-obvious

What to include

  • Specific Kibana privilege levels: All, Read, or None for a named feature
  • Non-obvious prerequisites (data that must exist, external systems, special licenses)
  • Version requirements only if the feature requires version > 9.0

What to exclude

  • Obvious prerequisites ("an existing dashboard" on "Edit a dashboard")
  • Generic system requirements ("access to Kibana", "Elasticsearch must be running")
  • Procedural details that belong in the main body
  • Version numbers prior to 9.0

Format

Use an H2 with a descriptive anchor:

markdown
## Before you begin [create-dashboard-before-you-begin]

To create dashboards, you need:

* [Data indexed into {{product.elasticsearch}}](/manage-data/ingest.md) and a [data view](../data-views.md).
* **All** privilege for the **Dashboard** feature in {{product.kibana}}.

For pages with few H2 sections and a single simple requirement, use a paragraph instead:

markdown
You need the **All** privilege for the **Dashboard** feature.

Step 5: Enforce substitutions

Replace hardcoded product names with Jinja2 substitutes:

  • {{product.kibana}}, {{product.elasticsearch}}
  • {{esql}}, {{data-source}}, {{data-sources}}
  • {{ece}}, {{eck}}, {{ech}}

Use bold for UI elements (buttons, apps, field labels). Use monospace for technical elements (commands, file paths, settings).

Step 6: Lint

Run Vale on the modified file immediately after editing. Fix all errors in the opening section before moving to the next file.

bash
vale <file>

Pre-flight checks

Before modifying any file, verify:

  1. Important/warning admonitions in the first ~20 lines — never modify, move, or rewrite them. Edit only the content around them.
  2. Overview page (has children: in toc.yml) — do not add a "Before you begin" section.
  3. Pre-9.0 version references — remove them (these docs are for Stack 9+). Only keep versions > 9.0.

Quality checklist

  • Doc type correctly identified
  • H1 is unique, specific, searchable (no custom anchor — docs-builder auto-generates it)
  • navigation_title added if H1 > 50 characters
  • Opening paragraph doesn't repeat frontmatter description
  • Opening conveys purpose, value, and scope
  • "Before you begin" section added where appropriate (not on overview pages)
  • All substitutions used (no hardcoded product names)
  • Acronyms spelled out on first use
  • Bold for UI elements, monospace for technical elements
  • No pre-9.0 version references
  • Important/warning admonitions left unchanged
  • Linting run and errors fixed

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Docs Page Opening Optimizer?

Optimize the opening of an Elastic documentation page — H1 title, opening paragraph, and requirements section — following doc type conventions. Use when writing or improving page intros, optimizing titles for discoverability, adding requirements sections, or when the user asks to improve the first lines of a doc page.

Firwat Docs Page Opening Optimizer op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Docs Page Opening Optimizer besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Docs Page Opening Optimizer an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/elastic/elastic-docs-skills/tree/main/skills/authoring/page-opening-optimizer an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Docs Page Opening Optimizer benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Docs Page Opening Optimizer benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Docs Page Opening Optimizer domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Docs Page Opening Optimizer gratis?

Jo. elastic huet de Skill ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇