What problem does it solve?
It helps you replace the Node.js-based CLI toolchain of gemini-cli (npm/npx/tsx/cross-env/vitest, plus SEA, lockfile, and Docker sandbox) with Bun runtime equivalents so your project builds and runs cleanly under Bun.
Core Features & Use Cases
- Migrates CLI execution paths: rewrites root
package.json scripts (node/npm/npx/tsx/cross-env) to Bun commands and updates related tooling entrypoints.
- Covers monorepo/workspaces: validates and preserves Bun-compatible workspaces behavior and dependency installation via
bun install/filters.
- Modernizes test and distribution strategy: moves vitest tests toward
bun:test patterns and replaces Node SEA with bun build --compile, then updates sandbox Docker build steps.
- Handles operational edge constraints: explicitly keeps
packages/vscode-ide-companion on Node to avoid breaking the VSCode extension runtime.
Quick Start
Tell the AI to migrate the CLI toolchain for the gemini-cli target: run n2b on tests/targets/gemini-cli with the provided ignore rules, then execute the skill migration workflow to rewrite scripts, swap test strategy, replace SEA, and update sandbox Docker accordingly.