gemini-cli-cli

Community

Migrate gemini-cli CLI to Bun in one run

Authoraphrody-code
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gemini-cli-cli
Download link: https://github.com/aphrody-code/n2b/archive/main.zip#gemini-cli-cli

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.