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.zipInstalls 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 变更的任务清单实施代码、文档或部署改动。适用于用户要求开始实施、继续实施或完成某个变更。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
When to use openspec-apply-change
- →Apply OpenSpec change
- →Complete pending task from list
- →Verify implemented change
About this skill
按 OpenSpec 变更执行任务,直到全部完成或遇到真实阻塞。
输入
用户可以指定变更名;若未指定,先从上下文推断。若存在多个可能变更,运行 openspec list --json 后用中文请用户选择,不要猜。
工作步骤
-
确认变更名称,并说明正在使用哪个变更。
-
查看 schema 和任务来源:
openspec status --change "<name>" --json -
获取实施指令:
openspec instructions apply --change "<name>" --json -
读取指令中
contextFiles列出的所有上下文文件。不要假设固定文件名,始终以 CLI 输出为准。 -
用中文展示当前进度:schema、已完成任务数、待办摘要和动态实施指令。
-
逐项实施未完成任务:
- 每次只处理一个任务。
- 改动保持聚焦,优先遵循现有代码模式。
- 完成后立刻把任务勾选从
- [ ]改为- [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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| openspec-apply-change (this skill) | 0 | 2mo | Review | Intermediate |
| bazel-build-optimization | 14 | 2mo | No flags | Advanced |
| github-workflow-automation | 11 | 2mo | Review | Advanced |
| wolf-scripts-core | 5 | 9mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
bazel-build-optimization
wshobson
Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.
github-workflow-automation
ruvnet
Advanced GitHub Actions workflow automation with AI swarm coordination, intelligent CI/CD pipelines, and comprehensive repository management
wolf-scripts-core
Nice-Wolf-Studio
Core automation scripts for archetype selection, evidence validation, quality scoring, and safe bash execution
github-actions-templates
wshobson
Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.
bash-defensive-patterns
wshobson
Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.
hooks-automation
ruvnet
Automated coordination, formatting, and learning from Claude Code operations using intelligent hooks with MCP integration. Includes pre$post task hooks, session management, Git integration, memory coordination, and neural pattern training for enhanced development workflows.