
Description
tsdown is an agent skill that guides an AI coding assistant through bundling TypeScript and JavaScript libraries with tsdown, a bundler powered by Rolldown and Oxc. Use it when you are building a library, generating type declarations, or producing bundles for publication. The skill explains that tsdown itself needs Node.js 22.18.0 or higher at build time, but the bundled output can target much older Node.js versions through the target option. It describes how to handle a package that must support Node.js 18 or 20: build in CI with Node.js 22 or later, set the target to the older version, and test the packed output on each Node.js version you support. The skill is for library authors who want fast builds and a configuration the assistant can follow. Reference files in the skill cover individual options, such as the target option. Install it with the skills command from the rolldown/tsdown repository. The skills.sh page shows Snyk and Socket as Pass and Gen Agent Trust Hub as Fail.…
Highlights
- Guides library bundling with tsdown
- Type declaration generation
- Explains the Node.js build and target requirements
- Testing advice for older Node.js versions
- Reference files for individual options
Ratings & Reviews
No ratings yet
Be the first to rate tsdown.
People also visit
tsdown FAQ
What does tsdown do?
tsdown is a fast bundler for TypeScript and JavaScript libraries, built on Rolldown and Oxc. The skill helps an AI assistant use it.
How do I install the skill?
Run npx skills add https://github.com/rolldown/tsdown --skill tsdown.
Which Node.js version does tsdown need?
Node.js 22.18.0 or higher to run at build time. The bundled output can target older versions with the target option.
Can my library support Node.js 18 or 20?
The skill says yes: build with Node.js 22 or later in CI, set the target to node18 or node20, and test the output on those versions.
Does it generate type declarations?
Yes. Generating type declarations is one of the tasks the skill covers.
What are the security audit results?
Gen Agent Trust Hub: Fail. Socket: Pass. Snyk: Pass.
Does it cost anything to use?
The skill is a set of instructions installed into your coding agent, and the tsdown source is public on GitHub.
What are the best tsdown alternatives?
Popular alternatives to tsdown include tsdown, tsdown and typescript-expert. See all tsdown alternatives
















