Agent skill

Write Design Doc

by videojs in videojs/video.js

Write or update a Video.js architecture, feature, or decision record only when the user explicitly requests that record.

Custom licenceAuto-check passedDevelopment

Install Write Design Doc

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

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

GitHub CLI
$ gh skill install videojs/video.js write-design-doc --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-design-doc .claude/skills/write-design-doc && 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-design-doc
GitHub stars
40k
Token cost
~385 tokens
SKILL.md length
189 words
Files
1
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Write or update a Video.js architecture, feature, or decision record only when the user explicitly requests that record.

  • Works in 6 steps: Confirm that the user explicitly… → Use the requested artifact and path when… → Read the relevant code, tests, history,… → …
  • Explicitly requests that record
  • SKILL.md covers Workflow and Example
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Write Design Doc is an agent skill from videojs/video.js. Write or update a Video.js architecture, feature, or decision record only when the user explicitly requests that record. Use for compact, non-inferable rationale outside UI component design.

Its SKILL.md is about 390 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

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

When your agent uses it

  • Explicitly requests that record
  • Non-inferable rationale outside UI component design

Example prompts

  • “/write-design-doc”

Workflow steps

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

  1. Confirm that the user explicitly requested creation or revision of the record. Do not invoke this skill merely because a design decision…
  2. Use the requested artifact and path when given; otherwise choose the smallest matching design or decision location.
  3. Read the relevant code, tests, history, and existing record. Treat executable sources as current behavior.
  4. State the decision directly, then preserve only the important rationale, constraint, or trade-off that cannot be inferred from those…
  5. Link source, tests, or related records instead of copying APIs, schemas, state flow, file inventories, or mechanics.
  6. Include alternatives or consequences only when they materially explain the choice. Omit empty headings and speculative detail.

What it can do on your machine

Read from SKILL.md and the folder at commit 50f59a2. 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

    No scripts in the folder and no shell commands in SKILL.md.

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

  • Network

    No URLs in SKILL.md.

    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 Design Doc loads about 385 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 189 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~385

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 189 words (~385 tokens).

“Read internal/design/README.md and internal/decisions/README.md; they define current placement, status, and format.”

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

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/write-design-doc of videojs/video.js.

Open the folder on GitHubat commit 50f59a2

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 Design Doc 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 Design Doc compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Write Design Doc this skillvideojs/video.js40k—~385Automated safety check: PassCustom licence
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3804 repos~2.4kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0
Design Doc MermaidSpillwaveSolutions/design-doc-mermaid1751 repos~5.6kAutomated safety check: PassNone

Similar skills

  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Cto Advisor

    Ibrahim-3d/orchestrator-supaconductor

    Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.

    380 GitHub starsUsed in 4 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 5 repos~806 tokens
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    175 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed
  • Learning Opportunities

    DrCatHicks/learning-opportunities

    Facilitates deliberate skill development during AI-assisted coding.

    2.5k GitHub stars~2.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

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
  • Write Docs

    videojs/video.js

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

    40k GitHub stars~741 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

Categories

Questions about Write Design Doc

What does Write Design Doc do?

Write or update a Video.js architecture, feature, or decision record only when the user explicitly requests that record. js.js architecture, feature, or decision record only when the user explicitly requests that record.

When should I use Write Design Doc?

Write Design Doc fits situations like: explicitly requests that record; non-inferable rationale outside UI component design.

How do I install Write Design Doc in Claude Code?

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

How do I install Write Design Doc in Codex?

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

Can I use Write Design Doc 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-design-doc -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-design-doc, .gemini/skills/write-design-doc, .github/skills/write-design-doc and .opencode/skills/write-design-doc in your project.

What does Write Design Doc need to run?

SKILL.md names no scripts, command-line tools or credentials: Write Design Doc is instructions for the agent only.

Does Write Design Doc 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 Design Doc 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 Design Doc use?

Write Design Doc 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 Design Doc use?

About 385 tokens (SKILL.md is roughly 1.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Write Design Doc?

Skills that share tags, products or a category with Write Design Doc: PR Design Doc (OpenHands/OpenHands, 90k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 380 stars), Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars) and Domain Modeling (brim-borium/spotify_sdk, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Write Design Doc?

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