com um clique
design-chapters
细纲设计。按大纲拆分章节,生成节拍表,检查结构。
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
细纲设计。按大纲拆分章节,生成节拍表,检查结构。
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
数据诊断。导入平台数据,分析追读率/互动率,定位问题章节。
此技能仅在用户明确调用"/export-novel"或直接提及技能名称时使用。
日更写作入口。扩写 → 核查 → 去AI味 → 钩子审查,通过质量门禁后定稿。
付费卡点设计。分析大纲找最优切割点,设计过渡章节奏。
大纲设计。交互式设计故事走向、结构规划、节奏检测。
黄金三章锻造。按品类模板和微节拍逐段生成前三章,验证结构。
Baseado na classificação ocupacional SOC
| name | design-chapters |
| description | 细纲设计。按大纲拆分章节,生成节拍表,检查结构。 |
用途:将大纲(outline.yaml)转化为章节计划(chapters_index.yaml)。每章包含摘要、节拍表、张力值、出场人物。 前置条件:
settings/outline.yaml存在(大纲已设计)settings/scout_report.yaml存在(品类已确定) 输出文件:settings/chapters_index.yaml(章节总索引和跨 Skill 调度表)settings/chapter_outlines/chapter_*.md(单章详细蓝图,可选但推荐)
settings/chapters_index.yaml 必须遵循 data/schemas/chapters.schema.yaml;每章使用 file 指向 content/chapter_XXX.md,使用 outline_file 指向 settings/chapter_outlines/chapter_XXX.md。
settings/chapter_outlines/chapter_*.md 的 YAML Frontmatter 必须遵循 data/schemas/chapter_outline_frontmatter.schema.yaml,正文 Markdown 结构遵循 references/chapter-template.md。
[系统强制] 本板块定义 Agent 必须遵守的操作流转规则,绝对不可违背或删减。
invoke_subagent 唤醒子 Agent story-architect 承接具体工作(必须遵循下方的 Sub-agent 调用约束)。主 Agent 仅负责流程统筹与最终落盘。chapters.schema.yaml,保障输出结果准确对应下游 daily-write 需求,不能读而不用。_progress.md 文件。[业务核心] 本板块定义该 Skill 独有的领域知识、创作契约和设定标准。
scout_report.yaml 的要求分配单章节奏和爽点,刻意制造差异化。/nm 查询上游同类题材的经典细纲写法。scout_report.yaml 调整章节策略。【架构强制要求】:
- 生成任何结构化数据前,必须使用
view_file强制读取对应的data/schemas/chapters.schema.yaml。- 严禁按己意图捏造不在 Schema 中的顶级字段。
入口条件:outline.yaml 存在
目标:解析大纲结构,提取所有节拍
步骤:
_progress.md 的 current_phase 为 1。data/schemas/chapters.schema.yaml。outline.yaml,解析 acts → sequences → beats 层级。scout_report.yaml 的 genre 和 required_elements。出口条件:节拍列表已提取,转化范围已确认 加载 References:无
入口条件:节拍列表已提取 目标:将节拍分配到各章,确定每章的节拍组
步骤:
_progress.md 的 current_phase 为 2。references/chapter-beat-guide.md,加载节拍设计方法论。references/chapter-functions.md,理解章节定位。出口条件:章节拆分方案已确认
加载 References:chapter-beat-guide.md
入口条件:章节拆分方案已确认 目标:为每章生成结构化摘要
步骤:
_progress.md 的 current_phase 为 3。references/chapter-template.md,加载章节模板。references/hooks-guide.md,用于章首和章尾钩子设计。references/chapter-template.md 提供的 Frontmatter 和 Markdown 格式要求,写入三位补零文件 settings/chapter_outlines/chapter_XXX.md(例如 chapter_001.md)。【Sub-agent 调用约束】 若在细纲设计时需要唤醒
story-architect辅助,必须使用以下 Prompt 模板,以防核心规则在 Agent 间传递时丢失:Agent(subagent_type: "story-architect", prompt: "项目目录:{dir}\n任务类型:单章细纲设计\n查询参数:{需规划的具体章节与事件}\n章节定位契约:每章按它在一级结构里的位置标定位(高压/推进/修炼试错/关系回收/低压生活/信息整理;详见 references/chapter-functions.md)。只有高压/推进章配齐强钩子+密点爽点,低压章允许无显性爽点/0密点,但必须给读者阶段目标/期待。\n细纲字数预算契约:情节序列按字数预算编排,每点标密/疏并给预算(密≥250,疏≈40,铺垫≈120-150),各点求和Σ必须落在[章目标, 章目标×1.1]。每点写清『谁做了什么 + 功能标签』。")
出口条件:所有章节摘要已生成
加载 References:chapter-template.md
入口条件:章节摘要已生成 目标:为每章分配张力值,形成整体张力曲线
步骤:
_progress.md 的 current_phase 为 4。references/tension-design.md,加载张力设计方法。出口条件:张力曲线已确认
加载 References:tension-design.md
入口条件:所有章节摘要和张力值已生成 目标:生成 outputs 并通过质量检查
步骤:
_progress.md 的 current_phase 为 5。chapters.schema.yaml。settings/chapters_index.yamlsettings/chapter_outlines/chapter_*.md 已落盘node .agents/skills/design-chapters/scripts/check-chapters.js settings/chapters_index.yamlnode .agents/skills/design-chapters/scripts/check-outlines.js settings/chapter_outlines/[blocking] 或 [advisory] 信息,决定是否需要退回重做。如遇 [blocking] 错误,必须阻断流程并要求退回修正。_progress.md 文件,宣告本技能完成。出口条件:chapters_index.yaml 已生成且通过验证 加载 References:无
check-chapters.js:检查每章节拍数(3-15)、字数(2000-5000)、必填字段(file/outline_file/words_target/density/beats)完整性,以及正文路径和细纲路径格式。check-outlines.js:遍历检查所有细纲 Markdown 文件,验证 Frontmatter 合约、结构完整性(必须有特定标题),并对正文中的所有密疏节点字数执行求和计算,确保与目标字数误差不超过 15%。[blocking] 错误,此时视为阻断性错误,Agent 必须停下修正。状态文件:_progress.md(位于项目根目录)
格式范例:
# design-chapters Progress
- current_phase: <1-5>
- status: in_progress | completed
- last_updated: <timestamp>
恢复逻辑:
_progress.md。settings/chapters_index.yaml:章节总索引和跨 Skill 调度表settings/chapter_outlines/chapter_*.md:每一章的细纲蓝图与字数预算⚠️ 警告:编写或更新此表时,必须确保
references/目录下真实存在引用的文件。严禁引用幽灵文件或保留完全冗余的重复文件。
| Phase | References | 用途 |
|---|---|---|
| 1 | — | 大纲解析 |
| 2/3 | chapter-functions.md | 章节定位与张弛法则 |
| 2 | chapter-beat-guide.md | 节拍设计方法论 |
| 3 | chapter-template.md | 章节摘要模板 |
| 3 | hooks-guide.md | 章首/章尾钩子指南 |
| 4 | tension-design.md | 张力值分配方法 |
| 5 | — | 落盘验证 |
本技能完成、chapters_index.yaml 与单章蓝图生成后,推荐执行的操作或进入的下一步 Skill:
/daily-write:日更正文写作,AI将依细纲完成写作闭环。/golden-chapters:黄金三章专属打磨。