Merge Worktree Approvals
Description
Merge the Claude auto-approval permissions from a worktree into the main repo. Worktrees live at `trees/<repo_name>/<worktree_name>` relative to a shared parent. The main repo lives at `<repo_name>` relative to that same parent. The argument `$ARGUMENTS` may be a worktree path. If not provided, use `$PWD`. ## Steps ### 1. Determine paths From the worktree path, derive: - `repo_name` = basename of the worktree's parent directory (i.e. `basename(dirname(worktree_path))`) - `base_dir` = 3 leve
Installation
Installs to ~/.claude/skills/timgent-claude-code-config-merge-worktree-approvals/SKILL.md
mkdir -p ~/.claude/skills/timgent-claude-code-config-merge-worktree-approvals && curl -fsSL https://raw.githubusercontent.com/timgent/claude-code-config/HEAD/commands/merge-worktree-approvals.md -o ~/.claude/skills/timgent-claude-code-config-merge-worktree-approvals/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
Full documentation available on GitHub
View Source RepositoryRelated Skills
使用 Git Worktrees
创建孤立的 Git worktrees,带有智能目录选择与安全验证。
Git Claude skills github
[Building agent skills blog](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-ag
Git #148
, [#161](https://github.com/affaan-m/everything-claude-code/pull/161))
Git GitHub MCP
| Token | Repos, issues, PRs, workflows |
Git GitHub MCP Server
Official first-party server to read repos, manage issues/PRs, and automate workflows.
Git mcp-server-github
GitHub API integration for repos, issues, PRs.
Git