02 Runtime Shims
Description
# Prompt 02: Runtime Shims for `bun:bundle` Feature Flags & `MACRO` Globals ## Context You are working in `/workspaces/claude-code`. This is the Claude Code CLI source. It was built to run under **Bun's bundler** which provides two build-time features that don't exist at runtime: ### 1. `bun:bundle` feature flags Throughout the code you'll find: ```ts import { feature } from 'bun:bundle' if (feature('BRIDGE_MODE')) { ... } ``` Bun's bundler replaces `feature('X')` with `true`/`false` at build
Installation
Installs to ~/.claude/skills/codeaashu-claude-code-02-runtime-shims/SKILL.md
mkdir -p ~/.claude/skills/codeaashu-claude-code-02-runtime-shims && curl -fsSL https://raw.githubusercontent.com/codeaashu/claude-code/HEAD/prompts/02-runtime-shims.md -o ~/.claude/skills/codeaashu-claude-code-02-runtime-shims/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11