agentsclimarketplace

Babel

Skill G1Joshi/Agent-Skills/skills/tools/babel

Babel JavaScript compiler for compatibility. Use for transpiling.From its SKILL.md

Install
npx -y skills add G1Joshi/Agent-Skills --skill babel

Assembled 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

1.0 KB, 231 tokens by cl100k_base, as published. Nobody here has run it

Babel

Babel is the transpiler that made ES6+ possible. While slower than SWC/esbuild, it remains the most extensible compiler with the largest plugin ecosystem.

When to Use

  • Custom Transformations: You need to write a custom AST transform for your framework.
  • Legacy Browser Support: preset-env with core-js is still the gold standard for "make it run on IE11" (if you must).

Core Concepts

Presets

@babel/preset-env, @babel/preset-react, @babel/preset-typescript.

Plugins

Small transforms. plugin-transform-runtime.

Polyfills

Injecting missing features (Map, Set, Promise).

Best Practices (2025)

Do:

  • Use SWC if possible: Babel is slow.
  • Use babel.config.json: Project-wide configuration.

Don't:

  • Don't transpile node_modules: Unless absolutely necessary. It murders build time.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 628,971. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.