OP

openspec-apply-change

Executes defined changes and tasks from OpenSpec task lists.

Install

mkdir -p .claude/skills/openspec-apply-change-dasheen920624 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15480" && unzip -o skill.zip -d .claude/skills/openspec-apply-change-dasheen920624 && rm skill.zip

Installs to .claude/skills/openspec-apply-change-dasheen920624

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 变更的任务清单实施代码、文档或部署改动。适用于用户要求开始实施、继续实施或完成某个变更。
55 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Implement code changes based on OpenSpec task lists
  • Implement documentation changes based on OpenSpec task lists
  • Implement deployment changes based on OpenSpec task lists
  • Retrieve implementation instructions via CLI
  • Track task completion and overall progress
  • Manage context files required for implementation

How it works

The skill confirms the change name, retrieves implementation instructions and context files using the openspec CLI, then iteratively implements each uncompleted task. It updates task status and reports progress.

Inputs & outputs

You give it
OpenSpec change name or user request to implement a change
You get back
Implemented code/docs/deployment changes, updated task list, and progress report

When to use openspec-apply-change

  • Apply OpenSpec change
  • Complete pending task from list
  • Verify implemented change

About this skill

按 OpenSpec 变更执行任务,直到全部完成或遇到真实阻塞。

输入

用户可以指定变更名;若未指定,先从上下文推断。若存在多个可能变更,运行 openspec list --json 后用中文请用户选择,不要猜。

工作步骤

  1. 确认变更名称,并说明正在使用哪个变更。

  2. 查看 schema 和任务来源:

    openspec status --change "<name>" --json
    
  3. 获取实施指令:

    openspec instructions apply --change "<name>" --json
    
  4. 读取指令中 contextFiles 列出的所有上下文文件。不要假设固定文件名,始终以 CLI 输出为准。

  5. 用中文展示当前进度:schema、已完成任务数、待办摘要和动态实施指令。

  6. 逐项实施未完成任务:

    • 每次只处理一个任务。
    • 改动保持聚焦,优先遵循现有代码模式。
    • 完成后立刻把任务勾选从 - [ ] 改为 - [x]
    • 继续下一项,直到全部完成或被阻塞。

暂停条件

  • 任务含义不清,必须补充业务或技术信息。
  • 实施中发现设计与代码事实冲突,需要更新 OpenSpec 产物。
  • 验证失败且短时间内无法定位根因。
  • 用户明确中断或调整方向。

文档与合并要求

  • 新增或修改文档主体必须使用简体中文。
  • 功能完成后必须验证、提交、创建 PR,并在远端检查通过后合并到 GitHub 远程 main
  • 不恢复旧归档、旧任务锁、旧分支模型或旧模板作为当前工作流。

输出

完成或暂停时用中文说明:

  • 本次完成的任务。
  • 总体进度。
  • 已运行的验证。
  • 若全部完成,说明已准备进入归档或清理;若暂停,说明阻塞点和推荐下一步。

约束

  • 实施前必须读取 CLI 给出的上下文文件。
  • 不跳过未完成任务。
  • 不在失败验证上宣称完成。
  • 不把实现细节扩散到无关模块。

When not to use it

  • When the changes are not defined by an OpenSpec task list
  • When the user does not want to implement, continue, or complete a change

Prerequisites

openspec CLI

Limitations

  • Requires the openspec CLI
  • Does not skip uncompleted tasks
  • Does not claim completion on failed verification

How it compares

This skill provides a structured, CLI-driven workflow for implementing OpenSpec changes, ensuring all tasks are addressed and context files are used, unlike manual implementation that might miss steps or context.

Compared to similar skills

openspec-apply-change side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
openspec-apply-change (this skill)02moReviewIntermediate
bazel-build-optimization142moNo flagsAdvanced
github-workflow-automation112moReviewAdvanced
wolf-scripts-core59moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry