openspec-apply-change

Implement tasks from an OpenSpec change using the openspec CLI.

1|Updated Apr 9, 2025
One-click install
npx skills add https://github.com/tbdavid2019/stockbot --skill openspec-apply-change-tbdavid2019
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: openspec-apply-change
Source: https://github.com/tbdavid2019/stockbot/tree/main/.opencode/skills/openspec-apply-change
Command: npx skills add https://github.com/tbdavid2019/stockbot --skill openspec-apply-change-tbdavid2019

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It turns an OpenSpec change's task list into actual code changes by guiding the AI through selecting the change, reading its context files, and checking off tasks one by one. ## Core Features & Use Cases - Change selection and status tracking: Resolves the target change from user input or context, then reads schema, progress, and task state via openspec status and openspec instructions apply. - Guided task implementation loop: Reads the change's context files (proposal, specs, design, tasks), implements each pending task, and marks it complete in the tasks file. - Guardrails and pause handling: Stops on ambiguity, design issues, scope creep, or errors, and reports structured progress output on completion or pause. - Use Case: After drafting an OpenSpec change for a new feature, ask the AI to apply it; it will work through every task, update the checkboxes, and suggest archiving when done. ## Quick Start Ask the AI to implement the tasks from your OpenSpec change, optionally naming the change, for example by saying apply the add-auth change.

Frequently Asked Questions about openspec-apply-change

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement tasks from an OpenSpec change?▼

Invoke the apply workflow with a change name, or let it infer one from context. It runs openspec status and openspec instructions apply to load the task list and context files, then implements each pending task and marks it complete.

What happens if no change name is provided?▼

The skill infers the change from conversation context or auto-selects when only one active change exists. If ambiguous, it runs openspec list --json and asks you to pick one.

Does openspec-apply-change require the openspec CLI?▼

Yes, the openspec CLI is a stated compatibility requirement. All status, instructions, and task operations are executed through openspec commands, optionally scoped with a --store flag.

What does the skill do when a change is blocked or missing artifacts?▼

When the CLI reports a blocked state, it shows the message and suggests creating the missing artifact, either via the continue skill or by running openspec instructions for the next artifact directly.

When does the implementation loop pause instead of continuing?▼

It pauses on unclear tasks, design issues revealed during implementation, errors, user interruption, or any work that goes beyond what the spec describes. It never silently narrows or defers specified behavior.