Skip to main content
prompt GP ChatGPT

14-dev-runner — Claude Code prompt: what it does, how to install

The 14-dev-runner prompt configures a development runner for Claude Code to execute TypeScript directly with Bun. It eliminates the need for full production builds during iterative work.

no license ★ 3,444 updated 2026-10-14

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/14-dev-runner.md
Open on GitHub

What 14-dev-runner does

The instructions walk through setting up a fast development launcher using Bun's native TypeScript support. It creates scripts/dev.ts and wires up dev, dev:repl, and start inside package.json. That way, the CLI starts instantly without waiting for a compilation pass.

A central hurdle is resolving the bun:bundle import during development. The prompt directs the agent to test a bunfig.toml path alias, a custom loader plugin, or a temporary transform step. It also configures .env loading and adds a dev:debug script powered by CLAUDE_CODE_DEBUG_LOG_LEVEL=debug.

Without pre-installed runtime shims and Bun itself in /workspaces/claude-code, the dev runner will break on import errors. Testing involves running --version, --help, and a test prompt using ANTHROPIC_API_KEY.

What it helps with

  • run TypeScript CLI files directly via Bun without bundling
  • resolve bun:bundle imports during local development
  • configure dev and dev:debug commands in package.json
  • verify CLI flags and environment variables against Anthropic API

Example prompts for the agent

  • Execute .claude/commands/14-dev-runner.md to set up our Bun development launcher
  • Follow /14-dev-runner to create scripts/dev.ts and configure the module alias

How to install 14-dev-runner

Manually: put the files in place

.claude/commands/14-dev-runner.md

Questions about 14-dev-runner

How to install 14-dev-runner in Claude Code?

Place the prompt file at .claude/commands/14-dev-runner.md. You can then trigger it as a slash command within Claude Code.

What does 14-dev-runner do?

It sets up an executable dev runner using Bun to launch the CLI without full builds. It handles module shims, sets up npm scripts, and validates startup flags.

What dependencies are required beforehand?

The workspace requires Bun installed alongside runtime shims for MACRO and bun:bundle. You also need an ANTHROPIC_API_KEY defined in .env.

Similar prompts

All prompts for Agent setup: memory, context, orchestration →

From the same set17

The whole set →
10-context-and-prompts 10-context-and-prompts takes the agent through the CLI prompt layer: reads the builder, repairs context collection on Linux, connects memory from CLAUDE.md. The last step is a script that prints the finished prompt. GP ChatGPT ★ 3,444repo stars 05-env-and-auth 05-env-and-auth sets up environment variables and tests API connectivity in claude-code workspaces. Creates a documented .env.example and builds a test script for Bun. GP ChatGPT ★ 3,444repo stars 07-tool-system 07-tool-system is a Claude Code prompt for auditing the CLI tool interface, registry, and imports. It also asks for a smoke test that loads the available tools. GP ChatGPT ★ 3,444repo stars 06-ink-react-terminal-ui 06-ink-react-terminal-ui — a Claude prompt that follows the React + Ink render path in the claude-code repo, checks the components and theme, and ends with a working terminal render test. GP ChatGPT ★ 3,444repo stars 09-query-engine The 09-query-engine prompt guides an architecture review of QueryEngine and a basic conversation test against the Anthropic API. Use it to trace requests, streaming events, and tool calls. GP ChatGPT ★ 3,444repo stars 12-services-layer 12-services-layer — a prompt that configures Claude Code CLI background services: analytics, policy limits, remote settings, session memory, and bootstrap data. GP ChatGPT ★ 3,444repo stars 02-runtime-shims 02-runtime-shims is a Claude Code prompt that creates runtime shims for bun:bundle flags and MACRO globals to run CLI source without Bun. GP ChatGPT ★ 3,444repo stars 03-build-config The 03-build-config prompt guides Claude Code through setting up an esbuild build for a TypeScript and TSX CLI. Use it to produce dist/cli.mjs for Bun or Node.js 20+. GP ChatGPT ★ 3,444repo stars

Project sponsors

Companies that keep this analytics open