/videojs:videojs-skinfrom Video.js
Scaffolds and guides the design of custom Video.js 10 player skins with a standalone workbench. Covers setup via npx @videojs/cli skin create, then walks through styling, motion, and accessibility for video/audio player UIs.
Ships in Video.js. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A skin is the player's UI: controls, layout, styles, and interactions around
the media. videojs skin create scaffolds a project that holds one skin's
source in src/ and a workbench in apps/preview/ that previews it across
sizes, languages, and playback settings. This skill sets that up, then keeps
the design work inside the rules a media player needs.
To restyle a skin inside an existing app instead, add its source with the
Shadcn installation method; the videojs skill covers that.
Skip this when the working directory already has a skin.json.
Assume the user may never have used a terminal. Run every command yourself, say in plain words what each one does, and only ask the user to act where you can't: installing software that needs their password, or signing in.
node --version. If Node.js is missing, or older than the current
LTS release, stop and explain: the project needs Node.js, and the user
installs it once with the LTS installer from https://nodejs.org. Don't
install it for them; the installer asks for their password. Continue once
node --version works.npx @videojs/cli skin create <directory> --name <name>. Without a
terminal it changes nothing and lists the choices left to make, with their
defaults; --help explains them. If skin create is not recognized, the
CLI predates it. Hand off: add the skin source to an app with the videojs
skill's Shadcn method, and tell the user there's no standalone workbench.
That route creates no skin.json, apps/preview/, or deploy script, so
skip this skill's workbench and publishing steps; the design guidance in
steps 3 and 4 and the videojs-ui skill still apply, checked in the app.references/match-reference.md first; the reference decides the starting
skin.Read the project's AGENTS.md, README.md, and skin.json before editing.
They describe this version's layout, scripts, and workbench; trust them over
this skill. Video.js docs ship with the installed package at
node_modules/@videojs/<react|html>/docs/llms.txt; fall back to
https://videojs.org/docs/framework/<react|html>/llms.txt and append .md to
page URLs. Start with these pages, by title:
| Need | Read |
|---|---|
| Which file owns a change | Customize skins, "Style skin source" |
| How controls expose state, props, and render customization | UI components, then each component's reference page |
| Shortcuts and gestures | Keyboard shortcuts |
| Labels, languages, right-to-left | Internationalization |
| What the components already do for accessibility | Accessibility |
Agree what the skin should look like before styling it; improvising details and correcting them later is the slowest path.
references/match-reference.md. It
saves reference crops, writes design/spec.md with measurements, and asks
the user only about what the reference can't show. Matching a player
includes its control icons: exported from the user's own design file, or
redrawn, never copied, from someone else's player.design/spec.md from the user's
brief covering layout and control order, menus, icon style, type, colors and
surfaces, slider, and motion, and confirm it once.Either way, build only what the spec and the user ask for. Don't add controls, overlays, or text that neither mentions.
Never invent design direction. Before building, and whenever a new question comes up mid-build, sort it:
The videojs-ui skill covers the craft of each control: contrast over video,
icon states, motion, type, color, labels, and the companion design and audit
skills to pair with it. A skin project adds these rules:
src/ and
imports nothing from apps/preview/, so it can move into an app as is.--media-accent-color, working.data-* attributes that components set, such as
data-paused, not classes toggled in script.data-theme and data-preset. The styles select
on them.Then follow the framework's composition rules from the docs: in React, spread
the props a render function receives; in HTML, import every element part
you render and keep the id, trigger, and commandfor pairs that wire
tooltips and popups to their buttons unique and matched.
typecheck and build scripts.references/match-reference.md before calling the skin
done or asking the user to review it. Otherwise compare the first working
preview with design/spec.md before polishing. Fix the differences you
find yourself, and include screenshots in your report.README.md shows how to open a state
from the URL. Use videojs-ui's review for what to look for; it covers
what generic UI audits miss on a video player.The project's deploy script publishes the workbench to Vercel, Netlify, or
Cloudflare Pages. It creates a public URL and signs in to the host, so run it
only when the user asks. Without a terminal, name the host:
<package manager> run deploy vercel. With pnpm, keep run: pnpm deploy is
a different, built-in command. The user completes the host's sign-in.
If the skin resembles another company's player, remind the user before they publish or ship it to confirm they have permission for anything borrowed: icons, fonts, colors, and the overall look. A private build or study is one thing; production may need permission.
When a task exposes a bug or docs gap in Video.js or skin create, offer once
at a stopping point to draft feedback, following the videojs skill's
feedback rules. Never send without explicit approval of the exact text.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
3 skills in this plugin
/videojsUse whenever a task adds, embeds, or changes video or audio on a web page, even before a player is chosen: an HTML `video` or `audio` element, player component, podcast player, hero or background video, or livestream. Build customizable, accessible Video.js 10 players with React components or HTML custom elements in React/Next.js, Vue/Nuxt, Svelte/SvelteKit, Astro, or CDN pages. Covers custom UI and skins, captions, HLS, DASH, DRM, casting, analytics, and hosted media. Also use for Video.js 8 migrations or comparisons with Plyr, Media Chrome, Mux Player, Vidstack, or react-player. Start with version-matched installation instructions and docs from installed packages, then videojs.org.
/videojs-uiUse when building, polishing, or reviewing the interface of a Video.js 10 player: custom controls and overlays, control bars, menus and popovers, sliders, time displays, icons and icon states, motion, color, and control labels, in skin source or in custom components that read player state. Applies interface-craft skills such as Jakub Krehel's better-* skills, Emil Kowalski's design and animation skills, and an accessibility audit, within the constraints of UI that sits over moving video.
npx claudepluginhub videojs/skills --plugin videojsOther plugins' skills for the same job