openspec-apply-change

Implements tasks from an OpenSpec change with slice-based acceptance gates.

Updated Jun 26, 2026
One-click install
npx skills add https://github.com/pavelvdo/universal-xml-exchange2 --skill openspec-apply-change-pavelvdo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openspec-apply-change
Source: https://github.com/pavelvdo/universal-xml-exchange2/tree/main/.cursor/skills/openspec-apply-change
Command: npx skills add https://github.com/pavelvdo/universal-xml-exchange2 --skill openspec-apply-change-pavelvdo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It turns an approved OpenSpec change proposal into working code by executing tasks in controlled slices, pausing for manual acceptance after each slice instead of dumping unreviewed changes. ## Core Features & Use Cases - Slice-based implementation: Executes tasks grouped into vertical slices with mandatory acceptance gates, slice-gate decision logging in debug.md, and resume support after session breaks. - Agent delegation: Routes BSL code and form-module tasks to writer and reviewer subagents, enforces comment-marker metadata, and blocks raw edits to Form.xml and Template.xml. - Verification and reporting: Runs pre-apply and per-slice verification, maintains a code-truth journal, and generates code-map and handoff reports per slice. - Use Case: A 1C developer opens a change request, runs the apply workflow, and the assistant implements slice S1, pauses for acceptance in the database, then proceeds to S2 only after approval. ## Quick Start Ask the assistant to apply the OpenSpec change named my-feature and confirm each slice as it is presented for acceptance.

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?

Run the apply workflow with a change name, or let it infer the change from context. It reads tasks.md, executes tasks slice by slice, and pauses at each slice gate for your manual acceptance before continuing.

How do I resume an interrupted OpenSpec apply session?

Re-run apply with the same change name. The skill checks debug.md for slices awaiting acceptance, asks for your verdict (accepted, rejected, or defect in a previous slice), and continues from the correct position.

Does openspec apply work without the openspec CLI?

No. The skill requires the openspec CLI to query change status and retrieve apply instructions via commands like openspec status and openspec instructions apply. Install the CLI before using this workflow.

Can the apply skill edit 1C form XML files directly?

No. Raw edits to Form.xml and Template.xml are forbidden. Form changes either follow manual Configurator instructions with a wait step, or use an assisted compile skill when the mode gate allows it.

What happens when a slice fails acceptance during apply?

For a rejected slice, fix tasks are added inside that slice before its acceptance task. If the defect belongs to an already-accepted slice, a new fix slice is created instead of reopening the frozen one.