Collaborative page-drafting mode for the OpenSpec docs. Builds a scratch plan inside the target page (purpose, structure, numbered draft steps), iterates on it
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-draft-openspec-docs-1d536b7ed817 ,按照其中的说明把「draft-openspec-docs」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
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.
Strip the page to its title and > goal line, then add a working section below them:
## Scratch: page plan (delete before publish)
### Purpose
### Structure
docs-lab/README.md (the page's goal line) and docs-lab/message-map.md (the questions routed here) before writing it.### Notes list for follow-ups that belong to other pages and product observations found along the way.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:
(done) in the plan, report what landed, and name the next step.> 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.write-openspec-docs at desktop and narrow widths, and flip the page's message-map row to Answered if its prose landed.