Agent skill

Openspec Apply Change

by henhen6 in henhen6/mdp

实现 OpenSpec 变更中的任务。当用户想要开始实现、继续实现或处理任务时使用. An agent skill from henhen6/mdp.

MITAuto-check passed

Install Openspec Apply Change

skills CLI
$ npx skills add henhen6/mdp --skill openspec-apply-change -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install henhen6/mdp openspec-apply-change --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/henhen6/mdp.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/openspec-apply-change .claude/skills/openspec-apply-change && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openspec-apply-change
GitHub stars
132
Token cost
~644 tokens
SKILL.md length
134 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
MIT

At a glance

实现 OpenSpec 变更中的任务。当用户想要开始实现、继续实现或处理任务时使用. An agent skill from henhen6/mdp.

  • Works in 7 steps: 选择变更 → 检查状态以了解 Schema → 获取应用指令 → …
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openspec Apply Change is an agent skill from henhen6/mdp. 实现 OpenSpec 变更中的任务。当用户想要开始实现、继续实现或处理任务时使用。

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: 需要 openspec-cn CLI。

The repository describes itself as: MDP-主数据平台,后端项目。专注于单点登录解决方案。内置用户中心、开发者平台、管理后台3个应用。包含:单点登录、Oauth2 登录、用户身份管理、应用申请、应用接入、主数据维护、主数据订阅、主数据广播、应用接口调用、接口管理管理和查看、系统配置等功能。 The licence is MIT.

Example prompts

  • “/openspec-apply-change”

Requirements

  • Compatibility (from SKILL.md): 需要 openspec-cn CLI。

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 选择变更
  2. 检查状态以了解 Schema
  3. 获取应用指令
  4. 阅读上下文文件
  5. 显示当前进度
  6. 实现任务(循环直到完成或受阻)
  7. 完成或暂停时,显示状态

What it can do on your machine

Read from SKILL.md and the folder at commit 91eef93. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    需要 openspec-cn CLI。

    From compatibility in the SKILL.md frontmatter.

Context cost

Openspec Apply Change loads about 644 tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 134 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~644

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from henhen6/mdp at commit 91eef93, republished under its MIT licence (© henhen6). 134 words, ~644 tokens.

