Auto-sync: 2026-04-22 12:02

This commit is contained in:
2026-04-22 12:02:55 +08:00
parent 143d1fd105
commit b1e6af2458
54 changed files with 2882 additions and 503 deletions

View File

@@ -0,0 +1,31 @@
---
title: "Build Mode"
type: concept
tags: [opencode, workflow, implementation]
sources: [如何在ubuntu上安装opencode并配置vibe-kanban]
last_updated: 2026-04-22
---
## Definition
**Build Mode**(构建模式)是 OpenCode 的双模式工作流之一。通过 Tab 键从 Plan 模式切换回来,执行实际的代码修改和文件写入。
## Mechanism
- 从 Plan 模式按 Tab 键切换回 Build 模式
- AI 获得完整的文件写入权限
- 执行 Plan 阶段生成的实现方案
- 支持 `/undo` 撤销最近的修改,`/redo` 重做
## Build Workflow
1. **Plan 阶段**描述需求AI 生成实现方案
2. **Review 阶段**:审阅方案,补充上下文和示例
3. **Build 阶段**Tab 切换,执行 `Sounds good! Go ahead and make the changes.`
4. **Iterate 阶段**:如需调整,用 `/undo` 回退后重新 Plan
## Related Concepts
- [[Plan Mode]] — Build 模式的前置阶段,生成实现方案
- [[OpenCode]] — 提供 Plan/Build 双模式的核心工具
- [[Vibe Coding]] — AI 辅助编程的工作流理念