Updates OpenVINO GenAI site documentation following code changes.

Install

mkdir -p .claude/skills/update-docs-openvinotoolkit && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16603" && unzip -o skill.zip -d .claude/skills/update-docs-openvinotoolkit && rm skill.zip

Installs to .claude/skills/update-docs-openvinotoolkit

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Update OpenVINO GenAI site documentation for API or feature changes. Use when: new pipelines, models, or use-cases are introduced; site docs need to reflect new capabilities.
174 chars✓ has a “when” trigger
Intermediate

Key capabilities

  • Identify changed files relative to `master`
  • Update Docusaurus site pages under `/site/docs/`
  • Document new pipelines, model types, or use-cases
  • Add new entries to the supported-models table
  • Document new public APIs or config options
  • Ensure code snippets have C++ and Python tabs, and JavaScript if applicable

How it works

This skill updates OpenVINO GenAI site documentation by identifying changed files, determining relevant site sections, applying updates in MDX format with required code snippets, and validating the changes through linting and building the site. It ensures documentation reflects new capabilities.

Inputs & outputs

You give it
Description of what changed (e.g. 'added SpeculativeDecodingPipeline' or 'changed GenerationConfig fields')
You get back
Updated Docusaurus site documentation, passing lint and build, and a summary of changes

When to use update-docs

  • Updating docs for a new pipeline
  • Adding a new model to supported tables
  • Documenting new configuration options
  • Updating usage guides

About this skill

Update Docs

Updates Docusaurus site pages under /site/docs/ after a code change.

When to Use

  • New pipeline, model type, or use-case was introduced
  • The supported-models table needs a new entry
  • A new public API, config option, guide, or concept needs to be documented on the site

Inputs

The user must provide (or the agent infers from the diff):

  • change_description: what was added or changed (e.g. "added VisualLanguageModelPipeline", "changed GenerationConfig.max_new_tokens default")

If the description is not provided, derive it from the git diff against master (see Step 1).

Procedure

Step 1: Identify Changed Files

Use the get_changed_files tool to list files changed relative to master. Focus on paths under src/cpp/include/, src/python/, src/js/lib/.

To understand what changed in each relevant file, prefer using appropriate tool calls over custom bash commands.

Step 2: Update Site Documentation

Decide which site sections need updating based on what changed:

Change typeSection to update
New pipeline / use-casesite/docs/use-cases/<category>/index.mdx
New model type supportedsite/docs/supported-models/_components/
New public API or config optionRelevant guide in site/docs/guides/
New concept or algorithmsite/docs/concepts/

Rules:

  • MDX format; match surrounding file structure.
  • Code snippets must have both C++ and Python tabs (see existing index.mdx in use-cases for the tab component pattern).
  • Code snippets must have JavaScript tab if NodeJS API changed.
  • Do not invent model names, benchmark numbers, or unverified capabilities.
  • Cross-link to related pages using relative links (e.g., [Supported Models](/docs/supported-models/)).

Rules for models.ts entries:

  • Architecture (optional): verify the architecture value against the model's config.json ("architectures" field) or HuggingFace model card. Do not guess from the model name.
  • Name: use the existing models.ts as the source of truth for naming style. The name is usually the marketing / family name grouping related versions under one entry (e.g. name: 'Phi3' covers Phi-3, Phi-3.5, Phi-4). Strip organisation prefixes and per-size suffixes (-7B, -Instruct), but preserve hyphens and version numbers when the existing table uses them (e.g. Qwen2.5, Phi-3.5-MoE).
  • Order: insert new entries in alphabetical order by architecture.

Step 3: Lint and Build

From the site/ directory, run lint and then a production build to catch any errors:

cd site
npm run lint:fix
npm run build

Fix any errors reported before proceeding. Do not skip this step — a passing build confirms MDX syntax, broken imports, and broken internal links are all resolved.

Step 4: Verify Completeness

Run the following checklist before declaring the documentation update done:

  • Site docs cover the new capability (use-case page, guide, or model table entry).
  • npm run lint:fix passes with no errors.
  • npm run build completes successfully.

Step 5: Report

Summarize to the user:

  • Files changed and what was added/updated in each.
  • Any gaps where documentation could not be written because implementation details are unclear — list those explicitly and ask the user to clarify.

When not to use it

  • When the task is not related to updating OpenVINO GenAI site documentation
  • When the changes do not involve new pipelines, models, use-cases, public APIs, or config options
  • When the task is to invent model names or unverified capabilities

Limitations

  • The skill is specific to OpenVINO GenAI site documentation under `/site/docs/`
  • The skill requires code snippets to have specific language tabs
  • The skill prohibits inventing model names, benchmark numbers, or unverified capabilities

How it compares

This skill provides a structured procedure for updating Docusaurus documentation, including specific rules for content, code snippets, and validation steps, which is more rigorous than an ad-hoc documentation update.

Compared to similar skills

update-docs side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
update-docs (this skill)04moReviewIntermediate
api-documenter08moReviewBeginner
openai-knowledge55moNo flagsIntermediate
writing-docs11moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry