Files
davila7--claude-code-templates/dashboard/public/component-content/hooks/development-tools/worktree-ghostty.json
T
wehub-resource-sync bb5c75ce05
Component Security Validation / Security Audit (push) Has been cancelled
Deploy to Cloudflare Pages / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:38:58 +08:00

1 line
1006 B
JSON

{"content": "{\n \"description\": \"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.\",\n \"hooks\": {\n \"WorktreeCreate\": [\n {\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"bash \\\"$CLAUDE_PROJECT_DIR\\\"/.claude/hooks/worktree-ghostty.sh\",\n \"timeout\": 30\n }\n ]\n }\n ],\n \"WorktreeRemove\": [\n {\n \"hooks\": [\n {\n \"type\": \"command\",\n \"command\": \"bash \\\"$CLAUDE_PROJECT_DIR\\\"/.claude/hooks/worktree-ghostty.sh\",\n \"timeout\": 15\n }\n ]\n }\n ]\n }\n}\n"}