Agent skill

Create React Component

by videojs in videojs/video.js

Create or change Video.js React UI components. An agent skill from videojs/video.js.

Custom licenceAuto-check passedFrontend & Design

Install Create React Component

skills CLI
$ npx skills add videojs/video.js --skill create-react-component -a claude-code

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

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

At a glance

Create or change Video.js React UI components. An agent skill from videojs/video.js.

  • Works in 9 steps: Classify the request as a reusable… → Put runtime-neutral state and actions in… → Reuse createMediaButton when its… → …
  • React component boundaries
  • SKILL.md covers Workflow and Example
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Create React Component is an agent skill from videojs/video.js. Create or change Video.js React UI components. Use for React component boundaries, state ownership, compound parts, render customization, styling hooks, exports, or client behavior.

Its SKILL.md is about 930 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 Frontend & Design, covering React components. It works with React. The repository describes itself as: Video.js v10 - open source media player framework for HTML and React.

When your agent uses it

  • React component boundaries
  • State ownership
  • Render customization
  • Client behavior

Example prompts

  • “/create-react-component”

Workflow steps

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

  1. Classify the request as a reusable primitive or app/skin composition before defining its contract. Then define the state owner, semantics…
  2. Put runtime-neutral state and actions in packages/core/src/core/ui/; put reusable DOM interaction in packages/core/src/dom/ui/; subscribe…
  3. Reuse createMediaButton when its contract fits. Otherwise use UIComponentProps and renderElement so DOM props, event handlers, state…
  4. Let React own rendered DOM updates: express them through props, state, context, and render output. Reserve refs for browser imperatives…
  5. Keep render analysable by React Compiler. A component that mutates a core (setProps, setMedia, setInput) must read getState() in that same…
  6. Add a compound part only for a semantic, focusable, placeable, omittable, or replaceable node. Keep context values narrow and scoped to…
  7. Expose discrete state through mapped data-* attributes and dynamic layout values through stable CSS custom properties. Leave visual…
  8. Preserve the default semantic element while allowing deliberate replacement through render. Ensure omitted parts and unsupported features…
  9. Export compound APIs as tree-shakeable ESM namespaces with export * as Name from './index.parts'; keep parts as direct re-exports and do…

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

Create React Component loads about 927 tokens when it runs. Until then it costs about 51 tokens; SKILL.md has 462 words of instructions outside code blocks.

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

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 462 words (~927 tokens).

“Read the relevant core contract, nearest React component and tests, public exports, and UI design record before choosing a pattern. Use packages/react/src/ui/play-button/ for a simple control and packages/react/src/ui/slider/ for a compound control.”

— opening of SKILL.md by videojs, Custom licence
name
create-react-component

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/create-react-component of videojs/video.js.

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

Create React Component 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.

Create React Component compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create React Component this skillvideojs/video.js40k—~927Automated safety check: PassCustom licence
Web Artifacts Builderanthropics/skills180k41 repos~769Automated safety check: PassApache-2.0
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
React UI State PatternsChrisWiles/claude-code-showcase6.1k8 repos~1.6kAutomated safety check: PassNone
Chakra UI v3 Builderchakra-ui/chakra-ui41k—~3.1kAutomated safety check: PassMIT
React Component PerformanceDimillian/Skills4k5 repos~1.2kAutomated safety check: PassMIT

Similar skills

  • 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
  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • React UI State Patterns

    ChrisWiles/claude-code-showcase

    Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.

    6.1k GitHub starsUsed in 8 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • Chakra UI v3 Builder

    chakra-ui/chakra-ui

    Builds responsive, accessible Chakra UI v3 components and layouts, sets up Chakra in new or existing projects, and designs themes with tokens, semantic tokens and recipes.

    41k GitHub stars~3.1k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Analyze and optimize React component performance issues (slow renders, re-render thrash, laggy lists, expensive computations).

    4k GitHub starsUsed in 5 repos~1.2k tokens
    Frontend & DesignAuto-check passed
  • React View Transitions Guide

    vercel-labs/next-beats

    Official

    Guides implementing animated page and state transitions in React with the native View Transition API, covering shared elements, list reorders and directional navigation.

    167 GitHub starsUsed in 10 repos~3.1k tokens
    Frontend & DesignAuto-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 Create React Component

What does Create React Component do?

Create or change Video.js React UI components. An agent skill from videojs/video.js. js.js React UI components.

When should I use Create React Component?

Create React Component fits situations like: React component boundaries; state ownership; render customization; client behavior.

How do I install Create React Component in Claude Code?

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

How do I install Create React Component in Codex?

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

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

What does Create React Component need to run?

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

Does Create React Component 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 Create React Component 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 Create React Component use?

Create React Component 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 Create React Component use?

About 927 tokens (SKILL.md is roughly 3.7k 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 Create React Component?

Skills that share tags, products or a category with Create React Component: Web Artifacts Builder (anthropics/skills, 180k stars), React Router Development (remix-run/react-router, 57k stars), React UI State Patterns (ChrisWiles/claude-code-showcase, 6.1k stars) and Chakra UI v3 Builder (chakra-ui/chakra-ui, 41k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create React Component?

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.