Agent skill

Create Rolldown Plugin

by videojs in videojs/video.js

“Create Rolldown plugins. Use for hooks.”

— description from SKILL.md by videojs
Custom licenceAuto-check passed

Install Create Rolldown Plugin

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

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

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

At a glance

  • Works in 9 steps: Define the host contract first: selected… → Let Rolldown own resolution, traversal,… → Use host-native object hook filters for… → …
  • SKILL.md covers Workflow, Validation and Example
  • Calls pnpm

About this skill

Create Rolldown Plugin is a skill in videojs/video.js (40k stars). Its SKILL.md is about 1.1k tokens, with 1 other file in the folder (references). Licence: Custom licence.

Workflow steps

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

  1. Define the host contract first: selected modules, source shape entering and leaving each hook, virtual IDs, graph information required…
  2. Let Rolldown own resolution, traversal, ordering, caching, watching, and output. Use this.resolve, normal graph entries…
  3. Use host-native object hook filters for resolveId, load, and transform. Keep a matching handler guard only when compatibility with hosts…
  4. Keep virtual modules private unless consumers genuinely import them. Prefix internal IDs with \0, resolve them explicitly, return the…
  5. Keep mutable state per plugin instance and reset build-derived state in buildStart. Prefer module meta for JSON-serializable information…
  6. Extend existing input rather than replacing it. Use packages/vjsc/src/plugins/input.ts in VJSC. Remember that an options() result does not…
  7. Emit generated output with this.emitFile. Do not write staging source. Never delete unrelated chunks or assets; complete bundle…
  8. When transform or renderChunk consumes host-provided magicString, explicitly enable experimental.nativeMagicString: true in the owning…
  9. Test through real Rolldown builds. Cover existing entries, virtual resolution and module type, filters, query identities…

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

    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

Create Rolldown Plugin loads about 1.1k tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 16 tokens; SKILL.md has 557 words of instructions outside code blocks.

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

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 557 words (~1,100 tokens).

“Inspect the installed Rolldown version, relevant package config and exports, neighboring plugins, and host-level tests before choosing hooks. Prefer a Rolldown plugin when the behavior is about modules or build output rather than Vite configuration, HTML, the dev server, or…”

— opening of SKILL.md by videojs, Custom licence
name
create-rolldown-plugin

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in .agents/skills/create-rolldown-plugin of videojs/video.js.

  • SKILL.md
  • references/api-and-host-contracts.md

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

Create Rolldown Plugin 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 Rolldown Plugin compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Rolldown Plugin this skillvideojs/video.js40k—~1.1kAutomated safety check: PassCustom licence
Weapp Tailwindcss Custom Buildweapp-tailwindcss/weapp-tailwindcss1.9k—~502Automated safety check: PassMIT
Frontend Build Timing Auditopenops-cloud/openops1.1k—~2.3kAutomated safety check: PassCustom licence
Vite Plusvictorgarciaesgi/regle506—~303Automated safety check: PassMIT
TsdownJetBrains/skills3636 repos~3kAutomated safety check: PassMIT
ViteJetBrains/skills3638 repos~622Automated safety check: PassNone

Similar skills

  • Weapp Tailwindcss Custom Build

    weapp-tailwindcss/weapp-tailwindcss

    将 weapp-tailwindcss 集成到自研构建器或高级流水线,覆盖 weapp-tailwindcss/core、generator、Vite/Webpack/Rspack/Rollup/Rolldown/Gulp 生命周期、ModuleGraph、Tailwind Scanner/source candidates、watch/HMR、source…

    1.9k GitHub stars~502 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Frontend Build Timing Audit

    openops-cloud/openops

    Detects and diagnoses chunk-evaluation timing bugs in the Vite/rolldown production build of react-ui (works-in-dev / broken-in-build i18n regressions, missing UI labels, module-scope t()…

    1.1k GitHub stars~2.3k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Vite Plus

    victorgarciaesgi/regle

    Vite+ unified toolchain (vp CLI) usage for this project, wrapping Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task.

    506 GitHub stars~303 tokensUpdated 9 days ago
    Testing & QAAuto-check passed
  • Tsdown

    JetBrains/skills

    Official

    Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown.

    363 GitHub starsUsed in 6 repos~3k tokens
    Frontend & DesignAuto-check passed
  • Vite

    JetBrains/skills

    Official

    Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration.

    363 GitHub starsUsed in 8 repos~622 tokens
    Auto-check passed
  • Vite Advanced

    yonatangross/orchestkit

    Advanced Vite 8 patterns including Rolldown-powered builds, advancedChunks, Environment API, plugin development, SSR configuration, library mode, and build optimization.

    288 GitHub stars~1.7k tokensUpdated yesterday
    Agent WorkflowsAuto-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
  • 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

Questions about Create Rolldown Plugin

How do I install Create Rolldown Plugin in Claude Code?

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

How do I install Create Rolldown Plugin in Codex?

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

Can I use Create Rolldown Plugin 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-rolldown-plugin -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-rolldown-plugin, .gemini/skills/create-rolldown-plugin, .github/skills/create-rolldown-plugin and .opencode/skills/create-rolldown-plugin in your project.

What does Create Rolldown Plugin need to run?

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

Does Create Rolldown Plugin 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 Rolldown Plugin 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 Rolldown Plugin use?

Create Rolldown Plugin 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 Rolldown Plugin use?

About 1.1k tokens (SKILL.md is roughly 4.4k 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 1.8k tokens, read only when the agent opens those files.

What are the alternatives to Create Rolldown Plugin?

Skills that share tags, products or a category with Create Rolldown Plugin: Weapp Tailwindcss Custom Build (weapp-tailwindcss/weapp-tailwindcss, 1.9k stars), Frontend Build Timing Audit (openops-cloud/openops, 1.1k stars), Vite Plus (victorgarciaesgi/regle, 506 stars) and Tsdown (JetBrains/skills, 363 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Rolldown Plugin?

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.