openspec-continue-change
Advances OpenSpec change processes by systematically generating project artifacts.
Install
mkdir -p .claude/skills/openspec-continue-change && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/822" && unzip -o skill.zip -d .claude/skills/openspec-continue-change && rm skill.zipInstalls to .claude/skills/openspec-continue-change
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
通过创建下一个产出物继续处理 OpenSpec 变更。当用户想要推进其变更、创建下一个产出物或继续其工作流程时使用。Key capabilities
- →List available OpenSpec changes
- →Check the status of a specific OpenSpec change
- →Generate a new artifact file based on a schema template
- →Read existing artifact files for context
- →Display current progress of a change
- →Provide instructions for artifact creation
How it works
The skill lists available OpenSpec changes, prompts the user to select one if not provided, and then checks its current status. Based on the status, it either congratulates the user if complete, creates a ready artifact using schema-defined instructions and templates, or suggests checking for issues if no artifacts are
Inputs & outputs
When to use openspec-continue-change
- →Proceed with the next step in a specification process
- →Generate project documentation from specs
- →Check the completion status of a specification task
About this skill
通过创建下一个产出物继续处理变更。
输入:可选指定变更名称。如果省略,检查是否可以从对话上下文中推断。如果模糊或不明确,你必须提示获取可用变更。
步骤
-
如果没有提供变更名称,提示选择
运行
openspec-cn list --json获取按最近修改排序的可用变更。然后使用 AskUserQuestion tool 让用户选择要处理哪个变更。展示前 3-4 个最近修改的变更作为选项,显示:
- 变更名称
- Schema(如果存在
schema字段,否则为 "spec-driven") - 状态(例如:"0/5 tasks", "complete", "no tasks")
- 最近修改时间(来自
lastModified字段)
将最近修改的变更标记为 "(推荐)",因为它很可能是用户想要继续的。
重要提示:不要猜测或自动选择变更。始终让用户选择。
-
检查当前状态
openspec-cn status --change "<name>" --json解析 JSON 以了解当前状态。响应包括:
schemaName:正在使用的工作流 schema(例如:"spec-driven")artifacts:产出物数组及其状态("done"、"ready"、"blocked")isComplete:布尔值,表示是否所有产出物都已完成
-
根据状态行动:
如果所有产出物已完成 (
isComplete: true):- 祝贺用户
- 显示最终状态,包括使用的 Schema
- 建议:"所有产出物已创建!您现在可以实现此变更或将其归档。"
- 停止
如果产出物准备好创建(状态显示有
status: "ready"的产出物):- 从状态输出中选择第一个
status: "ready"的产出物 - 获取其指令:
openspec-cn instructions <artifact-id> --change "<name>" --json - 解析 JSON。关键字段包括:
context:项目背景(对你的约束 - 不要包含在输出中)rules:产出物特定规则(对你的约束 - 不要包含在输出中)template:输出文件使用的结构instruction:schema 特定指导outputPath:产出物写入路径dependencies:已完成的依赖产出物(用于读取上下文)
- 创建产出物文件:
- 阅读任何已完成的依赖文件以获取上下文
- 使用
template作为结构 - 填充各个章节 - 在编写时将
context和rules作为约束 - 但不要把它们复制进文件 - 写入指令中指定的 outputPath
- 展示创建了什么,以及现在解锁了什么
- 创建一个产出物后停止
如果没有产出物准备好(全部受阻):
- 在有效的 Schema 下不应发生这种情况
- 显示状态并建议检查问题
-
创建产出物后,显示进度
openspec-cn status --change "<name>"
输出
每次调用后,显示:
- 创建了哪个产出物
- 正在使用的 Schema 工作流
- 当前进度(N/M 完成)
- 现在解锁了哪些产出物
- 提示:"想要继续吗?只需让我继续或告诉我下一步做什么。"
产出物创建指南
产出物类型及其用途取决于 Schema。使用指令输出中的 instruction 字段来了解要创建什么。
常见的产出物模式:
spec-driven schema(proposal → specs → design → tasks):
- proposal.md:如果变更不清楚,先向用户确认。填写“为什么”“什么变化”“能力”“影响”。
- “能力”部分很关键——列出的每个能力都需要一个 spec 文件。
- specs/<capability>/spec.md:为提案“能力”部分列出的每个能力创建一个 spec(使用 capability 名称,而不是 change 名称)。
- design.md:记录技术决策、架构和实现方法。
- tasks.md:把实现拆分为带复选框的任务。
对于其他 schema,遵循 CLI 输出中的 instruction 字段。
护栏
- 每次调用只创建一个产出物
- 创建新产出物前,总是先阅读依赖产出物
- 不要跳过产出物,也不要乱序创建
- 如果上下文不清楚,创建前先询问用户
- 写入后先确认产出物文件存在,再标记进度
- 使用 schema 的产出物顺序,不要假设固定的产出物名称
- 重要:
context和rules是对你的约束,不是文件内容- 不要把
<context>、<rules>、<project_context>块复制进产出物 - 它们用于指导你写作,但绝不能出现在输出中
- 不要把
When not to use it
- →When the user wants to skip artifacts
- →When the user wants to create artifacts out of order
- →When the user wants to guess or automatically select a change
Prerequisites
Limitations
- →Only one artifact can be created per call
- →Context and rules are for guidance and not included in the output file
- →Artifact creation must follow the schema's defined order
How it compares
This skill automates the sequential creation of OpenSpec artifacts based on a defined schema, unlike manual file creation or ad-hoc progress tracking.
Compared to similar skills
openspec-continue-change side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| openspec-continue-change (this skill) | 4 | 6mo | Review | Intermediate |
| notion-knowledge-capture | 10 | 9mo | No flags | Intermediate |
| feishu-doc | 14 | 5mo | No flags | Intermediate |
| kimi-cli-help | 2 | 6mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by studyzy
View all by studyzy →You might also like
notion-knowledge-capture
makenotion
Transforms conversations and discussions into structured documentation pages in Notion. Captures insights, decisions, and knowledge from chat context, formats appropriately, and saves to wikis or databases with proper organization and linking for easy discovery.
feishu-doc
openclaw
Feishu document read/write operations. Activate when user mentions Feishu docs, cloud docs, or docx links.
kimi-cli-help
MoonshotAI
Answer Kimi Code CLI usage, configuration, and troubleshooting questions. Use when user asks about Kimi Code CLI installation, setup, configuration, slash commands, keyboard shortcuts, MCP integration, providers, environment variables, how something works internally, or any questions about Kimi Code CLI itself.
openspec-archive-change
studyzy
归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用。
feishu-perm
m1heng
Feishu permission management for documents and files. Activate when user mentions sharing, permissions, collaborators.
wrap
team-attention
세션 종료 시 자동 정리를 수행합니다. CLAUDE.md 업데이트 제안, 반복 패턴 자동화 기회 탐지, 배운 것 정리, 미완성 작업 정리. 사용자가 /wrap 또는 세션 마무리 요청 시 사용.