handoff
它能做什么
这个工具会把你完成的成果发送到另一个地方,方便你继续使用。它还会记录成果被发送到了哪里。
适用场景
- ✓当你想把代码发送到自己的电脑上时。
- ✓当你想把作品发布到网站上时。
- ✓当你想把成果交给另一个代码程序处理时。
技能链接
https://github.com/nexu-io/open-design/blob/main/plugins/_official/atoms/handoff/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把这份代码发送到我的电脑上。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会把你确认过的成果发送到你选定的位置,并在该成果的历史记录中注明发送的去向。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Handoff
Spec §11.5.1 / §21.5: an OD run isn't done when the artifact
exists — it's done when the artifact reaches the surface the user
will keep iterating on. This atom is the "push it somewhere"
stage. It's the natural counterpart to diff-review.
Inputs
- The accepted artifact set (after
diff-reviewresolved withdecision: 'accept' | 'partial'). - The export target (one of the
surfaceenum values fromArtifactManifest.exportTargets[].surface).
Surfaces
| surface | typical follow-on |
|---|---|
cli |
the user runs od files read against the project; no extra push |
desktop |
open the project in the OD desktop app |
web |
publish to the public marketplace via spec §13's od:// deep link |
docker |
wrap the artifact into a self-contained container (calls the §15.4 image) |
github |
open a PR via od plugin publish --to <catalog> |
figma |
round-trip back into the figma-migration source file |
code-agent |
hand off to Cursor / Claude Code / Codex sitting on top of the project cwd |
Output
Updates ArtifactManifest.exportTargets[] with a row per push,
appending — never replacing — so the artifact's distribution
history stays append-only.
Convergence
The atom completes when at least one exportTargets[] entry
matches the user's intent or the user explicitly skipped via the
confirmation GenUI surface.
Anti-patterns the prompt fragment forbids
- Pushing the artifact to a surface that wasn't on the user's intent list.
- Mutating
sourcePluginSnapshotId(it's immutable; the export trail is additive). - Treating
figmaas a no-op when the user's source was a Figma file — round-trip is the whole point of the figma-migration scenario.
Status
Implemented by the daemon runner in
apps/daemon/src/plugins/atoms/handoff.ts. It records provenance,
handoffKind, and export targets, then persists the updated artifact
manifest.
常见问题
什么是“artifact”(成果物)?
可以把 artifact 理解为你工作的最终产出,比如可以直接使用的代码或设计稿。
“导出目标”(export target)是什么意思?
导出目标就是你想把成果发送到的地方,比如你的电脑、一个网站,或者另一个程序。
为什么历史记录很重要?
历史记录会显示你的成果曾被发送到过的所有地方,让你清楚每个版本的来源和去向。
详情
作者的原始描述
Push the run's accepted artifact to a downstream collaboration surface (cli, other code agents, cloud, desktop) and stamp the artifact manifest with the export target.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #986
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …