git-worktree
Installation
SKILL.md
Git Worktree
Overview
This skill allows you to quickly create a new git worktree for the current project. The worktree is created in the same parent directory as the current project's root, following the naming convention PROJECT-NAME-T-BRANCH-NAME.
Workflow
- Verification:
- Verify the current directory is within a Git repository.
- Identify the absolute path of the project's root.
- User Interaction: Proactively suggest values for the required parameters. Ask the user for:
- New branch name: The name of the branch to be created. Suggest a context-aware name (e.g.,
feat-improvementorfix-issue-123based on context. - Base branch: The branch to base the new branch on (Default: the current branch).
- New branch name: The name of the branch to be created. Suggest a context-aware name (e.g.,