AgentSkillsCN

rollup-config-generator

为捆绑JavaScript库生成Rollup配置文件。触发词:“创建rollup配置”、“生成rollup配置”、“rollup设置”、“库打包配置”。

SKILL.md
--- frontmatter
name: rollup-config-generator
description: Generate Rollup configuration files for bundling JavaScript libraries. Triggers on "create rollup config", "generate rollup configuration", "rollup setup", "library bundler config".

Rollup Config Generator

Generate Rollup configuration files for efficient library bundling.

Output Requirements

File Output: rollup.config.js or rollup.config.mjs Format: Valid Rollup configuration Standards: Rollup 4.x

When Invoked

Immediately generate a complete Rollup configuration with plugins for bundling libraries.

Example Invocations

Prompt: "Create rollup config for TypeScript library" Output: Complete rollup.config.mjs with ESM and CJS outputs.