Git Worktrees
技能 活跃Use when working on multiple branches simultaneously, context switching without stashing, reviewing PRs while developing, testing in isolation, or comparing implementations across branches - provides git worktree commands and workflow patterns for parallel development with multiple working directories.
Streamline parallel development workflows by enabling efficient management of multiple Git worktrees, reducing the need for stashing or separate clones.
功能
- Create Git worktrees for existing or new branches
- Manage multiple worktrees with a single repository
- Switch contexts by changing directories, not branches
- Compare files and directories across worktrees
- Integrate with common Git branching strategies
使用场景
- Working on multiple branches simultaneously without stashing
- Reviewing pull requests while actively developing
- Testing code changes in isolation on different branches
- Comparing different implementations or versions of code side-by-side
非目标
- Replacing Git itself
- Automating complex code merging beyond standard Git operations
- Managing non-Git-related development workflows
先决条件
- Git installed and available in PATH
- A clean working directory for some operations
Versioning
- warning:Release ManagementWhile the repository has recent commits, there is no clear versioning signal like a manifest version or GitHub release tags, and installation instructions may reference 'main'.
Install
- warning:Installation instructionWhile installation via `claudeCode` and `npx skills add` is provided, the README lacks specific invocation examples for the core commands, and authentication steps are not applicable as it relies on local Git.
Practical Utility
- warning:Usage examplesWhile the SKILL.md and README demonstrate commands, they lack end-to-end examples showing input, exact invocation, and observable outcome for complex workflows.
安装
请先添加 Marketplace
/plugin marketplace add NeoLabHQ/context-engineering-kit/plugin install git@context-engineering-kit质量评分
类似扩展
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Sync Profiles
100用于在用户想要列出、创建、切换、删除、比较或检查配置同步配置文件时使用。
Using Git Worktrees
100在开始需要与当前工作区隔离的功能性工作,或在执行实现计划之前使用 - 通过原生工具或 git worktree 回退确保存在隔离的工作区。
Unslop Commit
100重写提交消息,使其听起来像一个严谨的程序员编写的。去除 AI/营销术语(“全面的解决方案”、“健壮的实现”、“利用”、“增强”、“无缝地”、“此提交...”)。保留 Conventional Commits 格式。主题 ≤72 个字符(目标 ≤50),祈使语气。仅当“为什么”在主题中不明显时才写正文。在用户说“人性化提交”、“去营销术语化提交消息”、“让这个提交听起来像人话”、“/unslop-commit”、“/commit”、“写一个提交”或粘贴草稿提交以供清理时使用。暂存更改时自动触发。
Rule Effectiveness Analysis
100Analyze which rules are actively used vs inert. Detect coverage gaps. Recommend pruning to reduce token consumption.
Mcp Source
100切换已连接 Unity 项目中的 MCP for Unity 包源。使用 /mcp-source [main|beta|branch|local] 在上游发行版、远程分支或本地开发检出之间进行切换。