Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

openspec-apply-changeopenspec 应用变更

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

196

周安装

8

GitHub Stars

1,337

下载量

63
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openspec-apply-change(openspec 应用变更)
来源仓库:https://github.com/arabold/docs-mcp-server
仓库路径:skills/openspec-apply-change
安装命令:
npx skills add https://github.com/arabold/docs-mcp-server --skill openspec-apply-change
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/arabold/docs-mcp-server --skill openspec-apply-change

简介

openspec-apply-change 用于实现 OpenSpec 变更任务。

  • 支持自动选择或手动指定变更名称,适用于实验性工作流管理。
  • 通过命令行工具执行,需先确认变更状态并完成前置条件检查。
  • 必须明确变更来源,避免模糊推断,必要时提示用户选择。
  • 安装依赖 npx 和对应仓库路径,注意权限与环境兼容性。

SKILL.md

Implement tasks from an OpenSpec change.

Input: Optionally specify a change name. If omitted, check if it can be inferred from conversation context. If vague or ambiguous you MUST prompt for available changes.

Steps

  1. Select the change If a name is provided, use it. Otherwise: Always announce: "Using change: " and how to override (e.g., /opsx:apply <other>).

- Infer from conversation context if the user mentioned a change - Auto-select if only one active change exists - If ambiguous, run openspec list --json to get available changes and use the AskUserQuestion tool to let the user select

  1. Check status to understand the schema openspec status --change "<name>" --json Parse the JSON to understand:

- schemaName: The workflow being used (e.g., "spec-driven") - Which artifact contains the tasks (typically "tasks" for spec-driven, check status for others)

  1. Get apply instructions openspec instructions apply --change "<name>" --json This returns: Handle states:

- Context file paths (varies by schema - could be proposal/specs/design/tasks or spec/tests/implementation/docs) - Progress (total, complete, remaining) - Task list with status - Dynamic instruction based on current state - If state: "blocked" (missing artifacts): show message, suggest using openspec-continue-change - If state: "all_done": congratulate, suggest archive - Otherwise: proceed to implementation

  1. Read context files Read the files listed in contextFiles from the apply instructions output. The files depend on the schema being used:

- spec-driven: proposal, specs, design, tasks - Other schemas: follow the contextFiles from CLI output

  1. Show current progress Display:

- Schema being used - Progress: "N/M tasks complete" - Remaining tasks overview - Dynamic instruction from CLI

  1. Implement tasks (loop until done or blocked) For each pending task: Pause if:

- Show which task is being worked on - Make the code changes required - Keep changes minimal and focused - Mark task complete in the tasks file: - []- [x] - Continue to next task - Task is unclear → ask for clarification - Implementation reveals a design issue → suggest updating artifacts - Error or blocker encountered → report and wait for guidance - User interrupts

  1. On completion or pause, show status Display:

- Tasks completed this session - Overall progress: "N/M tasks complete" - If all done: suggest archive - If paused: explain why and wait for guidance

Output During Implementation

## Implementing: <change-name> (schema: <schema-name>)

Working on task 3/7: <task description>
[...implementation happening...]
✓ Task complete

Working on task 4/7: <task description>
[...implementation happening...]
✓ Task complete

Output On Completion

## Implementation Complete

**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 7/7 tasks complete ✓

### Completed This Session
- [x] Task 1
- [x] Task 2
...

All tasks complete! Ready to archive this change.

Output On Pause (Issue Encountered)

## Implementation Paused

**Change:** <change-name>
**Schema:** <schema-name>
**Progress:** 4/7 tasks complete

### Issue Encountered
<description of the issue>

**Options:**
1. <option 1>
2. <option 2>
3. Other approach

What would you like to do?

Guardrails

  • Keep going through tasks until done or blocked
  • Always read context files before starting (from the apply instructions output)
  • If task is ambiguous, pause and ask before implementing
  • If implementation reveals issues, pause and suggest artifact updates
  • Keep code changes minimal and scoped to each task
  • Update task checkbox immediately after completing each task
  • Pause on errors, blockers, or unclear requirements - don't guess
  • Use contextFiles from CLI output, don't assume specific file names

Fluid Workflow Integration

This skill supports the "actions on a change" model:

  • Can be invoked anytime: Before all artifacts are done (if tasks exist), after partial implementation, interleaved with other actions
  • Allows artifact updates: If implementation reveals design issues, suggest updating artifacts - not phase-locked, work fluidly

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.2%
按下载量换算20

Claude

32.42%
按下载量换算20

Cursor

16.6%
按下载量换算10

Gemini CLI

9.03%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills