當使用者的需求是新增多個功能,或判斷使用者的需求適合拆分成多個 feature branch 並行開發時,或是提到 "worktree"、"git worktree"、"多分支開發"、"parallel branches",自動觸發此 Skill。先分析需求並建議 worktree 拆分方案,經使用者確認後執行建立。
$npx -y skills add deancourse/git-worktree-demo --skill git-worktree-designInstalls into the current project.
Run `npx skills use "https://github.com/deancourse/git-worktree-demo" --skill "deancourse/git-worktree-demo/git-worktree-design"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/deancourse/git-worktree-demo" that are relevant to the current task. Run `npx skills add "https://github.com/deancourse/git-worktree-demo"` and select the relevant skills, then follow their instructions.