Download SKILL.mdSave it as .claude/skills/openspec-apply-change/SKILL.md (or your agent's skills folder).
name
openspec-apply-change
description
实现 OpenSpec 变更中的任务。当用户想要开始实现、继续实现或处理任务时使用。
compatibility
需要 openspec-cn CLI。
license
MIT
metadata.author
openspec
metadata.version
1.0
metadata.generatedBy
1.3.1

实现 OpenSpec 变更中的任务。

输入:可选指定变更名称。如果省略,检查是否可以从对话上下文中推断。如果模糊或不明确,你必须提示获取可用变更。

步骤

  1. 选择变更

    如果提供了名称,使用它。否则:

    • 如果用户提到了某个变更,从对话上下文中推断
    • 如果只存在一个活动变更,自动选择
    • 如果不明确,运行 openspec-cn list --json 获取可用变更,并使用 AskUserQuestion tool 让用户选择

    始终宣布:"正在使用变更:<name>"以及如何覆盖(例如,/opsx:apply <other>)。

  2. 检查状态以了解 Schema

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

    解析 JSON 以了解:

    • schemaName:正在使用的工作流 Schema(例如:"spec-driven")
    • 哪个产出物包含任务(对于 spec-driven 通常是 "tasks",检查其他产出物的状态)
  3. 获取应用指令

    bash
    openspec-cn instructions apply --change "<name>" --json

    这返回:

    • contextFiles:产出物 ID -> 具体文件路径数组(因 Schema 而异,可能是 proposal/specs/design/tasks 或 spec/tests/implementation/docs)
    • 进度(总计、完成、剩余)
    • 带有状态的任务列表
    • 基于当前状态的动态指令

    处理状态:

    • 如果 state: "blocked"(缺少产出物):显示消息,建议使用 openspec-continue-change
    • 如果 state: "all_done":祝贺,建议归档
    • 否则:继续实现
  4. 阅读上下文文件

    阅读 apply instructions 输出中 contextFiles 列出的每个文件路径。 文件取决于正在使用的 Schema:

    • spec-driven: proposal, specs, design, tasks
    • 其他模式:遵循 CLI 输出中的 contextFiles
  5. 显示当前进度

    显示:

    • 正在使用的 Schema
    • 进度:"N/M 任务已完成"
    • 剩余任务概览
    • 来自 CLI 的动态指令
  6. 实现任务(循环直到完成或受阻)

    对于每个待处理任务:

    • 显示正在处理哪个任务
    • 进行所需的代码更改
    • 保持更改最小化且专注
    • 在任务文件中标记任务完成:- [ ] → - [x]
    • 继续下一个任务

    暂停如果:

    • 任务不清楚 → 询问澄清
    • 实现揭示了设计问题 → 建议更新产出物
    • 遇到错误或阻碍 → 报告并等待指导
    • 用户中断
  7. 完成或暂停时,显示状态

    显示:

    • 本次会话完成的任务
    • 总体进度:"N/M 任务已完成"
    • 如果全部完成:建议归档
    • 如果暂停:解释原因并等待指导

实现期间的输出

## 正在实现:<change-name>(Schema:<schema-name>)

正在处理任务 3/7:<task description>
[...正在进行实现...]
✓ 任务完成

正在处理任务 4/7:<task description>
[...正在进行实现...]
✓ 任务完成

完成时的输出

## 实现完成

**变更:** <change-name>
**Schema:** <schema-name>
**进度:** 7/7 任务已完成 ✓

### 本次会话已完成
- [x] 任务 1
- [x] 任务 2
...

所有任务已完成!准备归档此变更。

暂停时的输出(遇到问题)

## 实现暂停

**变更:** <change-name>
**Schema:** <schema-name>
**进度:** 4/7 任务已完成

### 遇到的问题
<问题描述>

**选项:**
1. <选项 1>
2. <选项 2>
3. 其他方法

您想怎么做?

护栏

  • 继续执行任务直到完成或受阻
  • 开始前始终阅读上下文文件(来自 apply instructions 输出)
  • 如果任务模棱两可,暂停并在实现前询问
  • 如果实现揭示了问题,暂停并建议更新产出物
  • 保持代码更改最小化并限定在每个任务范围内
  • 完成每个任务后立即更新任务复选框
  • 遇到错误、阻碍或不清楚的需求时暂停 - 不要猜测
  • 使用 CLI 输出中的 contextFiles,不要假设特定的文件名

流畅的工作流集成

此技能支持"变更上的操作"模型:

  • 可以随时调用:在所有产出物完成之前(如果存在任务),部分实现之后,与其他操作交错
  • 允许产出物更新:如果实现揭示了设计问题,建议更新产出物 - 不是阶段锁定的,流畅地工作

© henhen6, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/openspec-apply-change of henhen6/mdp.

Open the folder on GitHubat commit 91eef93

Compare with similar skills

Openspec Apply Change next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openspec Apply Change compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openspec Apply Change this skillhenhen6/mdp132—~644Automated safety check: PassMIT
Openspec Verify ChangeFission-AI/OpenSpec71k2 repos~4.6kAutomated safety check: PassMIT
OpenSpec Guided OnboardingFission-AI/OpenSpec71k1 repos~4.5kAutomated safety check: PassMIT
OpenSpec Bulk Change ArchiverFission-AI/OpenSpec71k2 repos~5.6kAutomated safety check: PassMIT
Openspec Exploretsedio/tsed3.1k6 repos~5.7kAutomated safety check: PassMIT
Openspec AwareChorus-AIDLC/Chorus1.2k—~7.6kAutomated safety check: PassAGPL-3.0

Similar skills

  • Openspec Verify Change

    Fission-AI/OpenSpec

    Verify implementation matches OpenSpec change artifacts. An agent skill from Fission-AI/OpenSpec.

    71k GitHub starsUsed in 2 repos~4.6k tokens
    DevelopmentAuto-check passed
  • OpenSpec Guided Onboarding

    Fission-AI/OpenSpec

    Walks you through a complete OpenSpec workflow cycle with narration while doing real work in your codebase.

    71k GitHub starsUsed in 1 repo~4.5k tokens
    Agent WorkflowsAuto-check passed
  • Archives several completed OpenSpec changes in one operation, checking the codebase to resolve spec conflicts rather than archiving blindly.

    71k GitHub starsUsed in 2 repos~5.6k tokens
    DevelopmentAuto-check passed
  • Openspec Explore

    tsedio/tsed

    Enter OpenSpec explore mode - a thinking partner for exploring ideas, investigating problems, and clarifying requirements in a project that uses OpenSpec.

    3.1k GitHub starsUsed in 6 repos~5.7k tokens
    Auto-check passed
  • Openspec Aware

    Chorus-AIDLC/Chorus

    OpenSpec-mode authoring for Chorus PM workflows on OpenClaw — the default whenever OpenSpec is usable.

    1.2k GitHub stars~7.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Archive a completed OpenSpec change in the experimental workflow.

    3.1k GitHub starsUsed in 6 repos~4.1k tokens
    Auto-check passed

More from henhen6/mdp

  • Openspec Explore

    henhen6/mdp

    进入探索模式 - 一个用于探索想法、调查问题和澄清需求的思考伙伴。当用户想要在进行更改之前或期间深入思考某事时使用. An agent skill from henhen6/mdp.

    132 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • 归档实验性工作流中已完成的变更。当用户想要在实现完成后最终确定并归档变更时使用. An agent skill from henhen6/mdp.

    132 GitHub stars~576 tokensUpdated yesterday
    Auto-check passed
  • Openspec Propose

    henhen6/mdp

    一步提案新变更并生成所有产出物。当用户想要快速描述他们想要构建的内容,并获得包含设计、规格说明和任务的完整提案以准备实现时使用。

    132 GitHub stars~642 tokensUpdated yesterday
    Auto-check passed

Questions about Openspec Apply Change

What does Openspec Apply Change do?

实现 OpenSpec 变更中的任务。当用户想要开始实现、继续实现或处理任务时使用. An agent skill from henhen6/mdp. Openspec Apply Change is an agent skill from henhen6/mdp.

How do I install Openspec Apply Change in Claude Code?

Run `npx skills add henhen6/mdp --skill openspec-apply-change -a claude-code`. Or copy the skill folder (.claude/skills/openspec-apply-change in henhen6/mdp) into .claude/skills/openspec-apply-change in your project. Claude Code loads it when a task matches its description.

How do I install Openspec Apply Change in Codex?

Run `npx skills add henhen6/mdp --skill openspec-apply-change -a codex`. Or copy the skill folder (.claude/skills/openspec-apply-change in henhen6/mdp) into .agents/skills/openspec-apply-change in your project. Codex loads it when a task matches its description.

Can I use Openspec Apply Change in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add henhen6/mdp --skill openspec-apply-change -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openspec-apply-change, .gemini/skills/openspec-apply-change, .github/skills/openspec-apply-change and .opencode/skills/openspec-apply-change in your project.

What does Openspec Apply Change need to run?

SKILL.md names no scripts, command-line tools or credentials: Openspec Apply Change is instructions for the agent only. Compatibility (from SKILL.md): 需要 openspec-cn CLI。.

Does Openspec Apply Change access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openspec Apply Change safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openspec Apply Change use?

Openspec Apply Change is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Openspec Apply Change use?

About 644 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openspec Apply Change?

Skills that share tags, products or a category with Openspec Apply Change: Openspec Verify Change (Fission-AI/OpenSpec, 71k stars), OpenSpec Guided Onboarding (Fission-AI/OpenSpec, 71k stars), OpenSpec Bulk Change Archiver (Fission-AI/OpenSpec, 71k stars) and Openspec Explore (tsedio/tsed, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openspec Apply Change?

henhen6 (a GitHub user) maintains it in henhen6/mdp, which has 132 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 8, 2026.

Source: henhen6/mdp on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.