Skip to content
Skills Library
Management & product · Planning

openspec-ff-change

/openspec-ff-change

快速创建实现所需的所有产出物。当用户想要快速创建实现所需的所有产出物,而不是逐个创建时使用。

Licence
GPL-3.0
Last repository change
10.10.2026

Assessment and security

88/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability21 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content27 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.10.2026, without references to retired models or APIs.

Licence

GPL-3.0, otwarta.

What it does and when to use it

快速创建实现所需的所有产出物。当用户想要快速创建实现所需的所有产出物,而不是逐个创建时使用。

Original author description

快速创建实现所需的所有产出物。当用户想要快速创建实现所需的所有产出物,而不是逐个创建时使用。

How it works

SKILL.md has no level-two headings · 92 lines, 211 words

SKILL.md preview
---
name: openspec-ff-change
description: 快速创建实现所需的所有产出物。当用户想要快速创建实现所需的所有产出物,而不是逐个创建时使用。
license: MIT
compatibility: 需要 openspec CLI。
metadata:
  author: openspec
  version: "1.0"
  generatedBy: "1.1.1-1"
---

快速完成产出物创建 - 一次性生成开始实现所需的一切。

**输入**:用户的请求应包含变更名称(kebab-case)或对他们想要构建内容的描述。

**步骤**

1. **如果没有提供明确的输入,询问他们想要构建什么**

   使用 **AskUserQuestion tool**(开放式,无预设选项)询问:
   > "您想要处理什么变更?请描述您想要构建或修复的内容。"

   根据他们的描述,推导出一个 kebab-case 名称(例如:"add user authentication" → `add-user-auth`)。

   **重要提示**:在不了解用户想要构建什么的情况下,请勿继续。

2. **创建变更目录**
   ```bash
   openspec-cn new change "<name>"
   ```
   这将在 `openspec/changes/<name>/` 创建一个脚手架变更。

3. **获取产出物构建顺序**
   ```bash
   openspec-cn status --change "<name>" --json
   ```
   解析 JSON 以获取:
   - `applyRequires`: 实现前所需的产出物 ID 数组(例如:`["tasks"]`)
   - `artifacts`: 所有产出物及其状态和依赖项的列表

4. **按顺序创建产出物直到准备好应用**

   使用 **TodoWrite tool** 跟踪产出物的进度。

   按依赖顺序循环遍历产出物(没有待处理依赖项的产出物优先):

   a. **对于每个 `ready`(依赖项已满足)的产出物**:
      - 获取指令:
        ```bash
        openspec-cn instructions <artifact-id> --change "<name>" --json
        ```
      - 指令 JSON 包括:
        - `context`:项目背景(对你的约束 - 不要包含在输出中)
        - `rules`:产出物特定规则(对你的约束 - 不要包含在输出中)
        - `template`:用于输出文件的结构
        - `instruction`:此产出物类型的模式特定指导
        - `outputPath`:写入产出物的位置
        - `dependencies`:已完成的产出物,用于读取上下文
      - 读取任何已完成的依赖文件以获取上下文
      - 使用 `template` 作为结构创建产出物文件
      - 应用 `context` 和 `rules` 作为约束 - 但不要将它们复制到文件中
      - 显示简短进度:"✓ 已创建 <artifact-id>"

   b. **继续直到所有 `applyRequires` 产出物完成**
      - 创建每个产出物后,重新运行 `openspec-cn status --change "<name>" --json`
      - 检查 `applyRequires` 中的每个产出物 ID 在 artifacts 数组中是否具有 `status: "done"`
      - 当所有 `applyRequires` 产出物完成时停止

   c. **如果产出物需要用户输入**(上下文不清楚):
      - 使用 **AskUserQuestion tool** 进行澄清
      - 然后继续创建

5. **显示最终状态**
   ```bash
   openspec-cn status --change "<name>"
   ```

**输出**

完成所有产出物后,总结:
- 变更名称和位置
- 已创建产出物的列表及简要描述
- 准备就绪:"所有产出物已创建!准备好实现。"
- 提示:"运行 `/opsx:apply` 或要求我实现以开始处理任务。"

**产出物创建指南**

- 遵循每个产出物类型的 `openspec-cn instructions` 中的 `instruction` 字段
- 模式定义了每个产出物应包含的内容 - 遵循它
- 在创建新产出物之前阅读依赖产出物以获取上下文
- 使用 `template` 作为输出文件的结构 - 填充其各个部分
- **重要提示**:`context` 和 `rules` 是对你的约束,而不是文件内容
  - 不要将 `<context>`、`<rules>`、`<project_context>` 块复制到产出物中
  - 这些引导你编写内容,但不应出现在输出中

**护栏**
- 创建实现所需的所有产出物(由 Schema 的 `apply.requires` 定义)
- 在创建新产出物之前始终阅读依赖产出物
- 如果上下文极其不清楚,询问用户 - 但倾向于做出合理的决定以保持势头
- 如果同名变更已存在,建议继续处理该变更
- 在继续下一个之前,验证写入后每个产出物文件是否存在

Versions

RepositoryScoreLicence
This page · studyzy/imewlconverter88GPL-3.0
redhat-developer/rhdh-skills100Apache-2.0
artexis10/exomem92AGPL-3.0
PBH-BTN/PeerBanHelper92GPL-3.0
Fission-AI/OpenSpec92MIT
rulemason/rulemason92Apache-2.0
kevindurb/tsgit92MIT
SAP/e-mobility-charging-stations-simulator92Apache-2.0
ttdua/pi-superspec92MIT

Identical content appears in 1 other GitHub folders. We show one copy with the highest score.

Database snapshot: 13.11.2026 · package version 69d0f07ec1ef (SHA-256 digest of the entire package)

Downloads in the last 30 days: 1 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90openspec-plan
    Create OpenSpec change proposals. Use when: user wants to plan a feature, create a proposal, or start a new OpenSpec change.
  • 100openspec-pipeline-order
    把一批 OpenSpec change 排成变更流水线,并给每一格写清它自己的验收口径。 当用户说「把这批 change 排进流水线」「按顺序画好图」「排一下先后」「哪些能并行」 「今晚把它们都跑掉」「接着往下跑」时使用。走 openspec_pipeline 的 wire:串行 / 串并 / 任意依赖,一次调用落成图。不写 pipeline.json、不删格子、不覆盖人手断开过的线、 不替用户改模型。
  • 100openspec-apply-change
    Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks. Also use when the user says "openspec apply", "opsx apply", or "openspec implement".
  • 100openspec-apply-change
    Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks. Also use when the user says "openspec apply", "opsx apply", or "openspec implement".
  • 92openspec-propose
    Propose a new OpenSpec change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation. Also use when the user says "openspec propose" or "opsx propose".
  • 92openspec-propose
    Propose a new OpenSpec change with all artifacts generated in one step. Use when the user wants to quickly describe what they want to build and get a complete proposal with design, specs, and tasks ready for implementation. Also use when the user says "openspec propose" or "opsx propose".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.