Home - aku11i/phantom GitHub Wiki

Phantom Wiki

日本語 | English

Technical Overview

Phantom is a powerful CLI tool for managing Git worktrees with an elegant, developer-friendly interface. Built with TypeScript and modern Node.js, it provides a streamlined workflow for parallel development, making it easy to work on multiple features, bug fixes, and code reviews simultaneously.

Key Technical Features

  • Zero Runtime Dependencies - Lightweight and fast execution
  • TypeScript - Type-safe codebase with modern ES modules
  • Clean Architecture - Separation of concerns with CLI, Core, and Git layers
  • Comprehensive Testing - Unit tests with native Node.js test runner
  • Modern Tooling - esbuild for fast builds, Biome for code quality

Quick Navigation

Getting Started

Architecture

Testing

Development Guides

Deployment

Developer Resources

Technical Requirements

  • Node.js: v22.0.0 or higher
  • Package Manager: pnpm (recommended) or npm
  • Git: Modern version with worktree support

Quick Command Reference

# Install globally
npm install -g @aku11i/phantom

# Create a new phantom (worktree)
phantom create <name> [branch]

# List all phantoms
phantom list

# Execute command in phantom
phantom exec <name> <command>

# Enter phantom shell
phantom shell <name>

# Delete phantom
phantom delete <name>

For detailed documentation, explore the sections above or check out the Quick Start Guide.

⚠️ **GitHub.com Fallback** ⚠️