Work with AI
tsdown provides official skills for AI coding agents, enabling them to understand tsdown's configuration, features, and best practices when helping you build libraries.
Installation
Install the tsdown skill to your AI coding agent:
bash
npx skills add rolldown/tsdownThe source code of the skill is here.
Example Prompts
Once installed, you can ask agents to help with various tsdown tasks:
Set up tsdown to build my TypeScript library with ESM and CJS formatsConfigure tsdown to generate type declarations and bundle for browsersAdd React support to my tsdown config with Fast RefreshSet up a monorepo build with tsdown workspace supportWhat's Included
The tsdown skill provides knowledge about:
- Configuration file formats, options, and workspace support
- Entry points, output formats, and type declarations
- Dependency handling and auto-externalization
- Framework support (React, Vue, Solid, Svelte)
- Plugins, hooks, and programmatic API
- CLI commands and usage patterns