Skip to main content

draft-chapter

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

Quellinformationen

Repository
luoluomashang/novel-engine
Letzte Quellaktivität
27. April 2026 um 02:35
Erkannte Sprache von SKILL.md
Chinesisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
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 自由发挥;不要用整章复述代替场景推进。
Auf GitHub ansehen