using-git-worktrees
(中文)Using Git Worktrees
Overview
Git worktrees create isolated workspaces sharing the same repository, allowing work on multiple branches simultaneously without switching.
Core principle: Systematic directory selection + safety verification = reliable isolation.
Announce at start: "I'm using the using-git-worktrees skill to set up an isolated workspace."
Directory Selection Process
Follow this priority order:
1. Check Existing Directories
# Check in priority order
ls -d .worktrees 2>/dev/null # Preferred (hidden)
More from jackiexiao/jackie-skills-dev
verification-before-completion
(中文)Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
9systematic-debugging
(中文)Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
8requesting-code-review
(中文)Use when completing tasks, implementing major features, or before merging to verify work meets requirements
8receiving-code-review
(中文)Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation
8test-driven-development
(中文)Use when implementing any feature or bugfix, before writing implementation code
8vercel-react-best-practices
Vercel Engineering的React和Next.js性能优化指南。在编写、审阅或重构React/Next.js代码时应使用此技能,以确保最佳性能模式。触发涉及React组件、Next.js页面、数据获取、捆绑优化或性能改进的任务。
8