jean-tui is an AI-powered terminal interface for managing Git worktrees. It simplifies branch and worktree management with a keyboard-driven UI. Connects to Claude Code for AI assistance, integrates with tmux, and is written in Go.
git clone https://github.com/coollabsio/jean-tui.gitjean-tui is an AI-powered terminal interface for managing Git worktrees. It simplifies branch and worktree management with a keyboard-driven UI. Connects to Claude Code for AI assistance, integrates with tmux, and is written in Go.
[{"step":"Install and initialize jean-tui","action":"Install jean-tui via your package manager (e.g., `brew install jean-tui` or `go install github.com/your-repo/jean-tui@latest`). Initialize it in your Git project by running `jean-tui init` in the project root. Ensure your Git repository is clean (no uncommitted changes) before proceeding.","tip":"Run `jean-tui --version` to verify installation. If using tmux, ensure it’s running (`tmux ls`) to enable seamless pane switching."},{"step":"List and inspect worktrees","action":"Launch jean-tui in your project directory (`jean-tui`). Use the arrow keys to navigate between worktrees. Press `Enter` to select a worktree and view its details (latest commits, active sessions, and file changes).","tip":"Press `?` to see all available keyboard shortcuts. Use `j`/`k` to scroll through the list quickly."},{"step":"Perform actions on worktrees","action":"Highlight a worktree and press `d` to delete it, `c` to checkout a branch into a new worktree, or `p` to prune stale worktrees. Confirm actions with `y` when prompted.","tip":"For bulk actions, use `jean-tui prune` in the terminal to remove all stale worktrees at once."},{"step":"Integrate with your workflow","action":"Use jean-tui in tandem with tmux to manage worktrees across panes. For example, open jean-tui in one pane and a terminal in another to run Git commands. Connect to Claude Code for AI assistance by running `claude` in a tmux pane while jean-tui is active.","tip":"Bind jean-tui to a tmux key (e.g., `bind-key t run-shell 'jean-tui'`) for quick access."},{"step":"Generate reports or automate tasks","action":"Use the `--json` flag (e.g., `jean-tui --json list`) to output worktree data in JSON format. Pipe this to a script or Claude Code for further analysis, such as identifying unused branches or generating cleanup reports.","tip":"Combine with `jq` to filter output: `jean-tui --json list | jq '.[] | select(.lastActivity < \"2024-05-01\")'`"}]
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/coollabsio/jean-tuiCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use jean-tui to manage Git worktrees for [PROJECT_NAME]. List all existing worktrees, identify any that are stale or unused, and suggest cleanup actions. For each active worktree, summarize the latest commits and open changes. If a worktree needs attention, use jean-tui to [ACTION: e.g., prune, checkout, or delete it]. Finally, create a new worktree for [BRANCH_NAME] in [DIRECTORY_PATH] with a descriptive comment.
### Jean-Tui Worktree Management Report **Project:** `acme-crm` **Date:** 2024-05-20 #### Current Worktrees 1. **main** (~/dev/acme-crm/main) - Latest commit: `feat: add user authentication (a1b2c3d)` by Alice (2024-05-19) - Status: Clean, no changes - Active sessions: 1 (tmux pane in session `dev`) 2. **feature/login-redesign** (~/dev/acme-crm/login-redesign) - Latest commit: `fix: resolve OAuth token leak (e4f5g6h)` by Bob (2024-05-18) - Status: 3 unstaged changes (login.html, auth.js) - Active sessions: 2 (tmux pane in session `dev`, VS Code workspace) 3. **bugfix/2345-checkout-failure** (~/dev/acme-crm/bugfix-2345) - Latest commit: `fix: resolve checkout edge case (i7j8k9l)` by Carol (2024-05-15) - Status: Merged into main, stale (no activity for 5+ days) - Active sessions: 0 #### Recommended Actions - **Prune stale worktree:** The `bugfix/2345-checkout-failure` worktree hasn’t been used in 5 days. Run `jean-tui prune` to remove it. - **Review changes:** The `feature/login-redesign` worktree has unstaged changes. Open it in VS Code to review or stage them. - **Create new worktree:** Add a worktree for `feature/payment-integration` in `~/dev/acme-crm/payments` with the comment "Add Stripe integration for checkout flow." #### Next Steps 1. Open jean-tui (`jean-tui`) and select the `bugfix/2345-checkout-failure` worktree. 2. Press `d` to delete it, then confirm with `y`. 3. Switch to `feature/login-redesign` (press `Enter` on it) and stage the changes with `git add .`. 4. Create the new `feature/payment-integration` worktree by selecting the `+` option in jean-tui and entering the branch name and directory.
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
ITIL-aligned IT service management platform
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan