‹ 首页

dev-project-session-manager

@evolution-foundation · 收录于 5 天前 · 上游提交 2 个月前

Worktree-first development environment — create per-issue or per-PR git worktrees, optionally with tmux sessions, so multiple work streams don't collide.

适合你,如果同时处理多个分支或 PR,需要隔离工作环境

/ 通过 npx 安装 校验哈希
npx oh-my-skill add evolution-foundation/evo-nexus/dev-project-session-manager
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- evolution-foundation/evo-nexus/dev-project-session-manager
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify evolution-foundation/evo-nexus/dev-project-session-manager
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
509GitHub stars
~441上下文体积 · 单文件
索引托管

怎么用

商店整理自技能原文 · 版本 7f5dd76 · 表述以原文为准
它做什么

当用户需要处理多个并行分支时,Claude 自动为每个 issue 或 PR 创建独立的 git 工作树,并可启动 tmux 会话,避免文件冲突。

什么时候触发

当需要同时处理两个以上修改相同文件的分支、频繁切换上下文、或运行长时间实验不想干扰主分支时触发。

装好后可以这样说
创建基于 issue 的工作树。
创建基于 PR 的工作树。
显示当前工作树列表。
技能原文 SKILL.md作者撰写 · Apache-2.0 · 7f5dd76

Dev Project Session Manager

Derived from oh-my-claudecode (MIT, Yeachan Heo). Adapted for the EvoNexus Engineering Layer.

Worktree-first development. Create per-issue or per-PR git worktrees so multiple work streams (different bugs, different features) don't collide on the same checkout.

Use When
  • Working on 2+ parallel branches that touch the same files
  • Switching contexts often (review a PR while your own work is in progress)
  • Long-running experiments that you don't want to disturb your main checkout
Do Not Use When
  • Single feature, single branch
  • Project doesn't use git
  • Disk space is tight (worktrees duplicate the working tree)
Workflow
Create
# Per issue
git worktree add ../{repo}-issue-123 -b issue/123-fix-auth

# Per PR (review)
git worktree add ../{repo}-pr-456 origin/feature/foo

# Per experiment
git worktree add ../{repo}-experiment-perf -b experiment/perf
Optional: tmux session per worktree
tmux new-session -d -s {repo}-issue-123 -c ../{repo}-issue-123
List
git worktree list
Remove
git worktree remove ../{repo}-issue-123
git branch -d issue/123-fix-auth  # if merged
Naming Convention
  • {repo}-issue-{N} — issue work
  • {repo}-pr-{N} — PR review
  • {repo}-experiment-{name} — experiments
  • {repo}-hotfix-{name} — urgent fixes
Output

Save the active worktree map to workspace/development/research/[C]worktrees-{date}.md:

## Active Worktrees — {date}

| Path | Branch | Purpose | tmux session |
|---|---|---|---|
| ../evo-ai-issue-123 | issue/123 | fix auth bug | evo-ai-issue-123 |
| ../evo-ai-pr-456 | origin/feat/x | review | (none) |
Pairs With
  • @flow-git (when worktrees need rebasing or commit splitting)
  • Any agent that needs to work in isolation
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。