[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M756QD0CFNDJBCQ5ZS6YWD75":3,"skill-same:01M756QD0CFNDJBCQ5ZS6YWD75":211},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":13,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M756QD0CFNDJBCQ5ZS6YWD75","tsdown",null,"Bundle 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.","dreamofu73\u002FProjectHub","dreamofu73","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F22006170?v=4","01M756NYZQJB8XCFMH60TGHAZV","01M756NZ0E8FXMH6YARZCT1JT8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: tsdown\ndescription: Bundle 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.\n---\n\n# tsdown - The Elegant Library Bundler\n\nBlazing-fast bundler for TypeScript\u002FJavaScript libraries powered by Rolldown and Oxc.\n\n## Runtime Requirement\n\n`tsdown` requires **Node.js 22.18.0 or higher to run** (build-time only). However, the bundled output can target much lower Node.js versions via the [`target`](references\u002Foption-target.md) option, so libraries built with tsdown are **not locked to Node.js 22+ at runtime**.\n\nIf your package needs to support Node.js 18 \u002F 20:\n\n- **Build with Node.js 22+ in CI** (e.g. set `target: 'node18'` or `target: 'node20'`).\n- **Test the built output (or the packed tarball) on the lower Node.js versions** you intend to support — e.g. using a matrix job that runs the published package's tests on Node.js 18 \u002F 20 \u002F 22.\n\n## When to Use\n\n- Building TypeScript\u002FJavaScript libraries for npm\n- Generating TypeScript declaration files (.d.ts)\n- Bundling for multiple formats (ESM, CJS, IIFE, UMD)\n- Optimizing bundles with tree shaking and minification\n- Migrating from tsup with minimal changes\n- Building React, Vue, Solid, or Svelte component libraries\n\n## Quick Start\n\n```bash\n# Install\npnpm add -D tsdown\n\n# Basic usage\nnpx tsdown\n\n# With config file\nnpx tsdown --config tsdown.config.ts\n\n# Watch mode\nnpx tsdown --watch\n\n# Migrate from tsup\nnpx tsdown-migrate\n```\n\n## Basic Configuration\n\n```ts\nimport { defineConfig } from 'tsdown'\n\nexport default defineConfig({\n  entry: ['.\u002Fsrc\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  clean: true,\n})\n```\n\n## Core References\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Getting Started | Installation, first bundle, CLI basics | [guide-getting-started](references\u002Fguide-getting-started.md) |\n| Configuration File | Config file formats, multiple configs, workspace | [option-config-file](references\u002Foption-config-file.md) |\n| CLI Reference | All CLI commands and options | [reference-cli](references\u002Freference-cli.md) |\n| Migrate from tsup | Migration guide and compatibility notes | [guide-migrate-from-tsup](references\u002Fguide-migrate-from-tsup.md) |\n| Plugins | Rolldown, Rollup, Unplugin support | [advanced-plugins](references\u002Fadvanced-plugins.md) |\n\n> For comprehensive migration assistance with complete option mappings, install the dedicated [`tsdown-migrate`](..\u002Ftsdown-migrate\u002FSKILL.md) skill: `npx skills add rolldown\u002Ftsdown --skill tsdown-migrate`\n| Hooks | Lifecycle hooks for custom logic | [advanced-hooks](references\u002Fadvanced-hooks.md) |\n| Programmatic API | Build from Node.js scripts | [advanced-programmatic](references\u002Fadvanced-programmatic.md) |\n| Rolldown Options | Pass options directly to Rolldown | [advanced-rolldown-options](references\u002Fadvanced-rolldown-options.md) |\n| CI Environment | CI detection, `'ci-only'` \u002F `'local-only'` values | [advanced-ci](references\u002Fadvanced-ci.md) |\n\n## Build Options\n\n| Option | Usage | Reference |\n|--------|-------|-----------|\n| Entry points | `entry: ['src\u002F*.ts', '!**\u002F*.test.ts']` | [option-entry](references\u002Foption-entry.md) |\n| Output formats | `format: ['esm', 'cjs', 'iife', 'umd']` | [option-output-format](references\u002Foption-output-format.md) |\n| Output directory | `outDir: 'dist'`, `outExtensions` | [option-output-directory](references\u002Foption-output-directory.md) |\n| Type declarations | `dts: true`, `dts: { sourcemap, compilerOptions, vue }` | [option-dts](references\u002Foption-dts.md) |\n| Target environment | `target: 'es2020'`, `target: 'esnext'` | [option-target](references\u002Foption-target.md) |\n| Platform | `platform: 'node'`, `platform: 'browser'` | [option-platform](references\u002Foption-platform.md) |\n| Tree shaking | `treeshake: true`, custom options | [option-tree-shaking](references\u002Foption-tree-shaking.md) |\n| Minification | `minify: true`, `minify: 'dce-only'` | [option-minification](references\u002Foption-minification.md) |\n| Source maps | `sourcemap: true`, `'inline'`, `'hidden'` | [option-sourcemap](references\u002Foption-sourcemap.md) |\n| Watch mode | `watch: true`, watch options | [option-watch-mode](references\u002Foption-watch-mode.md) |\n| Cleaning | `clean: true`, clean patterns | [option-cleaning](references\u002Foption-cleaning.md) |\n| Log level | `logLevel: 'silent'`, `failOnWarn: false` | [option-log-level](references\u002Foption-log-level.md) |\n\n## Dependency Handling\n\n| Feature | Usage | Reference |\n|---------|-------|-----------|\n| Never bundle | `deps: { neverBundle: ['react', \u002F^@myorg\\\u002F\u002F] }` | [option-dependencies](references\u002Foption-dependencies.md) |\n| Always bundle | `deps: { alwaysBundle: ['dep-to-bundle'] }` | [option-dependencies](references\u002Foption-dependencies.md) |\n| Only bundle | `deps: { onlyBundle: ['cac', 'bumpp'] }` - Whitelist | [option-dependencies](references\u002Foption-dependencies.md) |\n| Skip node_modules | `deps: { skipNodeModulesBundle: true }` | [option-dependencies](references\u002Foption-dependencies.md) |\n| Auto external | Automatic dependency\u002Fpeer\u002Foptional externalization | [option-dependencies](references\u002Foption-dependencies.md) |\n\n## Output Enhancement\n\n| Feature | Usage | Reference |\n|---------|-------|-----------|\n| Shims | `shims: true` - Add ESM\u002FCJS compatibility | [option-shims](references\u002Foption-shims.md) |\n| CJS default | `cjsDefault: true` (default) \u002F `false` | [option-cjs-default](references\u002Foption-cjs-default.md) |\n| Package exports | `exports: true` - Generate exports field | [option-package-exports](references\u002Foption-package-exports.md) |\n| CSS handling | **[experimental]** `css: { ... }` — full pipeline with preprocessors, Lightning CSS, PostCSS, CSS modules, code splitting; requires `@tsdown\u002Fcss` | [option-css](references\u002Foption-css.md) |\n| CSS modules | `css: { modules: { localsConvention: 'camelCase' } }` — scoped class names for `.module.css` files | [option-css](references\u002Foption-css.md) |\n| CSS inject | `css: { inject: true }` — preserve CSS imports in JS output | [option-css](references\u002Foption-css.md) |\n| Unbundle mode | `unbundle: true` - Preserve directory structure | [option-unbundle](references\u002Foption-unbundle.md) |\n| Root directory | `root: 'src'` - Control output directory mapping | [option-root](references\u002Foption-root.md) |\n| Executable | **[experimental]** `exe: true` - Bundle as standalone executable, cross-platform via `@tsdown\u002Fexe` | [option-exe](references\u002Foption-exe.md) |\n| Package validation | `publint: true`, `attw: true` - Validate package | [option-lint](references\u002Foption-lint.md) |\n\n## Framework & Runtime Support\n\n| Framework | Guide | Reference |\n|-----------|-------|-----------|\n| React | JSX transform, React Compiler | [recipe-react](references\u002Frecipe-react.md) |\n| Vue | SFC support, JSX | [recipe-vue](references\u002Frecipe-vue.md) |\n| Solid | SolidJS JSX transform | [recipe-solid](references\u002Frecipe-solid.md) |\n| Svelte | Svelte component libraries (source distribution recommended) | [recipe-svelte](references\u002Frecipe-svelte.md) |\n| WASM | WebAssembly modules via `rolldown-plugin-wasm` | [recipe-wasm](references\u002Frecipe-wasm.md) |\n\n## Common Patterns\n\n### Basic Library Bundle\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  clean: true,\n})\n```\n\n### Multiple Entry Points\n\n```ts\nexport default defineConfig({\n  entry: {\n    index: 'src\u002Findex.ts',\n    utils: 'src\u002Futils.ts',\n    cli: 'src\u002Fcli.ts',\n  },\n  format: ['esm', 'cjs'],\n  dts: true,\n})\n```\n\n### Browser Library (IIFE\u002FUMD)\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['iife'],\n  globalName: 'MyLib',\n  platform: 'browser',\n  minify: true,\n})\n```\n\n### React Component Library\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.tsx'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  deps: {\n    neverBundle: ['react', 'react-dom'],\n  },\n  inputOptions: {\n    jsx: { runtime: 'automatic' },\n  },\n})\n```\n\n### Preserve Directory Structure\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002F**\u002F*.ts', '!**\u002F*.test.ts'],\n  unbundle: true, \u002F\u002F Preserve file structure\n  format: ['esm'],\n  dts: true,\n})\n```\n\n### CI-Aware Configuration\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  failOnWarn: 'ci-only',  \u002F\u002F opt-in: fail on warnings in CI\n  publint: 'ci-only',\n  attw: 'ci-only',\n})\n```\n\n### WASM Support\n\n```ts\nimport { wasm } from 'rolldown-plugin-wasm'\nimport { defineConfig } from 'tsdown'\n\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  plugins: [wasm()],\n})\n```\n\n### Library with CSS and Sass\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  target: 'chrome100',\n  css: {\n    preprocessorOptions: {\n      scss: {\n        additionalData: `@use \"src\u002Fstyles\u002Fvariables\" as *;`,\n      },\n    },\n  },\n})\n```\n\n### Standalone Executable\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Fcli.ts'],\n  exe: true,\n})\n```\n\n### Cross-Platform Executable (requires `@tsdown\u002Fexe`)\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Fcli.ts'],\n  exe: {\n    targets: [\n      { platform: 'linux', arch: 'x64', nodeVersion: '25.7.0' },\n      { platform: 'darwin', arch: 'arm64', nodeVersion: '25.7.0' },\n      { platform: 'win', arch: 'x64', nodeVersion: '25.7.0' },\n    ],\n  },\n})\n```\n\n### Advanced with Hooks\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  hooks: {\n    'build:before': async (context) => {\n      console.log('Building...')\n    },\n    'build:done': async (context) => {\n      console.log('Build complete!')\n    },\n  },\n})\n```\n\n## Configuration Features\n\n### Multiple Configs\n\nExport an array for multiple build configurations:\n\n```ts\nexport default defineConfig([\n  {\n    entry: ['src\u002Findex.ts'],\n    format: ['esm', 'cjs'],\n    dts: true,\n  },\n  {\n    entry: ['src\u002Fcli.ts'],\n    format: ['esm'],\n    platform: 'node',\n  },\n])\n```\n\n### Conditional Config\n\nUse functions for dynamic configuration:\n\n```ts\nexport default defineConfig((options) => {\n  const isDev = options.watch\n  return {\n    entry: ['src\u002Findex.ts'],\n    format: ['esm', 'cjs'],\n    minify: !isDev,\n    sourcemap: isDev,\n  }\n})\n```\n\n### Workspace\u002FMonorepo\n\nUse glob patterns to build multiple packages:\n\n```ts\nexport default defineConfig({\n  workspace: 'packages\u002F*',\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n})\n```\n\n## CLI Quick Reference\n\n```bash\n# Basic commands\ntsdown                          # Build once\ntsdown --watch                  # Watch mode\ntsdown --config custom.ts       # Custom config\nnpx tsdown-migrate              # Migrate from tsup\n\n# Output options\ntsdown --format esm,cjs        # Multiple formats\ntsdown -d lib                  # Custom output directory (--out-dir)\ntsdown --minify                # Enable minification\ntsdown --dts                   # Generate declarations\ntsdown --exe                   # Bundle as standalone executable\ntsdown --unbundle              # Bundleless mode\n\n# Entry options\ntsdown src\u002Findex.ts            # Single entry\ntsdown src\u002F*.ts                # Glob patterns\ntsdown src\u002Fa.ts src\u002Fb.ts       # Multiple entries\n\n# Workspace \u002F Monorepo\ntsdown -W                      # Enable workspace mode\ntsdown -W -F my-package        # Filter specific package\ntsdown --filter \u002F^pkg-\u002F        # Filter by regex\n\n# Development\ntsdown --watch                 # Watch mode\ntsdown --sourcemap             # Generate source maps\ntsdown --clean                 # Clean output directory\ntsdown --from-vite             # Reuse Vite config\ntsdown --tsconfig tsconfig.build.json  # Custom tsconfig\n```\n\n## Best Practices\n\n1. **Always generate type declarations** for TypeScript libraries:\n   ```ts\n   { dts: true }\n   ```\n\n2. **Externalize dependencies** to avoid bundling unnecessary code:\n   ```ts\n   { deps: { neverBundle: [\u002F^react\u002F, \u002F^@myorg\\\u002F\u002F] } }\n   ```\n\n3. **Use tree shaking** for optimal bundle size:\n   ```ts\n   { treeshake: true }\n   ```\n\n4. **Enable minification** for production builds:\n   ```ts\n   { minify: true }\n   ```\n\n5. **Add shims** for better ESM\u002FCJS compatibility:\n   ```ts\n   { shims: true }  \u002F\u002F Adds __dirname, __filename, etc.\n   ```\n\n6. **Auto-generate package.json exports**:\n   ```ts\n   { exports: true }  \u002F\u002F Creates proper exports field\n   ```\n\n7. **Use watch mode** during development:\n   ```bash\n   tsdown --watch\n   ```\n\n8. **Preserve structure** for utilities with many files:\n   ```ts\n   { unbundle: true }  \u002F\u002F Keep directory structure\n   ```\n\n9. **Validate packages** in CI before publishing:\n   ```ts\n   { publint: 'ci-only', attw: 'ci-only' }\n   ```\n\n## Resources\n\n- Documentation: https:\u002F\u002Ftsdown.dev\n- GitHub: https:\u002F\u002Fgithub.com\u002Frolldown\u002Ftsdown\n- Rolldown: https:\u002F\u002Frolldown.rs\n- Migration Guide: https:\u002F\u002Ftsdown.dev\u002Fguide\u002Fmigrate-from-tsup\n","# tsdown - The Elegant Library Bundler\n\nBlazing-fast bundler for TypeScript\u002FJavaScript libraries powered by Rolldown and Oxc.\n\n## Runtime Requirement\n\n`tsdown` requires **Node.js 22.18.0 or higher to run** (build-time only). However, the bundled output can target much lower Node.js versions via the [`target`](references\u002Foption-target.md) option, so libraries built with tsdown are **not locked to Node.js 22+ at runtime**.\n\nIf your package needs to support Node.js 18 \u002F 20:\n\n- **Build with Node.js 22+ in CI** (e.g. set `target: 'node18'` or `target: 'node20'`).\n- **Test the built output (or the packed tarball) on the lower Node.js versions** you intend to support — e.g. using a matrix job that runs the published package's tests on Node.js 18 \u002F 20 \u002F 22.\n\n## When to Use\n\n- Building TypeScript\u002FJavaScript libraries for npm\n- Generating TypeScript declaration files (.d.ts)\n- Bundling for multiple formats (ESM, CJS, IIFE, UMD)\n- Optimizing bundles with tree shaking and minification\n- Migrating from tsup with minimal changes\n- Building React, Vue, Solid, or Svelte component libraries\n\n## Quick Start\n\n```bash\n# Install\npnpm add -D tsdown\n\n# Basic usage\nnpx tsdown\n\n# With config file\nnpx tsdown --config tsdown.config.ts\n\n# Watch mode\nnpx tsdown --watch\n\n# Migrate from tsup\nnpx tsdown-migrate\n```\n\n## Basic Configuration\n\n```ts\nimport { defineConfig } from 'tsdown'\n\nexport default defineConfig({\n  entry: ['.\u002Fsrc\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  clean: true,\n})\n```\n\n## Core References\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Getting Started | Installation, first bundle, CLI basics | [guide-getting-started](references\u002Fguide-getting-started.md) |\n| Configuration File | Config file formats, multiple configs, workspace | [option-config-file](references\u002Foption-config-file.md) |\n| CLI Reference | All CLI commands and options | [reference-cli](references\u002Freference-cli.md) |\n| Migrate from tsup | Migration guide and compatibility notes | [guide-migrate-from-tsup](references\u002Fguide-migrate-from-tsup.md) |\n| Plugins | Rolldown, Rollup, Unplugin support | [advanced-plugins](references\u002Fadvanced-plugins.md) |\n\n> For comprehensive migration assistance with complete option mappings, install the dedicated [`tsdown-migrate`](..\u002Ftsdown-migrate\u002FSKILL.md) skill: `npx skills add rolldown\u002Ftsdown --skill tsdown-migrate`\n| Hooks | Lifecycle hooks for custom logic | [advanced-hooks](references\u002Fadvanced-hooks.md) |\n| Programmatic API | Build from Node.js scripts | [advanced-programmatic](references\u002Fadvanced-programmatic.md) |\n| Rolldown Options | Pass options directly to Rolldown | [advanced-rolldown-options](references\u002Fadvanced-rolldown-options.md) |\n| CI Environment | CI detection, `'ci-only'` \u002F `'local-only'` values | [advanced-ci](references\u002Fadvanced-ci.md) |\n\n## Build Options\n\n| Option | Usage | Reference |\n|--------|-------|-----------|\n| Entry points | `entry: ['src\u002F*.ts', '!**\u002F*.test.ts']` | [option-entry](references\u002Foption-entry.md) |\n| Output formats | `format: ['esm', 'cjs', 'iife', 'umd']` | [option-output-format](references\u002Foption-output-format.md) |\n| Output directory | `outDir: 'dist'`, `outExtensions` | [option-output-directory](references\u002Foption-output-directory.md) |\n| Type declarations | `dts: true`, `dts: { sourcemap, compilerOptions, vue }` | [option-dts](references\u002Foption-dts.md) |\n| Target environment | `target: 'es2020'`, `target: 'esnext'` | [option-target](references\u002Foption-target.md) |\n| Platform | `platform: 'node'`, `platform: 'browser'` | [option-platform](references\u002Foption-platform.md) |\n| Tree shaking | `treeshake: true`, custom options | [option-tree-shaking](references\u002Foption-tree-shaking.md) |\n| Minification | `minify: true`, `minify: 'dce-only'` | [option-minification](references\u002Foption-minification.md) |\n| Source maps | `sourcemap: true`, `'inline'`, `'hidden'` | [option-sourcemap](references\u002Foption-sourcemap.md) |\n| Watch mode | `watch: true`, watch options | [option-watch-mode](references\u002Foption-watch-mode.md) |\n| Cleaning | `clean: true`, clean patterns | [option-cleaning](references\u002Foption-cleaning.md) |\n| Log level | `logLevel: 'silent'`, `failOnWarn: false` | [option-log-level](references\u002Foption-log-level.md) |\n\n## Dependency Handling\n\n| Feature | Usage | Reference |\n|---------|-------|-----------|\n| Never bundle | `deps: { neverBundle: ['react', \u002F^@myorg\\\u002F\u002F] }` | [option-dependencies](references\u002Foption-dependencies.md) |\n| Always bundle | `deps: { alwaysBundle: ['dep-to-bundle'] }` | [option-dependencies](references\u002Foption-dependencies.md) |\n| Only bundle | `deps: { onlyBundle: ['cac', 'bumpp'] }` - Whitelist | [option-dependencies](references\u002Foption-dependencies.md) |\n| Skip node_modules | `deps: { skipNodeModulesBundle: true }` | [option-dependencies](references\u002Foption-dependencies.md) |\n| Auto external | Automatic dependency\u002Fpeer\u002Foptional externalization | [option-dependencies](references\u002Foption-dependencies.md) |\n\n## Output Enhancement\n\n| Feature | Usage | Reference |\n|---------|-------|-----------|\n| Shims | `shims: true` - Add ESM\u002FCJS compatibility | [option-shims](references\u002Foption-shims.md) |\n| CJS default | `cjsDefault: true` (default) \u002F `false` | [option-cjs-default](references\u002Foption-cjs-default.md) |\n| Package exports | `exports: true` - Generate exports field | [option-package-exports](references\u002Foption-package-exports.md) |\n| CSS handling | **[experimental]** `css: { ... }` — full pipeline with preprocessors, Lightning CSS, PostCSS, CSS modules, code splitting; requires `@tsdown\u002Fcss` | [option-css](references\u002Foption-css.md) |\n| CSS modules | `css: { modules: { localsConvention: 'camelCase' } }` — scoped class names for `.module.css` files | [option-css](references\u002Foption-css.md) |\n| CSS inject | `css: { inject: true }` — preserve CSS imports in JS output | [option-css](references\u002Foption-css.md) |\n| Unbundle mode | `unbundle: true` - Preserve directory structure | [option-unbundle](references\u002Foption-unbundle.md) |\n| Root directory | `root: 'src'` - Control output directory mapping | [option-root](references\u002Foption-root.md) |\n| Executable | **[experimental]** `exe: true` - Bundle as standalone executable, cross-platform via `@tsdown\u002Fexe` | [option-exe](references\u002Foption-exe.md) |\n| Package validation | `publint: true`, `attw: true` - Validate package | [option-lint](references\u002Foption-lint.md) |\n\n## Framework & Runtime Support\n\n| Framework | Guide | Reference |\n|-----------|-------|-----------|\n| React | JSX transform, React Compiler | [recipe-react](references\u002Frecipe-react.md) |\n| Vue | SFC support, JSX | [recipe-vue](references\u002Frecipe-vue.md) |\n| Solid | SolidJS JSX transform | [recipe-solid](references\u002Frecipe-solid.md) |\n| Svelte | Svelte component libraries (source distribution recommended) | [recipe-svelte](references\u002Frecipe-svelte.md) |\n| WASM | WebAssembly modules via `rolldown-plugin-wasm` | [recipe-wasm](references\u002Frecipe-wasm.md) |\n\n## Common Patterns\n\n### Basic Library Bundle\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  clean: true,\n})\n```\n\n### Multiple Entry Points\n\n```ts\nexport default defineConfig({\n  entry: {\n    index: 'src\u002Findex.ts',\n    utils: 'src\u002Futils.ts',\n    cli: 'src\u002Fcli.ts',\n  },\n  format: ['esm', 'cjs'],\n  dts: true,\n})\n```\n\n### Browser Library (IIFE\u002FUMD)\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['iife'],\n  globalName: 'MyLib',\n  platform: 'browser',\n  minify: true,\n})\n```\n\n### React Component Library\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.tsx'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  deps: {\n    neverBundle: ['react', 'react-dom'],\n  },\n  inputOptions: {\n    jsx: { runtime: 'automatic' },\n  },\n})\n```\n\n### Preserve Directory Structure\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002F**\u002F*.ts', '!**\u002F*.test.ts'],\n  unbundle: true, \u002F\u002F Preserve file structure\n  format: ['esm'],\n  dts: true,\n})\n```\n\n### CI-Aware Configuration\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  failOnWarn: 'ci-only',  \u002F\u002F opt-in: fail on warnings in CI\n  publint: 'ci-only',\n  attw: 'ci-only',\n})\n```\n\n### WASM Support\n\n```ts\nimport { wasm } from 'rolldown-plugin-wasm'\nimport { defineConfig } from 'tsdown'\n\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  plugins: [wasm()],\n})\n```\n\n### Library with CSS and Sass\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  target: 'chrome100',\n  css: {\n    preprocessorOptions: {\n      scss: {\n        additionalData: `@use \"src\u002Fstyles\u002Fvariables\" as *;`,\n      },\n    },\n  },\n})\n```\n\n### Standalone Executable\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Fcli.ts'],\n  exe: true,\n})\n```\n\n### Cross-Platform Executable (requires `@tsdown\u002Fexe`)\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Fcli.ts'],\n  exe: {\n    targets: [\n      { platform: 'linux', arch: 'x64', nodeVersion: '25.7.0' },\n      { platform: 'darwin', arch: 'arm64', nodeVersion: '25.7.0' },\n      { platform: 'win', arch: 'x64', nodeVersion: '25.7.0' },\n    ],\n  },\n})\n```\n\n### Advanced with Hooks\n\n```ts\nexport default defineConfig({\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n  hooks: {\n    'build:before': async (context) => {\n      console.log('Building...')\n    },\n    'build:done': async (context) => {\n      console.log('Build complete!')\n    },\n  },\n})\n```\n\n## Configuration Features\n\n### Multiple Configs\n\nExport an array for multiple build configurations:\n\n```ts\nexport default defineConfig([\n  {\n    entry: ['src\u002Findex.ts'],\n    format: ['esm', 'cjs'],\n    dts: true,\n  },\n  {\n    entry: ['src\u002Fcli.ts'],\n    format: ['esm'],\n    platform: 'node',\n  },\n])\n```\n\n### Conditional Config\n\nUse functions for dynamic configuration:\n\n```ts\nexport default defineConfig((options) => {\n  const isDev = options.watch\n  return {\n    entry: ['src\u002Findex.ts'],\n    format: ['esm', 'cjs'],\n    minify: !isDev,\n    sourcemap: isDev,\n  }\n})\n```\n\n### Workspace\u002FMonorepo\n\nUse glob patterns to build multiple packages:\n\n```ts\nexport default defineConfig({\n  workspace: 'packages\u002F*',\n  entry: ['src\u002Findex.ts'],\n  format: ['esm', 'cjs'],\n  dts: true,\n})\n```\n\n## CLI Quick Reference\n\n```bash\n# Basic commands\ntsdown                          # Build once\ntsdown --watch                  # Watch mode\ntsdown --config custom.ts       # Custom config\nnpx tsdown-migrate              # Migrate from tsup\n\n# Output options\ntsdown --format esm,cjs        # Multiple formats\ntsdown -d lib                  # Custom output directory (--out-dir)\ntsdown --minify                # Enable minification\ntsdown --dts                   # Generate declarations\ntsdown --exe                   # Bundle as standalone executable\ntsdown --unbundle              # Bundleless mode\n\n# Entry options\ntsdown src\u002Findex.ts            # Single entry\ntsdown src\u002F*.ts                # Glob patterns\ntsdown src\u002Fa.ts src\u002Fb.ts       # Multiple entries\n\n# Workspace \u002F Monorepo\ntsdown -W                      # Enable workspace mode\ntsdown -W -F my-package        # Filter specific package\ntsdown --filter \u002F^pkg-\u002F        # Filter by regex\n\n# Development\ntsdown --watch                 # Watch mode\ntsdown --sourcemap             # Generate source maps\ntsdown --clean                 # Clean output directory\ntsdown --from-vite             # Reuse Vite config\ntsdown --tsconfig tsconfig.build.json  # Custom tsconfig\n```\n\n## Best Practices\n\n1. **Always generate type declarations** for TypeScript libraries:\n   ```ts\n   { dts: true }\n   ```\n\n2. **Externalize dependencies** to avoid bundling unnecessary code:\n   ```ts\n   { deps: { neverBundle: [\u002F^react\u002F, \u002F^@myorg\\\u002F\u002F] } }\n   ```\n\n3. **Use tree shaking** for optimal bundle size:\n   ```ts\n   { treeshake: true }\n   ```\n\n4. **Enable minification** for production builds:\n   ```ts\n   { minify: true }\n   ```\n\n5. **Add shims** for better ESM\u002FCJS compatibility:\n   ```ts\n   { shims: true }  \u002F\u002F Adds __dirname, __filename, etc.\n   ```\n\n6. **Auto-generate package.json exports**:\n   ```ts\n   { exports: true }  \u002F\u002F Creates proper exports field\n   ```\n\n7. **Use watch mode** during development:\n   ```bash\n   tsdown --watch\n   ```\n\n8. **Preserve structure** for utilities with many files:\n   ```ts\n   { unbundle: true }  \u002F\u002F Keep directory structure\n   ```\n\n9. **Validate packages** in CI before publishing:\n   ```ts\n   { publint: 'ci-only', attw: 'ci-only' }\n   ```\n\n## Resources\n\n- Documentation: https:\u002F\u002Ftsdown.dev\n- GitHub: https:\u002F\u002Fgithub.com\u002Frolldown\u002Ftsdown\n- Rolldown: https:\u002F\u002Frolldown.rs\n- Migration Guide: https:\u002F\u002Ftsdown.dev\u002Fguide\u002Fmigrate-from-tsup\n",{"name":5,"description":7},"main","19fad977bc7e54cdf1efc7ba174c9a8c4ddfb00e",".agents\u002Fskills\u002Ftsdown","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub","https:\u002F\u002Fgithub.com\u002Fdreamofu73","2026-08-24 09:09:02",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add dreamofu73\u002FProjectHub --skill tsdown",{"tool":36,"command":37},"bunx","bunx skills add dreamofu73\u002FProjectHub --skill tsdown",{"tool":39,"command":40},"pnpm","pnpm dlx skills add dreamofu73\u002FProjectHub --skill tsdown","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002FSKILL.md",true,[44,49,55,59,63,67,71,75,79,83,87,91,95,99,103,107,111,115,119,123,127,131,135,139,143,147,151,155,159,163,167,171,175,179,183,187,191,195,199,203,207],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":15},"LICENSE.md","LICENSE","许可证",1159,{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"README.md","REFERENCE","参考文档",2238,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002FREADME.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fadvanced-benchmark.md",265,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fadvanced-benchmark.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"references\u002Fadvanced-ci.md",2034,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fadvanced-ci.md",{"path":64,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fadvanced-hooks.md",7051,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fadvanced-hooks.md",{"path":68,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":69,"sourceHtmlUrl":70},"references\u002Fadvanced-plugins.md",6754,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fadvanced-plugins.md",{"path":72,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fadvanced-programmatic.md",6060,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fadvanced-programmatic.md",{"path":76,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fadvanced-rolldown-options.md",2368,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fadvanced-rolldown-options.md",{"path":80,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fguide-getting-started.md",3210,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fguide-getting-started.md",{"path":84,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fguide-introduction.md",1589,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fguide-introduction.md",{"path":88,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fguide-migrate-from-tsup.md",4914,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Fguide-migrate-from-tsup.md",{"path":92,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":93,"sourceHtmlUrl":94},"references\u002Foption-cjs-default.md",1941,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-cjs-default.md",{"path":96,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":97,"sourceHtmlUrl":98},"references\u002Foption-cleaning.md",4871,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-cleaning.md",{"path":100,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":101,"sourceHtmlUrl":102},"references\u002Foption-config-file.md",5592,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-config-file.md",{"path":104,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":105,"sourceHtmlUrl":106},"references\u002Foption-css.md",7087,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-css.md",{"path":108,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":109,"sourceHtmlUrl":110},"references\u002Foption-dependencies.md",7599,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-dependencies.md",{"path":112,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":113,"sourceHtmlUrl":114},"references\u002Foption-dts.md",4628,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-dts.md",{"path":116,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":117,"sourceHtmlUrl":118},"references\u002Foption-entry.md",3676,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-entry.md",{"path":120,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":121,"sourceHtmlUrl":122},"references\u002Foption-exe.md",3370,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-exe.md",{"path":124,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":125,"sourceHtmlUrl":126},"references\u002Foption-lint.md",2967,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-lint.md",{"path":128,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":129,"sourceHtmlUrl":130},"references\u002Foption-log-level.md",1819,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-log-level.md",{"path":132,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":133,"sourceHtmlUrl":134},"references\u002Foption-minification.md",3570,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-minification.md",{"path":136,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":137,"sourceHtmlUrl":138},"references\u002Foption-output-directory.md",4719,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-output-directory.md",{"path":140,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":141,"sourceHtmlUrl":142},"references\u002Foption-output-format.md",3645,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-output-format.md",{"path":144,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":145,"sourceHtmlUrl":146},"references\u002Foption-package-exports.md",5479,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-package-exports.md",{"path":148,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":149,"sourceHtmlUrl":150},"references\u002Foption-platform.md",5231,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-platform.md",{"path":152,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":153,"sourceHtmlUrl":154},"references\u002Foption-root.md",1888,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-root.md",{"path":156,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":157,"sourceHtmlUrl":158},"references\u002Foption-shims.md",5606,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-shims.md",{"path":160,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":161,"sourceHtmlUrl":162},"references\u002Foption-sourcemap.md",5542,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-sourcemap.md",{"path":164,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":165,"sourceHtmlUrl":166},"references\u002Foption-target.md",4078,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-target.md",{"path":168,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":169,"sourceHtmlUrl":170},"references\u002Foption-tree-shaking.md",5192,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-tree-shaking.md",{"path":172,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":173,"sourceHtmlUrl":174},"references\u002Foption-unbundle.md",5678,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-unbundle.md",{"path":176,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":177,"sourceHtmlUrl":178},"references\u002Foption-watch-mode.md",4660,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Foption-watch-mode.md",{"path":180,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":181,"sourceHtmlUrl":182},"references\u002FREADME.md",4797,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002FREADME.md",{"path":184,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":185,"sourceHtmlUrl":186},"references\u002Frecipe-react.md",6065,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Frecipe-react.md",{"path":188,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":189,"sourceHtmlUrl":190},"references\u002Frecipe-solid.md",783,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Frecipe-solid.md",{"path":192,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":193,"sourceHtmlUrl":194},"references\u002Frecipe-svelte.md",1411,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Frecipe-svelte.md",{"path":196,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":197,"sourceHtmlUrl":198},"references\u002Frecipe-vue.md",6562,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Frecipe-vue.md",{"path":200,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":201,"sourceHtmlUrl":202},"references\u002Frecipe-wasm.md",2535,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Frecipe-wasm.md",{"path":204,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":205,"sourceHtmlUrl":206},"references\u002Freference-cli.md",7500,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002Freferences\u002Freference-cli.md",{"path":208,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":209,"sourceHtmlUrl":210},"SYNC.md",140,"https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftsdown\u002FSYNC.md",[212,219,226,233,240,247],{"skillNo":213,"name":214,"nameZh":6,"description":215,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":216,"categories":217,"keywords":218,"publishedAt":19},"01M756QWSRAE73DE51ZH3YNC6S","claude-rule-web","Claude rules for web","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweb\u002FSKILL.md",[],[],{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":225,"publishedAt":19},"01M756QRYZ0ZJFA7631HNXDREV","vite","Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries\u002FSSR apps with Vite.","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvite\u002FSKILL.md",[],[],{"skillNo":227,"name":228,"nameZh":6,"description":229,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":230,"categories":231,"keywords":232,"publishedAt":19},"01M756QKD46R8ZAA3ZDWSEKSVQ","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":234,"name":235,"nameZh":6,"description":236,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":237,"categories":238,"keywords":239,"publishedAt":19},"01M756QGGR0KNZ7YCDRAXGHBQ3","claude-rule-typescript","Claude rules for typescript","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftypescript\u002FSKILL.md",[],[],{"skillNo":241,"name":242,"nameZh":6,"description":243,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":244,"categories":245,"keywords":246,"publishedAt":19},"01M756Q6WRNT2E8GBPW6E89G3D","security-review","Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment\u002Fsensitive features. Provides comprehensive security checklist and patterns.","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fsecurity-review\u002FSKILL.md",[],[],{"skillNo":248,"name":249,"nameZh":6,"description":250,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":251,"categories":252,"keywords":253,"publishedAt":19},"01M756Q5R76T0KP0ZBP7CYTBGJ","claude-rule-rust","Claude rules for rust","https:\u002F\u002Fgithub.com\u002Fdreamofu73\u002FProjectHub\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Frust\u002FSKILL.md",[],[]]