Agent skill

babel-config-builder

Generate Babel configuration files for JavaScript/TypeScript transpilation with presets and plugins. Triggers on "create babel config", "generate babel configuration", "babel setup", "transpilation config".

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/babel-config-builder

SKILL.md

Babel Config Builder

Generate Babel configuration files for JavaScript transpilation with appropriate presets and plugins.

Output Requirements

File Output: babel.config.js, babel.config.json, or .babelrc Format: Valid Babel 7 configuration Standards: Babel 7.x

When Invoked

Immediately generate a complete Babel configuration with presets for the target environment and necessary plugins.

Configuration Template

javascript
module.exports = {
  presets: [
    ['@babel/preset-env', { targets: { node: 'current' } }],
    '@babel/preset-typescript',
    ['@babel/preset-react', { runtime: 'automatic' }],
  ],
  plugins: [
    '@babel/plugin-transform-runtime',
  ],
};

Example Invocations

Prompt: "Create babel config for React TypeScript" Output: Complete babel.config.js with React, TypeScript presets.

Didn't find tool you were looking for?

Be as detailed as possible for better results