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.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
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.
targets
["*"]
Continue working on a change by creating the next artifact.
Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.
Steps
If no change name provided, prompt for selection
Run openspec list --json to get available changes sorted by most recently modified. Then use the AskUserQuestion tool to let the user select which change to work on.
Present the top 3-4 most recently modified changes as options, showing:
Change name
Schema (from schema field if present, otherwise "spec-driven")
Status (e.g., "0/5 tasks", "complete", "no tasks")
How recently it was modified (from lastModified field)
Mark the most recently modified change as "(Recommended)" since it's likely what the user wants to continue.
IMPORTANT: Do NOT guess or auto-select a change. Always let the user choose.
Check current status
openspec status --change "<name>" --json
Parse the JSON to understand current state. The response includes:
schemaName: The workflow schema being used (e.g., "spec-driven")
artifacts: Array of artifacts with their status ("done", "ready", "blocked")
isComplete: Boolean indicating if all artifacts are complete
Act based on status:
If all artifacts are complete (isComplete: true):
Congratulate the user
Show final status including the schema used
Suggest: "All artifacts created! You can now implement this change or archive it."
STOP
If artifacts are ready to create (status shows artifacts with status: "ready"):
Pick the FIRST artifact with status: "ready" from the status output