update-docs
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.zipInstalls 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.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
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 type | Section to update |
|---|---|
| New pipeline / use-case | site/docs/use-cases/<category>/index.mdx |
| New model type supported | site/docs/supported-models/_components/ |
| New public API or config option | Relevant guide in site/docs/guides/ |
| New concept or algorithm | site/docs/concepts/ |
Rules:
- MDX format; match surrounding file structure.
- Code snippets must have both C++ and Python tabs (see existing
index.mdxin 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
architecturevalue against the model'sconfig.json("architectures"field) or HuggingFace model card. Do not guess from the model name. - Name: use the existing
models.tsas the source of truth for naming style. Thenameis 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:fixpasses with no errors. -
npm run buildcompletes 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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| update-docs (this skill) | 0 | 4mo | Review | Intermediate |
| api-documenter | 0 | 8mo | Review | Beginner |
| openai-knowledge | 5 | 5mo | No flags | Intermediate |
| writing-docs | 1 | 1mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by openvinotoolkit
View all by openvinotoolkit →You might also like
api-documenter
ovachiever
Auto-generate API documentation from code and comments. Use when API endpoints change, or user mentions API docs. Creates OpenAPI/Swagger specs from code. Triggers on API file changes, documentation requests, endpoint additions.
openai-knowledge
openai
Use when working with the OpenAI API (Responses API) or OpenAI platform features (tools, streaming, Realtime API, auth, models, rate limits, MCP) and you need authoritative, up-to-date documentation (schemas, examples, limits, edge cases). Prefer the OpenAI Developer Documentation MCP server tools when available; otherwise guide the user to enable `openaiDeveloperDocs`.
writing-docs
remotion-dev
Guides for writing and editing Remotion documentation. Use when adding docs pages, editing MDX files in packages/docs, or writing documentation content.
agent-implementer-sparc-coder
ruvnet
Agent skill for implementer-sparc-coder - invoke with $agent-implementer-sparc-coder
error-handling-guide
komunite
Design and document a error handling guide with structured process, quality checks, and system integration
documentation-specialist
PedroFoll
Especialista em documentação de projetos Django/Python. Gera README.md completo em português, documenta arquitetura, decisões técnicas, instruções de instalação, uso e testes para repositórios GitHub.