Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
The English summary is being prepared. Showing the original description.
Verify implementation matches change artifacts. Use when the user wants to validate that implementation is complete, correct, and coherent before archiving.
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
验证实现是否与变更工件(specs、tasks、design)一致。
输入:可选指定变更名称。如果省略,先判断是否可从对话上下文推断;若含糊或不明确,必须提示可用的变更。
步骤
如果未提供变更名称,提示进行选择
运行 openspec list --json 以获取可用变更。使用 AskUserQuestion 工具 让用户选择。
显示具有实施任务的变更(存在 tasks 工件)。 如可用,包含每个变更使用的 schema。 将未完成任务的变更标记为“(进行中)”。
重要:不要猜测或自动选择变更。始终让用户选择。
检查状态以了解 schema
openspec status --change "<name>" --json
解析 JSON 以了解:
schemaName:正在使用的工作流(例如 "spec-driven"、"tdd")获取变更目录并加载工件
openspec instructions apply --change "<name>" --json
这会返回变更目录和上下文文件。从 contextFiles 读取所有可用工件。
初始化验证报告结构
创建包含三个维度的报告结构:
每个维度可以有 CRITICAL、WARNING 或 SUGGESTION 问题。
验证完整性
任务完成情况:
- [ ](未完成) vs - [x](完成)规范覆盖:
openspec/changes/<name>/specs/ 中存在增量规范:
验证正确性
需求实现映射:
场景覆盖:
验证一致性
设计遵循:
代码模式一致性:
生成验证报告
Summary Scorecard:
## Verification Report: <change-name>
### Summary
| Dimension | Status |
|--------------|------------------|
| Completeness | X/Y tasks, N reqs|
| Correctness | M/N reqs covered |
| Coherence | Followed/Issues |
Issues by Priority:
CRITICAL (Must fix before archive):
WARNING (Should fix):
SUGGESTION (Nice to fix):
Final Assessment:
Verification Heuristics
Graceful Degradation
Output Format
使用清晰的 Markdown:
file.ts:123No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
The English summary is being prepared. Showing the original description.
Archive a completed change in the experimental workflow. Use when the user wants to finalize and archive a change after implementation is complete.
The English summary is being prepared. Showing the original description.
Archive multiple completed changes at once. Use when archiving several parallel changes.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.
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.
The English summary is being prepared. Showing the original description.