skills/ehtbanton/claudeskillsrepo/babel-config-builder

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

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.

Weekly Installs
1
First Seen
8 days ago
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1