Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
日本語の概要は準備中です。原文の説明を表示しています。
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
在实验性工作流中归档已完成的变更。
输入:可选指定变更名称。如果省略,先判断是否可从对话上下文推断;若含糊或不明确,必须提示可用的变更。
步骤
如果未提供变更名称,提示进行选择
运行 openspec list --json 获取可用变更。使用 AskUserQuestion 工具 让用户选择。
仅显示活动中的变更(未归档)。 如可用,包含每个变更使用的 schema。
重要:不要猜测或自动选择变更。始终让用户选择。
检查工件完成状态
运行 openspec status --change "<name>" --json 检查工件完成情况。
解析 JSON 以了解:
schemaName:正在使用的工作流artifacts:工件列表及其状态(done 或其他)如果存在未完成工件:
检查任务完成状态
读取任务文件(通常为 tasks.md)以检查未完成任务。
统计 - [ ](未完成)与 - [x](完成)。
如果存在未完成任务:
如果没有任务文件: 跳过任务相关警告。
评估 delta 规范同步状态
检查 openspec/changes/<name>/specs/ 下是否存在 delta 规范。若不存在,则无需提示同步。
如果存在 delta 规范:
openspec/specs/<capability>/spec.md 进行比较提示选项:
如果用户选择同步,执行 /opsx:sync 逻辑(使用 openspec-sync-specs skill)。无论选择如何,继续归档。
执行归档
若归档目录不存在,则创建:
mkdir -p openspec/changes/archive
使用当前日期生成目标名称:YYYY-MM-DD-<change-name>
检查目标是否已存在:
mv openspec/changes/<name> openspec/changes/archive/YYYY-MM-DD-<name>
显示摘要
显示归档完成摘要,包括:
成功输出
## 归档完成
**变更:** <change-name>
**Schema:** <schema-name>
**归档到:** openspec/changes/archive/YYYY-MM-DD-<name>/
**规范:** ✓ 已同步到主规范(或 "无 delta 规范" 或 "跳过同步")
所有工件完成。所有任务完成。
护栏
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
日本語の概要は準備中です。原文の説明を表示しています。
Archive multiple completed changes at once. Use when archiving several parallel changes.
日本語の概要は準備中です。原文の説明を表示しています。
Continue working on an OpenSpec change by creating the next artifact. Use when the user wants to progress their change, create the next artifact, or continue their workflow.
日本語の概要は準備中です。原文の説明を表示しています。
Enter explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements. Use when the user wants to think through something before or during a change.
日本語の概要は準備中です。原文の説明を表示しています。
Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.
日本語の概要は準備中です。原文の説明を表示しています。
Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.
日本語の概要は準備中です。原文の説明を表示しています。