codeaashu

03 Build Config — Development skill for Claude Code

Development community

Prompt 03: Create esbuild-Based Build System.

How to install 03 Build Config

Installs to ~/.claude/skills/codeaashu-claude-code-03-build-config/SKILL.md

Terminal
mkdir -p ~/.claude/skills/codeaashu-claude-code-03-build-config && curl -fsSL https://raw.githubusercontent.com/codeaashu/claude-code/HEAD/prompts/03-build-config.md -o ~/.claude/skills/codeaashu-claude-code-03-build-config/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What 03 Build Config does

Prompt 03: Create esbuild-Based Build System

Context

You are working in `/workspaces/claude-code`. This is the Claude Code CLI — a TypeScript/TSX terminal app using React + Ink. It was originally built using **Bun's bundler** with feature flags, but that build config wasn't included in the leak.

We need to create a build system that:

  1. Bundles the entire src/ tree into a runnable output
  2. Aliases bun:bundle → our shim at src/shims/bun-bundle.ts
  3. Injects the MACRO global (via

Alternatives in Development

  • Claude Config — Built-in /config command to manage settings interactively 81.1k ★
  • Check 1: Cache Exists? — CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}" CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache/claude-hud" 2 10.9k ★
  • Octo Doctor — Environment diagnostics — check providers, auth, config, hooks, scheduler, and more 2.8k ★

Full documentation available on GitHub

View Source Repository