Agent skill

Transform Rolldown Code

by videojs in videojs/video.js

“Transform code. Use for Rolldown.”

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

Install Transform Rolldown Code

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

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

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

At a glance

  • Works in 6 steps: Narrow modules with a native transform… → Access meta.ast only when syntax… → Use AST start and end offsets with… → …
  • SKILL.md covers Workflow, Host setup, Pattern and Validation, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Transform Rolldown Code is a skill in videojs/video.js (40k stars). Its SKILL.md is about 1.1k tokens. Licence: Custom licence.

Workflow steps

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

  1. Narrow modules with a native transform hook filter. Use a cheap code.includes(...) guard before accessing meta.ast so parsing stays lazy.
  2. Access meta.ast only when syntax analysis is required. It is a read-only Oxc Program parsed according to meta.moduleType and supports…
  3. Use AST start and end offsets with meta.magicString.overwrite, remove, appendLeft, or related edits. Both values describe the same…
  4. Return the edited MagicString as { code: magicString }. Edits are ignored when the hook does not return it. Return null when nothing…
  5. Keep using offsets from the original hook input. The AST does not update after MagicString edits. Analyze generated syntax in a later…
  6. Keep module-oriented edits in transform. Use renderChunk only when the replacement depends on final generated code, chunk filenames…

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 (its code samples are typescript).

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

  • Network

    Links to these hosts (documentation or services it may open):

    • rolldown.rs

    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

Transform Rolldown Code loads about 1.1k tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 480 words of instructions outside code blocks.

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

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

“Use the incoming Oxc AST for analysis and its paired MagicString for source edits.”

— opening of SKILL.md by videojs, Custom licence
name
transform-rolldown-code

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/transform-rolldown-code 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

Transform Rolldown Code 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.

Transform Rolldown Code compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Transform Rolldown Code this skillvideojs/video.js40k—~1.1kAutomated safety check: PassCustom licence
TransformersK-Dense-AI/scientific-agent-skills48k1 repos~2.8kAutomated safety check: NotesApache-2.0
Hugging Face Transformers Usagedavila7/claude-code-templates32k12 repos~1.2kAutomated safety check: PassMIT
Transformers JSsickn33/agentic-awesome-skills47k1 repos~444Automated safety check: PassApache-2.0
Fp Data Transformssickn33/agentic-awesome-skills47k2 repos~2.4kAutomated safety check: PassMIT
Transformers.jshuggingface/skills11k1 repos~6.2kAutomated safety check: PassApache-2.0

Similar skills

  • Transformers

    K-Dense-AI/scientific-agent-skills

    Hugging Face Transformers for loading Hub models, running pipeline inference, text generation, and Trainer fine-tuning on NLP, vision, audio, and multimodal tasks.

    48k GitHub starsUsed in 1 repo~2.8k tokens
    AI & LLM EngineeringAuto-check: notes
  • Hugging Face Transformers Usage

    davila7/claude-code-templates

    Loads pre-trained Hugging Face Transformers models for text, vision and audio tasks, runs inference with pipelines and fine-tunes on custom datasets.

    32k GitHub starsUsed in 12 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Transformers JS

    sickn33/agentic-awesome-skills

    Use Transformers.js to run state-of-the-art machine learning models directly in JavaScript/TypeScript.

    47k GitHub starsUsed in 1 repo~444 tokens
    AI & LLM EngineeringAuto-check passed
  • Fp Data Transforms

    sickn33/agentic-awesome-skills

    Everyday data transformations using functional patterns - arrays, objects, grouping, aggregation, and null-safe access

    47k GitHub starsUsed in 2 repos~2.4k tokens
    Data & AnalyticsAuto-check passed
  • Transformers.js

    huggingface/skills

    Official

    Runs pre-trained Hugging Face models in JavaScript or TypeScript with Transformers.js, in browsers or Node.js, Bun and Deno, for text, vision, audio and multimodal tasks.

    11k GitHub starsUsed in 1 repo~6.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Walks through step 2 of adding a syncable entity to the Twenty server: a cache service for flat entity maps and utilities that transform entities and DTOs into universal flat entities.

    58k GitHub stars~2.4k tokensUpdated today
    Backend & APIsAuto-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

Questions about Transform Rolldown Code

How do I install Transform Rolldown Code in Claude Code?

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

How do I install Transform Rolldown Code in Codex?

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

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

What does Transform Rolldown Code need to run?

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

Does Transform Rolldown Code access the network?

SKILL.md names 1 domain. As links in the text: rolldown.rs. This is read from the text; nothing was executed.

Is Transform Rolldown Code 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 Transform Rolldown Code use?

Transform Rolldown Code 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 Transform Rolldown Code use?

About 1.1k tokens (SKILL.md is roughly 4.6k 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 Transform Rolldown Code?

Skills that share tags, products or a category with Transform Rolldown Code: Transformers (K-Dense-AI/scientific-agent-skills, 48k stars), Hugging Face Transformers Usage (davila7/claude-code-templates, 32k stars), Transformers JS (sickn33/agentic-awesome-skills, 47k stars) and Fp Data Transforms (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Transform Rolldown Code?

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.