vibe-continue
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese/vibe-continue - Resume Current Flow
/vibe-continue - Resume Current Flow
/vibe-continueflow核心原则:
- 先读共享真源,再读 。
.agent/context/task.md - 是 handoff,不是共享真源。
.agent/context/task.md - handoff 的维护义务以 为准;发现与现场不一致时必须修正。
docs/standards/handoff-governance-standard.md - 不在 continue 阶段发明不存在的 Shell 修复动作。
Announce at start: "我正在使用 /vibe-continue 技能来恢复当前 flow 的任务上下文。"
The goal of is to restore the context of the task corresponding to the hosted in the current directory, but the restoration order must be "shared facts first, local handoff as supplement", not the other way around.
/vibe-continueflowCore Principles:
- Read the shared source of truth first, then read .
.agent/context/task.md - is a handoff, not a shared source of truth.
.agent/context/task.md - The maintenance obligation of handoff shall follow ; if inconsistencies with the current scene are found, corrections must be made.
docs/standards/handoff-governance-standard.md - Do not invent non-existent Shell repair actions during the continue phase.
Announce at start: "I am using the /vibe-continue skill to restore the task context of the current flow."
Truth Sources
Truth Sources
以下语义以标准为准:
docs/standards/skill-standard.mddocs/standards/command-standard.mddocs/standards/shell-capability-design.mddocs/standards/git-workflow-standard.mddocs/standards/handoff-governance-standard.mddocs/standards/glossary.md
特别约束:
- 不等于
flow、worktree或branch。见workflow。docs/standards/glossary.md - 的读取、写入与修正义务以
.agent/context/task.md为准。docs/standards/handoff-governance-standard.md
The following semantics shall be based on the standards:
docs/standards/skill-standard.mddocs/standards/command-standard.mddocs/standards/shell-capability-design.mddocs/standards/git-workflow-standard.mddocs/standards/handoff-governance-standard.mddocs/standards/glossary.md
Special Constraints:
- is not equivalent to
flow,worktree, orbranch. Refer toworkflow.docs/standards/glossary.md - The obligations for reading, writing, and correcting shall follow
.agent/context/task.md.docs/standards/handoff-governance-standard.md
Command Boundary
Command Boundary
- 负责解释当前现场并给出继续建议。
/vibe-continue - Shell 命令只用于读取共享真源和当前现场的确定性事实。
- /
git可用于补充 branch、dirty、PR 等现场事实。gh - 如果需要某个环境修正动作,必须使用仓库中真实存在且已文档化的入口;不要发明未验证的修复命令。
- is responsible for interpreting the current scene and providing suggestions for continuation.
/vibe-continue - Shell commands are only used to read the shared source of truth and deterministic facts of the current scene.
- /
gitcan be used to supplement on-site facts such as branch, dirty status, PR, etc.gh - If an environment correction action is required, you must use a real, documented entry in the repository; do not invent unvalidated repair commands.
Restore Order
Restore Order
/vibe-continue- 当前 现场(
git、git branch --show-current、必要时git status --short)gh pr view $(git rev-parse --git-common-dir)/vibe/registry.json$(git rev-parse --git-common-dir)/vibe/tasks/<task-id>/task.json- (如果存在,只作兼容期辅助线索)
$(git rev-parse --git-common-dir)/vibe/worktrees.json - (如果存在)
.agent/context/task.md
必要时再补充:
- 当前 branch
git status --short- 当前 PR / review 事实
/vibe-continue- Current scene (
git,git branch --show-current,git status --shortif necessary)gh pr view $(git rev-parse --git-common-dir)/vibe/registry.json$(git rev-parse --git-common-dir)/vibe/tasks/<task-id>/task.json- (if exists, only as a compatibility period auxiliary clue)
$(git rev-parse --git-common-dir)/vibe/worktrees.json - (if exists)
.agent/context/task.md
Supplement with the following if necessary:
- Current branch
git status --short- Current PR / review facts
Workflow
Workflow
Step 1: 识别当前目录承载的 flow 对应 task
Step 1: Identify the task corresponding to the flow hosted in the current directory
优先从 现场、共享 与 task detail 识别:
gitregistry.json- 当前 task
next_stepplan_path- 当前 runtime 绑定事实
- (若存在,它就是
primary_issue_ref的显式落点)task issue
worktrees.jsonregistry.json如果共享真源中无法识别当前 task,不要把 直接抬升成替代真源;它只能作为本地 handoff 线索。
task.mdPrioritize identification from the scene, shared , and task details:
gitregistry.json- Current task
next_stepplan_path- Current runtime binding facts
- (if exists, it is the explicit landing point of the
primary_issue_ref)task issue
If exists, it can only be used as a compatibility period hint, and cannot preempt the current task identification right before .
worktrees.jsonregistry.jsonIf the current task cannot be identified from the shared source of truth, do not directly elevate as an alternative source of truth; it can only be used as a local handoff clue.
task.mdStep 2: 读取本地 handoff
Step 2: Read local handoff
如果 存在,则把它作为以下信息的补充来源:
.agent/context/task.md- 本轮已完成
- 当前判断
- blockers
- 关键文件
若其内容与当前真源或现场不一致,必须在退出前修正 handoff,不能直接沿用旧判断。
如果它缺失,不阻断 continue;只说明当前缺少本地 handoff。
If exists, use it as a supplementary source for the following information:
.agent/context/task.md- Completed items in this round
- Current judgments
- Blockers
- Key files
If its content is inconsistent with the current source of truth or scene, you must correct the handoff before exiting, and cannot directly use the old judgment.
If it is missing, it does not block the continue process; it only indicates that there is no local handoff currently.
Step 3: 交叉核对当前现场
Step 3: Cross-check the current scene
用确定性事实补全当前视图,例如:
- 当前 branch
- dirty / clean
- 当前 PR 状态
continue 阶段可以报告不一致,但不要把查询命令说成“自动对齐”,也不要调用未验证的隐式修复动作。
Complete the current view with deterministic facts, such as:
- Current branch
- dirty / clean status
- Current PR status
During the continue phase, you can report inconsistencies, but do not refer to query commands as "auto-alignment", and do not call unvalidated implicit repair actions.
Step 4: 给出继续建议
Step 4: Provide continuation suggestions
建议优先级如下:
- 如果 存在,优先建议按计划继续。
plan_path - 如果只有 ,则建议按当前 task 的下一步继续。
next_step - 如果只有本地 handoff,则把它明确标注为本地补充线索,而不是共享事实。
task.md
The priority of suggestions is as follows:
- If exists, prioritize suggesting to continue according to the plan.
plan_path - If only exists, suggest continuing with the next step of the current task.
next_step - If only the local handoff exists, clearly mark it as a local supplementary clue, not a shared fact.
task.md
Suggested Output
Suggested Output
📋 Session Resume
📁 Current Scene
• worktree: <worktree>
• branch: <branch>
• state: dirty|clean
📌 Current Task
• task: <task-id>
• next step: <next-step>
• plan: <plan-path|none>
📝 Local Handoff
• task.md: present|missing
• blockers: <summary>
💡 Suggested Action
• continue with <plan-path|next-step>📋 Session Resume
📁 Current Scene
• worktree: <worktree>
• branch: <branch>
• state: dirty|clean
📌 Current Task
• task: <task-id>
• next step: <next-step>
• plan: <plan-path|none>
📝 Local Handoff
• task.md: present|missing
• blockers: <summary>
💡 Suggested Action
• continue with <plan-path|next-step>Design Decisions
Design Decisions
- continue 先恢复共享事实,再读取本地 handoff。
- 的作用是补充解释,不是代替真源。
task.md - continue 报告现场差异,但不发明未验证的自动修复动作。
- The continue process restores shared facts first, then reads the local handoff.
- The role of is to provide supplementary explanations, not to replace the source of truth.
task.md - The continue phase reports scene differences, but does not invent unvalidated automatic repair actions.