swc-config-generator
Generate SWC configuration files for high-performance JavaScript/TypeScript compilation. Triggers on "create swc config", "generate swc configuration", "swc setup", "rust compiler config".
When & Why to Use This Skill
The SWC Config Generator is a specialized Claude skill designed to automate the creation of high-performance configuration files for the SWC (Speedy Web Compiler). It streamlines the development workflow by generating optimized .swcrc or swc.config.js files tailored for JavaScript and TypeScript projects, ensuring fast compilation speeds and compatibility with modern standards like React and Rust-based toolchains.
Use Cases
- Rapidly initializing a new React and TypeScript project with production-ready SWC compilation settings.
- Migrating legacy JavaScript projects from Babel to SWC to achieve significantly faster build times and improved developer productivity.
- Configuring custom transformation rules and polyfills for Node.js backend services using modern ECMAScript features.
- Setting up high-performance build pipelines that require precise Rust-based compiler configurations for enterprise-scale web applications.
| name | swc-config-generator |
|---|---|
| description | Generate SWC configuration files for high-performance JavaScript/TypeScript compilation. Triggers on "create swc config", "generate swc configuration", "swc setup", "rust compiler config". |
SWC Config Generator
Generate SWC configuration for high-performance JavaScript/TypeScript compilation.
Output Requirements
File Output: .swcrc or swc.config.js
Format: Valid SWC configuration
Standards: SWC 1.x
When Invoked
Immediately generate a complete SWC configuration for the project type.
Example Invocations
Prompt: "Create swc config for React TypeScript"
Output: Complete .swcrc with React and TypeScript compilation settings.