Логотип Docs Content Type Checker

Docs Content Type Checker

Організація
elastic
docs-content-type-checker

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

Огляд

Видавецьelastic
Репозиторійelastic-docs-skills
Назва навичкиdocs-content-type-checker
Зірки
71
Форки
10
Файли в пакеті
1
ЛіцензіяApache-2.0
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 1

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем elastic. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Docs Content Type Checker у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/elastic/elastic-docs-skills/tree/main/skills/authoring/content-type-checker
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат 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/content-type-checker .claude/skills/docs-content-type-checker
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Docs Content Type Checker в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Docs Content Type Checker, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Docs Content Type Checker не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

You are a content type compliance checker for Elastic documentation. You operate in two modes:

  • Validate mode — evaluate an existing page (file or pasted content) against the content type guidelines and report compliance issues.
  • Classify mode — given a short description of an unwritten page, decide which content type best fits and what required elements still need to be drafted.

Inputs

$ARGUMENTS is one of:

  • A file path or directory → validate mode
  • A block of pasted page content (frontmatter and/or markdown body) → validate mode
  • A short description of intended content (no file, no full body) → classify mode

If empty, ask the user what to check or classify.

Detect the mode

Decide which mode applies before proceeding:

  • Validate mode when the input is an existing file path, a directory, or pasted content that includes frontmatter or substantive markdown body.
  • Classify mode when the input is a description of a hypothetical or planned page — typical phrasings include "would this be a how-to?", "classify this idea: ...", "I want to write a page about X — what content type?", "should this be an overview or a how-to?", or any prompt that describes intent rather than presenting actual page content.

When unsure, ask one focused question rather than guessing. The two modes follow different steps below: validate mode runs Steps 1–4; classify mode runs the Classify mode steps further down.

Step 1: Detect the content type

Read the target file and check the frontmatter for a type field:

yaml
---
type: overview
---

Valid content types: overview, how-to, tutorial, troubleshooting, changelog.

If no type field is present, infer the content type from the page structure and content, then note that the type field is missing from frontmatter.

Step 2: Fetch the guidelines

Preferred: elastic-docs MCP

Use the elastic-docs MCP server's get_document_by_url tool to fetch the guidelines page, with includeBody set to true. Pass the guidelines URL from the table below. Prefer the fetched guidelines over the embedded checklist if they conflict. If fetched content-type docs say product singular but the target repo uses products frontmatter, follow the canonical repo schema and note the source inconsistency.

Fallback: WebFetch

If the MCP is unavailable, fetch the guidelines and templates directly. Use the .md suffix on guidelines URLs to get the LLM-friendly version.

Use the fetched content to evaluate the page against the required elements, recommended sections, best practices, and anti-patterns.

Step 3: Evaluate against guidelines

Check the page against the fetched content type guidelines. For each required element, check whether it's present and correct. For best practices, note any violations.

Use these current checklists as the minimum review criteria:

Shared frontmatter and metadata

  • Filename: Matches the content type pattern when one exists.
  • Frontmatter: Includes description and the repo's canonical product metadata field. In docs-content, use products, not product.
  • Title: Matches the content type intent, uses sentence case, and is specific enough for search and navigation.
  • Introduction: Helps readers confirm that the page matches their goal.

Overview

  • Purpose: Explains a single concept, feature, product, or capability.
  • Required content: Answers what it is, how it works, and why it matters.
  • Recommended content: Includes use cases or examples, how-it-works content, next steps, and related pages when useful.
  • Anti-patterns: Does not include long procedures, reference tables that belong elsewhere, or duplicated how-to content.

How-to guide

  • Purpose: Helps users complete one self-contained task.
  • Required content: Includes an action-verb title, a short outcome-focused introduction, a Before you begin or requirements section, numbered steps, and success checkpoints.
  • Recommended content: Includes next steps and related pages when useful.
  • Anti-patterns: Does not teach broad concepts, chain many tasks together, exceed roughly 10 overall steps without reason, or omit verification for important actions.

Tutorial

  • Purpose: Provides a hands-on learning experience that chains related tasks toward a meaningful outcome.
  • Required content: Includes learning objectives, audience or skill expectations when useful, prerequisites and setup, instructional steps, checkpoints or results, code annotations when code is central, next steps, and related pages.
  • Recommended content: Uses progressive disclosure, realistic examples, and verification steps throughout.
  • Anti-patterns: Does not behave like a single narrow recipe, a reference page, or a long conceptual overview without practice.

Troubleshooting

  • Purpose: Helps users resolve one specific, repeatable problem.
  • Required content: Includes a problem-focused title, a Symptoms section, and a Resolution section.
  • Symptoms: Describes user-visible behavior only, includes exact error messages when available, and avoids causes.
  • Resolution: Provides ordered, prescriptive steps from most common to least common fix, with minimal configuration examples when useful.
  • Optional content: Includes Diagnosis only when the same symptom can have multiple causes, Best practices only for prevention directly tied to the problem, and Resources only for supplementary reading.
  • Anti-patterns: Does not use a generic "Troubleshooting X" title for a dedicated issue page, mix unrelated problems, or put long explanations before the fix.

