Agent skill

Design API

by videojs in videojs/video.js

Design Video.js TypeScript APIs. An agent skill from videojs/video.js.

Custom licenceAuto-check passed

Install Design API

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

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

GitHub CLI
$ gh skill install videojs/video.js design-api --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/design-api .claude/skills/design-api && 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
design-api
GitHub stars
40k
Token cost
~378 tokens
SKILL.md length
164 words
Files
8 (incl. references)
Skills in repo
38
Repo updated
First seen
Licence
Custom licence

At a glance

Design Video.js TypeScript APIs. An agent skill from videojs/video.js.

  • Works in 5 steps: Correct observable behavior → Type safety and useful inference → A small, coherent concept set → …
  • Extension points
  • SKILL.md covers Default priorities, Load references conditionally and Example
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Design API is an agent skill from videojs/video.js. Design Video.js TypeScript APIs. Use for public shape, inference, state, extension points, middleware, composition, or ergonomics.

Its SKILL.md is about 380 tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files, including reference files (for example `references/anti-patterns.md`, `references/extensibility.md` and `references/libraries.md`).

It works with TypeScript. The repository describes itself as: Video.js v10 - open source media player framework for HTML and React.

When your agent uses it

  • Extension points

Example prompts

  • “/design-api”

Workflow steps

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

  1. Correct observable behavior
  2. Type safety and useful inference
  3. A small, coherent concept set
  4. Consistency with adjacent Video.js APIs
  5. Composable escape hatches and tree-shakable output

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

    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

Design API loads about 378 tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 35 tokens; SKILL.md has 164 words of instructions outside code blocks.

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

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 164 words (~378 tokens).

“Inspect the current call sites, types, tests, exports, and relevant design records before applying general guidance. Existing local contracts beat generic patterns.”

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

Read the full SKILL.md on GitHub

Files

SKILL.md and 7 other files (references) in .agents/skills/design-api of videojs/video.js.

  • SKILL.md
  • references/anti-patterns.md
  • references/extensibility.md
  • references/libraries.md
  • references/principles.md
  • references/state.md
  • references/typescript.md
  • references/voices.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

Design API 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.

Design API compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Design API this skillvideojs/video.js40k—~378Automated safety check: PassCustom licence
MCP Server Builderanthropics/skills180k64 repos~2.3kAutomated safety check: PassApache-2.0
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT
MCP Server BuildershareAI-lab/learn-claude-code78k5 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 64 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • Web Artifacts Builder

    anthropics/skills

    Official

    Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.

    180k GitHub starsUsed in 41 repos~769 tokens
    Frontend & DesignAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 5 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Nx Import

    nrwl/nx

    Import, merge, or combine repositories into an Nx workspace using nx import.

    29k GitHub starsUsed in 6 repos~3.5k tokens
    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

Works with

Questions about Design API

What does Design API do?

Design Video.js TypeScript APIs. An agent skill from videojs/video.js. js.js TypeScript APIs.

When should I use Design API?

Design API fits situations like: extension points.

How do I install Design API in Claude Code?

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

How do I install Design API in Codex?

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

Can I use Design API 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 design-api -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-api, .gemini/skills/design-api, .github/skills/design-api and .opencode/skills/design-api in your project.

What does Design API need to run?

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

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

Design API 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 Design API use?

About 378 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. Its references folder adds about 13k tokens, read only when the agent opens those files.

What are the alternatives to Design API?

Skills that share tags, products or a category with Design API: MCP Server Builder (anthropics/skills, 180k stars), Web Artifacts Builder (anthropics/skills, 180k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Design API?

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.