Skip to main content

draft-chapter

根据 published compiled packs 与 scene beats 生成试写或整章正文。Use when the chapter is ready to draft.

来源信息

仓库
luoluomashang/novel-engine
最近来源活动
2026年4月27日 02:35
检测到的 SKILL.md 语言
中文
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
draft-chapter
description
根据 published compiled packs 与 scene beats 生成试写或整章正文。Use when the chapter is ready to draft.
argument-hint
<project-id> [chapter-id] [trial|full]
disable-model-invocation
true
# 生成正文 ## 参数 - `$0`:`project_id` - `$1`:可选,`chapter_id`,默认 `ch001` - `$2`:可选,`mode`,可取 `trial` 或 `full`,默认 `trial` ## 执行步骤 1. 先运行 `python app.py ensure-prereq "$0" trial_draft --chapter-id "${1:-ch001}"`;若 `$2=full`,改为 `full_draft`。 2. 调用 `draft-writer` 子代理,直接写 `trial.md` 或 `draft.md`。 3. 正文只允许读取 `projects/$0/published/compiled/chapters/${1:-ch001}/context_pack.json`、`permission_pack.json` 和 `projects/$0/chapters/${1:-ch001}/scene_beats.json`。 4. 同步写入 `trial_report.json` 或 `projects/$0/logs/draft_metrics_*.json`。 5. 不要运行 `python app.py draft-chapter` 作为 Claude Code 主路径;该脚本只保留给回归。 6. 返回中文摘要,并建议进入 `/review-chapter`。 ## 阶段产物契约 - 输入文件:`projects/$0/published/compiled/chapters/${1:-ch001}/context_pack.json`、`permission_pack.json`、`projects/$0/chapters/${1:-ch001}/scene_beats.json`。 - 输出文件:`projects/$0/chapters/${1:-ch001}/trial.md`、`draft.md`、`trial_report.json`、`projects/$0/logs/draft_metrics_${1:-ch001}.json`、`draft_metrics_${1:-ch001}_trial.json`。 - 禁止行为:不要读取 hidden canon;不要跳过 `scene_beats.json` 直接凭 pack 自由发挥;不要用整章复述代替场景推进。
在 GitHub 查看