跳到正文
cccskills
免费在 GitHub 公开

draft-openspec-docs

Draft or rewrite an OpenSpec documentation page collaboratively. The skill records its purpose and structure inside the page, writes one section at a time as requested, then updates related references and removes the working plan.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Collaborative page-drafting mode for the OpenSpec docs. Builds a scratch plan inside the target page (purpose, structure, numbered draft steps), iterates on it with the user, then drafts one section per approved step and cleans up after itself. Use when a page needs a from-scratch rewrite or a new page is being shaped with the user in the loop.

查看安装方法

适用场景

  • Shape a new documentation page together
  • Rewrite a page from scratch
  • Review and draft one section at a time
  • Update related links after drafting

包含的文件(1)

  • SKILL.md3.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Draft OpenSpec docs (scratch-plan workflow)

You are shaping a docs page with the user in the loop. The page is planned and reviewed inside the page itself, then drafted one section at a time. Load write-openspec-docs (the style authority) and no-ai-slop before drafting anything.

1. Set up the scratch section

Strip the page to its title and > goal line, then add a working section below them:

## Scratch: page plan (delete before publish)

### Purpose

### Structure
  • Purpose: 3-5 dot points. Who the reader is and what they come to look up, what the page covers, what it links out to. Check docs-lab/README.md (the page's goal line) and docs-lab/message-map.md (the questions routed here) before writing it.
  • Structure: a numbered list of the page's sections, one line each naming the section and the shape of its content (table, fence, tree, bullets).
  • Say what the page will do, never what it won't. Plain words and short bullets; the user reads this in their editor.

2. Iterate until the plan is approved

  • Plan edits are cheap; page edits aren't. Reshape the plan as many times as the user asks before drafting.
  • Record every decision in the plan itself, not only in chat. Add a ### Notes list for follow-ups that belong to other pages and product observations found along the way.
  • The user may edit the file directly between turns; their edits are decisions, not drift to revert.
  • Surface one open call at a time, with a recommendation.

3. Add the draft plan, then draft step by step

Once the structure holds, add a ### Draft plan below the notes: one step per page section, each with an ID and a readable title (**D1. Goal line and intro**), ending with a consolidation step (cross-page updates) and a cleanup step. Then:

  • Wait for the user to call a step ID. Draft exactly that step, into the page above the scratch block.
  • Verify each fact against source before writing it; a cheap grep beats trust. Reference content shows the raw contract (templates, instructions, config) verbatim in fences, linked to the file on GitHub, rather than paraphrasing it.
  • Keep sibling sections on a repeatable sub-structure so the page scans as one system.
  • Mark the step (done) in the plan, report what landed, and name the next step.

4. Consolidation and cleanup

  • Consolidation: update everything that points at the page. The README goal line (verbatim match with the page's > line), the message map, the sync config (website/docs.sync.config.mjs), and any cross-links found by grepping the tree. Run node website/scripts/sync-docs.mjs to validate.
  • Cleanup: delete the scratch block, run the retrievability and glance tests from write-openspec-docs at desktop and narrow widths, and flip the page's message-map row to Answered if its prose landed.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Implement pending tasks from an OpenSpec change using its specifications and design documents. The skill updates task checkboxes, confirms progress, supports resuming unfinished work, and pauses when requirements or implementation issues need clarification.

中文简介正在准备中。当前显示英语简介。

  • Start implementing a planned OpenSpec change
  • Resume partially completed implementation
  • Track completed and remaining tasks
Fission-AI/OpenSpec7.2万2026年10月17日 更新

Finalize an implemented OpenSpec change by checking planning files, task completion, and specification differences. Review whether to merge specification updates, verify any requested merge, then archive the change and report its location and outstanding warnings.

中文简介正在准备中。当前显示英语简介。

  • Archiving an implemented change
  • Reviewing specification updates before archiving
  • Checking unfinished work before closing a change
Fission-AI/OpenSpec7.2万2026年10月17日 更新

Archive several OpenSpec changes together after reviewing their documents and task progress. The skill checks code to resolve overlapping specification updates, syncs the selected updates, and reports which changes were archived, skipped, or failed.

中文简介正在准备中。当前显示英语简介。

  • Archive several completed changes together
  • Resolve overlapping specification updates
  • Review unfinished work before archiving
Fission-AI/OpenSpec7.2万2026年10月17日 更新

Continue an existing OpenSpec change by creating one planning artifact, such as a proposal or specification, per request. Read its dependencies and workflow instructions, complete missing files when needed, and report progress and newly available steps.

中文简介正在准备中。当前显示英语简介。

  • Resuming an existing change plan
  • Creating the next planning document
  • Completing files missing after an interrupted draft
Fission-AI/OpenSpec7.2万2026年10月17日 更新

Explore ideas, investigate problems, and clarify requirements in an OpenSpec project through discussion grounded in existing code and specifications. Compare approaches, sketch diagrams, and identify open questions, with planning documents saved only within an explicitly approved scope.

中文简介正在准备中。当前显示英语简介。

  • Clarify the scope of a loosely defined feature idea
  • Compare technical approaches using project evidence
  • Revisit design choices when implementation gets stuck
Fission-AI/OpenSpec7.2万2026年10月17日 更新

Prepare the OpenSpec documents needed to start implementation in one pass. It examines the project and creates required proposals, specifications, designs, and tasks in dependency order, following the project's configured workflow.

中文简介正在准备中。当前显示英语简介。

  • Prepare planning documents for a new feature
  • Turn a change description into implementation tasks
  • Create missing prerequisite documents together
Fission-AI/OpenSpec7.2万2026年10月17日 更新

查看 Fission-AI 的全部技能

报告此技能的问题