Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
使用实验性驱动工件的方法开始新变更。
输入:用户的请求应包含变更名称(kebab-case)或他们想要构建的内容的描述。
步骤
如果未提供明确的输入,询问他们想要构建什么
使用 AskUserQuestion 工具(开放式,无预设选项)询问:
"您想要进行什么变更?描述您想要构建或修复的内容。"
从他们的描述中,派生一个 kebab-case 名称(例如,"add user authentication" → add-user-auth)。
重要:在了解用户想要构建什么之前,请勿继续。
确定工作流 schema
除非用户明确要求使用其他工作流,否则使用默认 schema(省略 --schema)。
只有当用户提到以下内容时才使用其他 schema:
--schema tdd--schema <name>openspec schemas --json 并让他们选择否则:省略 --schema 以使用默认值。
创建变更目录
openspec new change "<name>"
只有当用户请求特定工作流时才添加 --schema <name>。
这将在 openspec/changes/<name>/ 处创建脚手架变更,并使用所选 schema。
显示工件状态
openspec status --change "<name>"
这显示需要创建哪些工件以及哪些工件已准备就绪(依赖项已满足)。
获取第一个工件的说明
第一个工件取决于 schema(例如,spec-driven 为 proposal,tdd 为 spec)。
查看 status 输出,找到状态为 "ready" 的第一个工件。
openspec instructions <first-artifact-id> --change "<name>"
这将输出用于创建第一个工件的模板和上下文。
停止并等待用户指示
输出
完成步骤后,总结:
护栏
--schema还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
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.
中文简介正在准备中。当前显示原文说明。
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.
中文简介正在准备中。当前显示原文说明。