Openspec continue change

From TencentBlueKing/bk-bcs · View interactive version

Openspec continue change is an AI agent skill from the GitHub repository TencentBlueKing/bk-bcs. 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.

How to use this skill

Skill file

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

  1. 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:

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.

  1. Check current status

```bash

openspec status --change "<name>" --json

```

Parse the JSON to understand current state. The response includes:

  1. Act based on status:

If all artifacts are complete (isComplete: true):


If artifacts are ready to create (status shows artifacts with status: "ready"):

```bash

openspec instructions <artifact-id> --change "<name>" --json

```


If no artifacts are ready (all blocked):

  1. After creating an artifact, show progress

```bash

openspec status --change "<name>"

```

Output

After each invocation, show:

Artifact Creation Guidelines

The artifact types and their purpose depend on the schema. Use the instruction field from the instructions output to understand what to create.

Common artifact patterns:

spec-driven schema (proposal → specs → design → tasks):

For other schemas, follow the instruction field from the CLI output.

Guardrails

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.