بنقرة واحدة
tsdown
tsdown is a fast and elegant TypeScript library bundler powered by Rolldown and Oxc
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
tsdown is a fast and elegant TypeScript library bundler powered by Rolldown and Oxc
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Render a document, a diagram, or a report as HTML for human visualisation.
Use when writing prose meant to read by humans: PR descriptions, docs, blog drafts, emails, design memos
Guidelines on creating issues on GitHub
Run a premortem on any plan, launch, product, hire, strategy, or decision. Assumes it already failed 6 months from now and works backward to find every reason why. Produces a revised plan with blind spots exposed. MANDATORY TRIGGERS: 'premortem this', 'premortem my', 'run a premortem', 'what could kill this', 'future-proof this', 'stress test this plan', 'what am i missing here', 'find the blind spots'. STRONG TRIGGERS: 'what could go wrong', 'am i missing anything', 'poke holes in this', 'where will this break', 'devil's advocate this'. Do NOT trigger on simple feedback requests, or factual questions. DO trigger when someone has a plan or commitment where the cost of being wrong is high.
Schedule a prompt to fire back at yourself at a future time or on a recurring cron pattern. Use when the user says "remind me", "every N minutes/hours/days", "at HH:MM tomorrow", "check X periodically", or otherwise asks for any time-based action. Triggered by the `schedule` tool plus the `/schedule` command for listing and deletion.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get roasted on their design, or mentions "brainstorm".
| name | tsdown |
| description | tsdown is a fast and elegant TypeScript library bundler powered by Rolldown and Oxc |
| metadata | {"author":"Anthony Fu","version":"2026.1.28","source":"Generated from https://github.com/rolldown/tsdown, scripts located at https://github.com/antfu/skills"} |
tsdown is a next-generation TypeScript library bundler built on Rolldown and Oxc. It provides blazing-fast builds, automatic .d.ts generation, and seamless migration from tsup. Supports Rolldown/Rollup/Unplugin plugins and features smart dependency handling.
This documentation is based on tsdown v0.20.1.
Anthony's Preferences:
dts option for type declarationsexports option for auto-generated package exports| Topic | Description | Reference |
|---|---|---|
| Configuration | Config file setup, defineConfig, multiple configs | core-config |
| CLI | Command-line interface and options | core-cli |
| Entry Points | Entry files, aliases, glob patterns | core-entry |
| Topic | Description | Reference |
|---|---|---|
| Output | Format (ESM/CJS/IIFE/UMD), directory, target, platform | options-output |
| Declaration Files | .d.ts generation, isolatedDeclarations, sourcemaps | options-dts |
| Dependencies | External, noExternal, dependency bundling | options-dependencies |
| Package Exports | Auto-generating exports, main, module fields | options-package-exports |
| Topic | Description | Reference |
|---|---|---|
| Optimization | Tree shaking, minification, sourcemaps | features-optimization |
| Shims | CJS/ESM compatibility shims | features-shims |
| Unbundle Mode | Bundleless transpile-only builds | features-unbundle |
| Watch Mode | Auto-rebuild on file changes | features-watch |
| Topic | Description | Reference |
|---|---|---|
| Plugins | Rolldown, Unplugin, Rollup, Vite plugins | advanced-plugins |
| Hooks | Build lifecycle hooks | advanced-hooks |
| Programmatic API | Using tsdown from code | advanced-programmatic |
| Rolldown Options | Customizing inputOptions and outputOptions | advanced-rolldown-options |
| Topic | Description | Reference |
|---|---|---|
| Framework Support | Vue and React library bundling | recipes-frameworks |
| Migration | Migrating from tsup | recipes-migration |