AGENT SKILL
terser
Use this skill when the user wants to minify JavaScript code for production — compress, mangle, tree-shake, and eliminate dead code in ES6+ files.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- terser
- description
- Use this skill when the user wants to minify JavaScript code for production — compress, mangle, tree-shake, and eliminate dead code in ES6+ files.
03 SKILL.md 正文
Terser Plugin
Terser minifies and optimizes JavaScript for ES6+. Successor to UglifyJS.
Usage Examples
- "minify app.js for production"
- "compress with source map generation"
- "mangle variable names for size reduction"
- "remove console.log statements from build"
Installation
npm install -g terser
Key Features
- ES6+ syntax support
- Variable name mangling
- Dead code elimination
- Tree shaking
- Expression optimization
- Source map generation
- Comments preservation or removal
- Configurable compression level
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57