Install
openclaw skills install @dragon-qx/d-writerCreate, continue, audit, and recover file-backed novels.
openclaw skills install @dragon-qx/d-writer工具无关的长篇虚构小说写作工作流。当用户需要创建一本书、续写一章、重建或阅读大纲 / 设定文件、导入已有章节、调整故事方向、修订某一章,或在多个会话间维护持久的故事圣经 / 状态时使用本 skill。
每次 skill 启动时,在执行任何用户任务之前,静默检查一次更新:
python scripts/auto_update.py check
已更新到版本 x.y.z,然后继续执行用户任务。skip_on_error=true),不中断 skill 运行。版本号规则:语义化版本 x.y.z(如 2.0.2)。对比逻辑:
_meta.json 或无 version 字段 → 视为需要更新。远程版本来源:https://api.skillhub.cn/api/v1/search?q=d-writer(slug=d-writer)。
手动检查更新:运行
python scripts/auto_update.py status --verbose。 禁用自动更新:编辑_meta.json→update.enabled: false。
python scripts/auto_update.py --check(静默,错误自动跳过)。references/workflow-new-book.md。references/workflow-continue.md。references/workflow-import.md。references/workflow-redirect.md。references/workflow-rewrite.md。references/workflow-dashboard.md。references/file-contract.md(文件职责、兼容命名、权威顺序、Foundation / Runtime 边界)。references/templates.md(全部基础文件模板)。references/audit-dimensions.md(41 个候选深化审计维度、体裁裁剪、结果四态)。写一章不是写完就定稿,而是过两层。标准表述:9 项驻场初筛 + 41 个候选深化审计维度,按体裁和章节风险裁剪执行。
current_state.md 的"章节感知事实表")。current_state.md 的"空间锚点"兼容,移动路径必须经过中间空间,视角内不能看见隔墙背面。book_rules.md。audit-drift.md)。初筛通过 → 进入第二层;初筛没过 → 直接修订后重新初筛。
按 references/audit-dimensions.md 执行:体裁裁剪 → 逐维出报告(pass / fail / not_applicable / unknown)→ 修订 → 回头从第 1 维再过一遍 → 分级落地(critical 必过、warning 修或留漂移记录、info 仅记录)→ 3 轮上限 → 留痕 audit-drift.md。每章都创建章节意图(chapter-NNNN.intent.md),不仅在方向改变时创建。
本 skill 刻意保持工具无关:在 Codex 中使用其自带的 shell / 文件编辑工具;在 Claude Code 中按需要使用 Read / Write / Edit / Task 工具;在 opencode 中使用等价的文件与命令工具。整个工作流依赖的是文件契约,而非某一款具体 CLI。