Worktree Ghostty
Hooks development-tools 240
Worktree Ghostty Layout. Opens a 3-panel Ghostty layout when creating worktrees: Claude Code (left) | lazygit (top-right) / yazi (bottom-right). Creates worktrees in a sibling directory (../worktrees/<repo>/<name>/) and cleans up on removal. macOS only. Requires: jq, Ghostty terminal, lazygit, yazi. Ghostty keybindings required: super+d = new_split:right, super+shift+d = new_split:down.
npx claude-code-templates@latest --hook development-tools/worktree-ghostty claude-code — worktree-ghostty
Content
JSON
{
"description": "Worktree Ghostty Layout. Opens a 3-panel Ghostty layout when creating worktrees:..."
"hooks": {
"WorktreeCreate": [1 item]
"WorktreeRemove": [1 item]
}
}