Agent skill

Write Docs

by videojs in videojs/video.js

Write Video.js guides, concepts, READMEs, and JSDoc. An agent skill from videojs/video.js.

Custom licenceAuto-check passedDevelopment

Install Write Docs

skills CLI
$ npx skills add videojs/video.js --skill write-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install videojs/video.js write-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/videojs/video.js.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/write-docs .claude/skills/write-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
write-docs
GitHub stars
40k
Token cost
~741 tokens
SKILL.md length
377 words
Files
12 (incl. references)
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Write Video.js guides, concepts, READMEs, and JSDoc. An agent skill from videojs/video.js.

  • Works in 7 steps: Identify the audience, question, and… → Read neighboring docs for current voice… → Load only what applies → …
  • Inline API documentation
  • SKILL.md covers Choose the artifact, Workflow and Example
  • Calls pnpm

What it does

Write Docs is an agent skill from videojs/video.js. Write Video.js guides, concepts, READMEs, and JSDoc. Use for site prose, examples, inline API documentation, or package documentation.

Its SKILL.md is about 740 tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including reference files (for example `patterns/code-examples.md`, `patterns/error-docs.md` and `references/component-libraries.md`).

It sits in Development, covering Technical documentation. The repository describes itself as: Video.js v10 - open source media player framework for HTML and React.

When your agent uses it

  • Inline API documentation
  • Package documentation

Example prompts

  • “/write-docs”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Identify the audience, question, and owning source files.
  2. Read neighboring docs for current voice and MDX patterns.
  3. Load only what applies
  4. Lead with the user outcome or concept. Use complete, verified examples and explain only non-obvious parts.
  5. Reread the draft against references/diataxis.md: every heading and sentence form matches the shape you chose. Move passages that read like…
  6. Add the sidebar entry and framework/style restrictions for new site pages. When a page changes slug, add a [[redirects]] rule for the old…
  7. Run examples or relevant tests where practical, run pnpm -F site test diataxis for site pages, and render affected MDX for every supported…

What it can do on your machine

Read from SKILL.md and the folder at commit 74cf8cd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Write Docs loads about 741 tokens when it runs, and up to ~9.7k if it reads all its reference files. Until then it costs about 36 tokens; SKILL.md has 377 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~36
When it runs · the whole SKILL.md, loaded when a task matches
~741
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 377 words (~741 tokens).

“Treat implementation, types, tests, and content schemas as factual sources. Read site/src/content/docs/writing-style/write-guides.mdx before authoring a site guide.”

— opening of SKILL.md by videojs, Custom licence
name
write-docs

Read the full SKILL.md on GitHub

Files

SKILL.md and 11 other files (references) in .agents/skills/write-docs of videojs/video.js.

  • SKILL.md
  • patterns/code-examples.md
  • patterns/error-docs.md
  • references/component-libraries.md
  • references/diataxis.md
  • references/gold-standard.md
  • references/seo.md
  • references/state-tooling.md
  • references/writing-style.md
  • templates/concept.md
  • templates/how-to.md
  • templates/readme.md

Open the folder on GitHubat commit 74cf8cd

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in videojs/video.js, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Write Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Write Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Write Docs this skillvideojs/video.js40k—~741Automated safety check: PassCustom licence
Diagram Designcathrynlavery/diagram-design45k1 repos~7.5kAutomated safety check: PassMIT
Simple Englishmoeru-ai/airi50k2 repos~4.6kAutomated safety check: PassMIT
Get API Docs with chubandrewyng/context-hub14k2 repos~775Automated safety check: PassMIT
Doc SyncJetBrains/ideavim10k2 repos~2.6kAutomated safety check: PassMIT
Mailspring App ScreenshotsFoundry376/Mailspring18k—~1.5kAutomated safety check: PassGPL-3.0

Similar skills

  • Diagram Design

    cathrynlavery/diagram-design

    Creates branded diagrams, from architecture, flowchart and sequence to charts and maps, as self-contained HTML with inline SVG, with import from draw.io, Mermaid and Excalidraw.

    45k GitHub starsUsed in 1 repo~7.5k tokens
    DevelopmentAuto-check passed
  • Simple English

    moeru-ai/airi

    Write or rewrite technical text with the rules of ASD-STE100 Simplified Technical English so it is clear, unambiguous, and free of AI slop.

    50k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • Get API Docs with chub

    andrewyng/context-hub

    Fetches current documentation for third-party APIs and SDKs with the chub CLI before the agent writes code against them, instead of relying on remembered API shapes.

    14k GitHub starsUsed in 2 repos~775 tokens
    DevelopmentAuto-check passed
  • Doc Sync

    JetBrains/ideavim

    Official

    Keeps IdeaVim documentation in sync with code changes. An agent skill from JetBrains/ideavim.

    10k GitHub starsUsed in 2 repos~2.6k tokens
    DevelopmentAuto-check passed
  • Mailspring App Screenshots

    Foundry376/Mailspring

    Captures screenshots of the running Mailspring dev app for docs, PRs or visual checks by launching it with a debugging port, driving the UI and clipping to an element.

    18k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Draw.io Diagram Studio

    Agents365-ai/drawio-skill

    Creates and edits editable draw.io diagrams from descriptions, code, infrastructure files, SQL and API schemas, with sync, review, test and export tools.

    10k GitHub stars~2.4k tokensUpdated 5 days ago
    DevelopmentAuto-check: notes

More from videojs/video.js

All 38 skills in this repo
  • Commit PR

    videojs/video.js

    Commit, push, and create or update a Video.js pull request. An agent skill from videojs/video.js.

    40k GitHub stars~445 tokensUpdated today
    Auto-check passed
  • Maintain Tests

    videojs/video.js

    Gate and audit test value. An agent skill from videojs/video.js.

    40k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Write API Reference

    videojs/video.js

    Write generated Video.js API reference pages. An agent skill from videojs/video.js.

    40k GitHub stars~804 tokensUpdated today
    Auto-check passed
  • Translate or audit the values in a Video.js locale pack. An agent skill from videojs/video.js.

    40k GitHub stars~723 tokensUpdated today
    Auto-check passed
  • Change Spf Behavior

    videojs/video.js

    Change SPF playback-engine behaviors. An agent skill from videojs/video.js.

    40k GitHub stars~451 tokensUpdated today
    Auto-check passed
  • Create HTML Component

    videojs/video.js

    Create or change Video.js custom-element UI components. An agent skill from videojs/video.js.

    40k GitHub stars~729 tokensUpdated today
    Auto-check passed

Categories

Questions about Write Docs

What does Write Docs do?

Write Video.js guides, concepts, READMEs, and JSDoc. An agent skill from videojs/video.js. js.js guides, concepts, READMEs, and JSDoc.

When should I use Write Docs?

Write Docs fits situations like: inline API documentation; package documentation.

How do I install Write Docs in Claude Code?

Run `npx skills add videojs/video.js --skill write-docs -a claude-code`. Or copy the skill folder (.agents/skills/write-docs in videojs/video.js) into .claude/skills/write-docs in your project. Claude Code loads it when a task matches its description.

How do I install Write Docs in Codex?

Run `npx skills add videojs/video.js --skill write-docs -a codex`. Or copy the skill folder (.agents/skills/write-docs in videojs/video.js) into .agents/skills/write-docs in your project. Codex loads it when a task matches its description.

Can I use Write Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add videojs/video.js --skill write-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/write-docs, .gemini/skills/write-docs, .github/skills/write-docs and .opencode/skills/write-docs in your project.

What does Write Docs need to run?

Going by SKILL.md and its folder, Write Docs needs the command-line tools its instructions call (pnpm).

Does Write Docs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Write Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Write Docs use?

Write Docs has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Write Docs use?

About 741 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9k tokens, read only when the agent opens those files.

What are the alternatives to Write Docs?

Skills that share tags, products or a category with Write Docs: Diagram Design (cathrynlavery/diagram-design, 45k stars), Simple English (moeru-ai/airi, 50k stars), Get API Docs with chub (andrewyng/context-hub, 14k stars) and Doc Sync (JetBrains/ideavim, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Write Docs?

videojs (a GitHub organization) maintains it in videojs/video.js, which has 39,909 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on October 8, 2026.

Source: videojs/video.js on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.