Pass design specs, handoff prompts, or any other shared artefact between
two parallel Claude Code sessions that are working in different g…
“电商与销售”领域的一个 Skill。已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
完整描述
Pass design specs, handoff prompts, or any other shared artefact between
two parallel Claude Code sessions that are working in different git
worktrees on different branches — without merging the producing branch
to main first. Use when: (1) session A produced design docs / a handoff
prompt / a mockup file on branch X, (2) session B (different cwd /
different worktree, on branch Y branched from main) reports "the file
doesn't exist" or "I can't find the design spec you mentioned",
(3) you want B unblocked NOW without a PR review cycle, (4) both
worktrees are local checkouts of the same repo (share `.git`).
The unblock: `git checkout <producing-branch> -- <paths>` from inside
B's worktree pulls the files in as staged additions, no merge needed.
Also covers the related gitignore-exception trick when the artefact
files are blanket-ignored (e.g., `*.html` in a repo that produces HTML
deliverables but also keeps design mockups under `docs/`).
v1.1.0 (2026-05-26) adds the diagnostic-search variant: when the user
says "execute <path/to/file>" but the file isn't in your worktree, use
`git log --all --oneline --diff-filter=A -- "<path>"` + `git branch -a
--contains <sha>` to find which branch holds it, then `git show
<branch>:<path>` for read-only access without modifying your tree.
v1.2.0 (2026-06-30) adds the clean-PR-extraction variant: to land a
mergeable SUBSET of your work onto main when it sits on a branch SHARED
with an active parallel session (or tangled with DO-NOT-MERGE content),
spin a THROWAWAY worktree off origin/main and `git checkout <shared-branch>
-- <safe paths>` into it — never branch-switch the shared worktree (it
yanks the parallel session's files). Covers the `gh pr merge
--delete-branch` cleanup footgun when main is checked out elsewhere.
v1.3.0 (2026-06-30) adds the cwd-relative-pathspec trap to the
diagnostic-search variant: `git log -- <root-relative-path>` returns
EMPTY when run from a subdir (git pathspecs are cwd-relative), masking a
file that IS committed on your own branch; use `git log --all --name-only
| grep`, `git -C <root>`, `git show <ref>:<path>`, or an absolute-path
Read instead.
Skill 是加载到智能体(如 Claude Code 或 Codex)里的一组指令。就像在手机上安装应用:装一次,智能体就知道怎么做这件事。
它有什么用?
用于“电商与销售”相关工作。发布者的介绍:Pass design specs, handoff prompts, or any other shared artefact between two parallel Claude Code sessions that are working in different git worktrees on dif…
示例请求
“更新商店里的商品描述。”
智能体
已为 Claude Code, Codex, OpenCode 及另外 32 个智能体 准备好命令。
值得信任吗?
5 个 GitHub 星标 · MIT。安装前请先查看来源。
使用情况
最近 30 天,网站和智能体上。
0个书架收藏
0次浏览
0次命令复制
0次网站下载
0次通过应用安装
0次由智能体自行安装
0位活跃用户
实测评分需要 ANG 应用中至少 20 位用户和 50 个任务;目前有 0 位用户、0 个任务。在此之前,强度分根据条目数据估算。