@0froq/tsdown
SkillBundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.
Source 0froq/skills
Read https://getctx.org/@0froq/tsdown.ctx and follow the instructions to use @0froq/tsdownSend this to your Agent to use tsdown
Works withClaude CodeCursorWindsurfClineand other AI coding agents
ctx install @0froq/tsdownInstalls and links the skill to all detected agents
New to ctx? Install the CLI first
curl -fsSL https://getctx.org/install.sh | shirm https://getctx.org/install.ps1 | iextsdown Skills for Claude Code
Agent skills that help Claude Code understand and work with tsdown, the elegant library bundler.
Installation
npx skills add rolldown/tsdown
This will add the tsdown skill to your Claude Code configuration.
What's Included
The tsdown skill provides Claude Code with knowledge about:
- Core Concepts - What tsdown is, why use it, key features
- Configuration - Config file formats, options, multiple configs, workspace support
- Build Options - Entry points, output formats, type declarations, targets
- Dependency Handling - External/inline dependencies, auto-externalization
- Output Enhancement - Shims, CJS defaults, package exports
- Framework Support - React, Vue, Solid, Svelte integration
- Advanced Features - Plugins, hooks, programmatic API, Rolldown options
- CLI Commands - All CLI options and usage patterns
- Migration - Migrating from tsup to tsdown
Usage
Once installed, Claude Code will automatically use tsdown knowledge when:
- Building TypeScript/JavaScript libraries
- Configuring bundlers for library projects
- Setting up type declaration generation
- Working with multi-format builds (ESM, CJS, IIFE, UMD)
- Migrating from tsup
- Building framework component libraries
Example Prompts
Set up tsdown to build my TypeScript library with ESM and CJS formats
Configure tsdown to generate type declarations and bundle for browsers
Add React support to my tsdown config with Fast Refresh
Help me migrate from tsup to tsdown
Set up a monorepo build with tsdown workspace support
Documentation
License
MIT
0froq