Swc
SWC Rust-based JS/TS compiler. Use for fast compilation.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill swcAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
0.9 KB, 225 tokens by cl100k_base, as published. Nobody here has run it
SWC
SWC (Speedy Web Compiler) is a Rust-based extensible platform. It is the compiler inside Next.js and Deno.
When to Use
- Compilation: Replacing Babel.
- Minification: Faster and often smaller than Terser.
- Jest:
@swc/jestspeeds up tests by 10x.
Core Concepts
Transforms
Supports standard transforms (React JSX, TypeScript, legacy decorators).
Plugins (Wasm)
SWC plugins are written in Rust (Wasm), making them fast but harder to write than Babel plugins.
Best Practices (2025)
Do:
- Use
swc-loader: In Webpack configs. - Use
.swcrc: JSON configuration file (similar to.babelrc).
Don't:
- Don't stick with Babel: Unless you need a very niche Babel plugin that doesn't exist in SWC yet.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.