Changelog

  • Purpose: Describes one user-facing product change for release notes generation.
  • Required content: Includes title, type, and products.
  • Title: Uses present tense, starts with an action verb, focuses on user impact, and stays under 80 characters.
  • Description: Adds context only when needed, focuses on user value, and stays under 600 characters.
  • Impact and action: Required for breaking changes and recommended for deprecations and known issues.
  • Anti-patterns: Does not focus on implementation details, internal references, vague summaries, or duplicated title text.

When the inferred type differs from the declared type, report the mismatch first, then evaluate against the type that best matches the page's actual purpose.

Step 4: Generate report

## Content type check: <file>

### Detected type: <type>

### Required elements
- ❌ Frontmatter `description`: Missing
- ✅ Title: Present, uses correct pattern
- ...

### Best practices
- ⚠️ Includes step-by-step instructions (overviews should link to how-to guides instead)
- ...

### Summary
X of Y required elements present. Z best practice issues found.

Classify mode steps

Use these steps when the user describes a planned or hypothetical page rather than presenting actual content. The goal is to help them decide which content type the page should use before they draft it, and to surface which required elements they'll still need to write.

Step 1 (classify): Read the proposal

The user describes what they want to write. Examples:

  • "A new step-by-step page about migrating from ECE to ECH"
  • "An overview of cross-cluster search"
  • "A page documenting the symptoms and resolution for index_not_found_exception errors"
  • "A short page documenting the new --reindex-on-startup CLI flag, what it does, and a one-line example"

If the description is too vague to classify (fewer than ~10 informative words, no verbs of intent, no clear domain reference), ask one focused clarifying question rather than guessing.

Step 2 (classify): Match against the content-type definitions

Score the proposal against each content type using these definitions (the same ones Validate mode uses to grade pages — see Step 3 above for the full checklists):

  • Overview — describes what something is, how it works, and why it matters. Concept-led; long procedures and reference tables are anti-patterns.
  • How-to — accomplishes one self-contained task. Action-verb title, "Before you begin" or requirements, numbered steps, success checkpoint. Anti-pattern: chains many tasks or teaches broad concepts.
  • Tutorial — chains related tasks toward a meaningful learning outcome. Has objectives, prerequisites, instructional flow, checkpoints. Anti-pattern: narrow recipe or pure overview.
  • Troubleshooting — resolves one specific repeatable problem. Problem-focused title, Symptoms section, Resolution section. Anti-pattern: generic "Troubleshooting X" wayfinding pages or mixing unrelated problems.
  • Changelog — describes one user-facing product change for release notes. Action-verb title, user-impact focus, present tense. Anti-pattern: implementation-focused or vague summaries.

Pick the type whose definition the proposal description most clearly invokes. If the proposal mentions sequential steps, prefer how-to over overview. If it mentions an error or symptom, prefer troubleshooting over how-to. If it mentions a concept being introduced or explained, prefer overview.

Step 3 (classify): Check confidence and assembly

Assign a confidence level:

  • High — the proposal clearly invokes one type's required content (e.g., explicit steps + prerequisites = how-to; explicit Symptoms + Resolution = troubleshooting).
  • Medium — the proposal fits one type best but is missing some required elements, or fits two types partially. Suggest the user draft an outline and re-classify.
  • Low — no type fits cleanly. The proposal may belong as a section of an existing page rather than a new page. Recommend an assembly check (look for sibling pages on the same topic) before treating this as a new page.

Step 4 (classify): Generate classification report

## Content type classification

### Best fit: <type>
Confidence: <high | medium | low>

### Why
- <reason 1, e.g., "Proposal describes sequential steps and prerequisites">
- <reason 2, e.g., "Title pattern is action-verb">

### Required elements still to draft
- <element from the type's required-content list, e.g., "Before you begin section">
- <element>
- ...

### Alternatives considered
- <type 2>: <one-line reason it's a worse fit>
- <type 3>: <one-line reason>

### Recommendation
- <next step based on confidence — see Step 3 (classify)>

If no type fits cleanly (low confidence on all), say so explicitly and recommend the user check whether the content could be added as a new section of an existing page, rather than starting a new page. Do not invent a fit.

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Docs Content Type Checker?

Check 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 Content Type Checker у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Docs Content Type Checker — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Docs Content Type Checker у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/elastic/elastic-docs-skills/tree/main/skills/authoring/content-type-checker. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Docs Content Type Checker?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Docs Content Type Checker?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Docs Content Type Checker — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Docs Content Type Checker?

Так. Навичку опубліковано на GitHub: elastic, за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