feat: 完成A线详细大纲
- 加入巫族首领摄司的设定(开放祖庭、贡献值制度) - 修正人族演化路径:底层献祭品→贡献值→祖庭核心→导演终局 - 修正终局之战逻辑:人族制造假情报,坐收渔利 - 修正刑天结局:至死都是巫族,战死沙场 - 修正九黎阙设定:后期配角,主动被寄生50年后自爆 - 核心主题:人族成长=否定血脉论 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
16
.claude/agents/analyze-progress.md
Normal file
16
.claude/agents/analyze-progress.md
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
name: analyze-progress
|
||||
description: 分析项目进度并创建进度文件
|
||||
model: sonnet
|
||||
---
|
||||
请执行以下任务:
|
||||
|
||||
1. 扫描项目目录中的所有文件
|
||||
2. 读取大纲文件,理解整体剧情结构
|
||||
3. 检查已存在的章节文件和细纲文件
|
||||
4. 对比大纲,确定当前项目已完成到哪个情节节点
|
||||
5. 创建或更新进度文件(progress.md),记录:
|
||||
- 当前进度位置
|
||||
- 已完成的章节/细纲
|
||||
- 下一步需要创作的情节节点
|
||||
- 整体完成百分比
|
||||
25
.claude/agents/analyze-progress_zj.md
Normal file
25
.claude/agents/analyze-progress_zj.md
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
name: analyze-progress_zj
|
||||
description: 分析进度找到未完成的细纲
|
||||
model: sonnet
|
||||
---
|
||||
分析项目进度,找出需要编写的章节:
|
||||
|
||||
1. 读取 progress.md 文件,获取当前创作进度
|
||||
2. 读取所有细纲文件 (xigang/目录下的 *.json 文件)
|
||||
3. 读取已有章节文件 (chapters/目录下的 *.md 文件)
|
||||
4. 对比细纲和已完成章节,找出:
|
||||
- 哪些细纲已有对应章节
|
||||
- 哪些细纲尚未编写章节
|
||||
- 下一个需要编写的章节是哪个
|
||||
|
||||
输出格式:
|
||||
```
|
||||
当前进度:第X章
|
||||
待编写章节列表:
|
||||
- 第Y章:[细纲文件名] - [章节标题]
|
||||
- 第Z章:[细纲文件名] - [章节标题]
|
||||
...
|
||||
|
||||
下一步:编写第Y章 [章节标题]
|
||||
```
|
||||
12
.claude/agents/apply-plot-changes.md
Normal file
12
.claude/agents/apply-plot-changes.md
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
name: apply-plot-changes
|
||||
description: 根据用户选择修改剧情
|
||||
model: opus
|
||||
---
|
||||
根据作者的选择,对剧情大纲进行相应修改:
|
||||
|
||||
- 如果选择保留剧情修改设定:说明需要调整的设定内容
|
||||
- 如果选择保留设定修改剧情:调整大纲中冲突的部分,使其符合设定
|
||||
- 如果选择重新审视:提出折中方案供作者参考
|
||||
|
||||
请执行修改并输出更新后的大纲。
|
||||
21
.claude/agents/chapter-divider.md
Normal file
21
.claude/agents/chapter-divider.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: chapter-divider
|
||||
description: 章节划分与准备
|
||||
model: sonnet
|
||||
---
|
||||
为下一个待编写的章节进行详细规划:
|
||||
|
||||
1. 读取对应的细纲文件内容
|
||||
2. 分析细纲中的场景划分
|
||||
3. 如果一个细纲对应多个章节,进行合理的章节切分
|
||||
4. 确定本章节的具体内容范围:
|
||||
- 起始场景
|
||||
- 结束场景
|
||||
- 包含的情节点
|
||||
5. 确定章节标题
|
||||
|
||||
输出章节规划文档,包含:
|
||||
- 章节编号和标题
|
||||
- 本章节包含的场景列表
|
||||
- 每个场景的起止点
|
||||
- 预计字数范围
|
||||
13
.claude/agents/check-conflicts.md
Normal file
13
.claude/agents/check-conflicts.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: check-conflicts
|
||||
description: 检查剧情与设定的冲突
|
||||
model: sonnet
|
||||
---
|
||||
仔细核对生成的剧情大纲与原始设定之间是否存在冲突:
|
||||
|
||||
1. 角色行为是否符合其设定性格
|
||||
2. 剧情发展是否符合世界观设定
|
||||
3. 时间线、因果关系是否自洽
|
||||
4. 是否有违反已有设定的情节
|
||||
|
||||
请列出所有发现的冲突,并说明冲突的具体内容。
|
||||
19
.claude/agents/check-project-structure.md
Normal file
19
.claude/agents/check-project-structure.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: check-project-structure
|
||||
description: 检查项目结构完整性
|
||||
model: sonnet
|
||||
---
|
||||
检查当前项目目录结构,确认是否存在以下必需文件:
|
||||
|
||||
1. 设定文件 (sheding.json)
|
||||
2. 大纲文件 (dagang.json)
|
||||
3. 进度文件 (progress.md)
|
||||
4. 细纲目录 (xigang/)
|
||||
5. 章节目录 (chapters/)
|
||||
|
||||
对于每个文件,报告:
|
||||
- 是否存在
|
||||
- 如果存在,文件内容是否完整有效
|
||||
- 如果不存在或缺失内容,明确说明需要补充什么
|
||||
|
||||
如果所有必需文件都存在且完整,输出"项目结构完整"。如果有缺失,输出"项目结构不完整"并列出缺失项目。
|
||||
6
.claude/agents/check-settings.md
Normal file
6
.claude/agents/check-settings.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: check-settings
|
||||
description: 检查设定是否存在
|
||||
model: sonnet
|
||||
---
|
||||
检查项目中是否已有小说设定文件(如世界观、角色设定、背景设定等)。如果存在,请列出已有的设定内容;如果不存在或设定不完整,请明确说明需要补充哪些设定。
|
||||
28
.claude/agents/content-review.md
Normal file
28
.claude/agents/content-review.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
name: content-review
|
||||
description: 内容审核
|
||||
model: sonnet
|
||||
---
|
||||
对完成的章节进行内容合规性审核:
|
||||
|
||||
审核项目:
|
||||
1. **违规内容检查**:
|
||||
- 暴力血腥描写是否过界
|
||||
- 色情低俗内容
|
||||
- 政治敏感内容
|
||||
- 违法犯罪诱导
|
||||
|
||||
2. **逻辑一致性检查**:
|
||||
- 与设定(sheding.json)是否冲突
|
||||
- 与大纲(dagang.json)是否一致
|
||||
- 与细纲(xigang.json)是否匹配
|
||||
- 与已完成章节是否存在矛盾
|
||||
- 人物行为是否符合角色设定
|
||||
|
||||
3. **价值观检查**:
|
||||
- 是否传达不当价值观
|
||||
- 是否存在歧视性内容
|
||||
|
||||
审核结果:
|
||||
- 如果发现违规或不一致,详细列出问题位置和建议修改方案
|
||||
- 如果审核通过,输出"审核通过"并给出质量评价
|
||||
21
.claude/agents/create-detailed-outline.md
Normal file
21
.claude/agents/create-detailed-outline.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: create-detailed-outline
|
||||
description: 创建剧情细纲
|
||||
model: opus
|
||||
---
|
||||
请基于大纲和进度文件,创作接下来的剧情细纲:
|
||||
|
||||
任务要求:
|
||||
1. 读取大纲文件,理解整体设定和剧情走向
|
||||
2. 读取进度文件,确定当前创作位置
|
||||
3. 读取已有的细纲文件,了解之前的剧情发展
|
||||
4. 为接下来的3-5个情节节点创建详细细纲
|
||||
|
||||
细纲要求:
|
||||
- 符合大纲设定,不偏离主线
|
||||
- 与之前细纲保持连贯性,不存在矛盾
|
||||
- 剧情有吸引力,包含冲突和转折
|
||||
- 人物行为符合其设定
|
||||
- 每个细纲包含:场景、人物、事件、冲突、结果
|
||||
|
||||
请将细纲写入新的细纲文件中。
|
||||
6
.claude/agents/create-new-settings.md
Normal file
6
.claude/agents/create-new-settings.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: create-new-settings
|
||||
description: 创建新的世界观设定
|
||||
model: opus
|
||||
---
|
||||
基于与作者讨论确定的主题和基本设定,创建完整的小说世界观。包括:世界背景、地理环境、势力体系、魔法/科技规则、历史时间线、文化特色等。确保设定具有内在一致性和故事发展潜力。
|
||||
23
.claude/agents/de-ai-check.md
Normal file
23
.claude/agents/de-ai-check.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: de-ai-check
|
||||
description: 去除AI味检查与修改
|
||||
model: opus
|
||||
---
|
||||
检查并去除章节中的AI写作痕迹(去AI味):
|
||||
|
||||
检查项目:
|
||||
1. **过度解释**:删除对显而易见事物的解释
|
||||
2. **陈词滥调**:识别并替换常见AI写作套话
|
||||
3. **情感过度表达**:删除过于直白的情感描述词
|
||||
4. **句式模式**:识别和打破典型的AI句式模式
|
||||
5. **对话标签**:简化said/ask等标签,用动作代替
|
||||
6. **形容词堆砌**:减少过多的形容词修饰
|
||||
7. **说教感**:删除过于明显的道德说教
|
||||
|
||||
修改原则:
|
||||
- 让文字更简洁、自然
|
||||
- 增加潜台词和留白
|
||||
- 用具体细节代替抽象描述
|
||||
- 保持情节完整性
|
||||
|
||||
输出去AI味后的章节内容,以及修改说明。
|
||||
6
.claude/agents/discuss-direction.md
Normal file
6
.claude/agents/discuss-direction.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: discuss-direction
|
||||
description: 与作者确定设定完善方向
|
||||
model: sonnet
|
||||
---
|
||||
基于已有的世界观设定,与作者讨论需要完善和扩展的方向。分析当前设定的薄弱环节,确定需要新增、修改或深化的内容领域。
|
||||
6
.claude/agents/discuss-new.md
Normal file
6
.claude/agents/discuss-new.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: discuss-new
|
||||
description: 与作者讨论创作主题和基本设定
|
||||
model: sonnet
|
||||
---
|
||||
与作者讨论小说创作的主题方向、世界观类型(如奇幻、科幻、现实等)、基本背景设定。引导作者明确核心概念、故事背景、主要势力或元素等基础信息。
|
||||
13
.claude/agents/discuss-plot-conflicts.md
Normal file
13
.claude/agents/discuss-plot-conflicts.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: discuss-plot-conflicts
|
||||
description: 讨论剧情节点和主要冲突
|
||||
model: opus
|
||||
---
|
||||
基于已有设定和确定的故事内核,与作者一起规划剧情结构:
|
||||
|
||||
1. 故事的开端、发展、高潮、结局如何安排?
|
||||
2. 主要的冲突点有哪些?(人物冲突、价值观冲突、外部冲突等)
|
||||
3. 关键转折点是什么?
|
||||
4. 各章节/段落的主要情节安排
|
||||
|
||||
请引导作者思考,确保剧情逻辑连贯且服务于故事内核。
|
||||
13
.claude/agents/discuss-story-core.md
Normal file
13
.claude/agents/discuss-story-core.md
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
name: discuss-story-core
|
||||
description: 与作者讨论故事和内核
|
||||
model: opus
|
||||
---
|
||||
基于已有的设定内容,与作者深入讨论想要讲述的故事。探讨以下问题:
|
||||
|
||||
1. 这个故事的核心主题是什么?
|
||||
2. 作者想通过故事表达什么思想或情感?
|
||||
3. 故事的基调如何?(温馨、悬疑、悲剧、喜剧等)
|
||||
4. 最想打动读者的点是什么?
|
||||
|
||||
请引导作者深入思考,帮助明确故事内核。
|
||||
14
.claude/agents/generate-outline.md
Normal file
14
.claude/agents/generate-outline.md
Normal file
@@ -0,0 +1,14 @@
|
||||
---
|
||||
name: generate-outline
|
||||
description: 生成剧情大纲
|
||||
model: opus
|
||||
---
|
||||
基于以上所有讨论内容(设定、故事内核、剧情节点、冲突设计),生成一份完整的小说剧情大纲。大纲应包括:
|
||||
|
||||
1. 故事梗概(100-200字)
|
||||
2. 主要人物介绍
|
||||
3. 分章/分段剧情概要
|
||||
4. 核心冲突的发展脉络
|
||||
5. 主题表达方式说明
|
||||
|
||||
请生成结构清晰、内容充实的大纲供作者审阅。
|
||||
6
.claude/agents/modify-settings.md
Normal file
6
.claude/agents/modify-settings.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: modify-settings
|
||||
description: 执行设定的修改、完善和新增
|
||||
model: opus
|
||||
---
|
||||
根据与作者确定的完善方向,对世界观设定进行具体的修改、完善和新增工作。包括:补充缺失的设定、完善现有细节、修正矛盾之处、添加新的世界观元素等。输出更新后的完整设定文档。
|
||||
6
.claude/agents/read-existing.md
Normal file
6
.claude/agents/read-existing.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
name: read-existing
|
||||
description: 读取已存在的世界观设定
|
||||
model: sonnet
|
||||
---
|
||||
读取并理解已有的小说世界观设定文档,梳理当前设定的完整内容,包括但不限于:世界背景、势力体系、人物关系、历史时间线、魔法/科技体系等。
|
||||
23
.claude/agents/review-and-refine.md
Normal file
23
.claude/agents/review-and-refine.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: review-and-refine
|
||||
description: 检查并完善大纲和细纲
|
||||
model: opus
|
||||
---
|
||||
请执行大纲与细纲的互相检查和完善:
|
||||
|
||||
任务步骤:
|
||||
1. 读取完整的大纲文件
|
||||
2. 读取所有细纲文件(包括刚创建的)
|
||||
3. 检查细纲是否符合大纲设定:
|
||||
- 人物设定是否一致
|
||||
- 世界观设定是否一致
|
||||
- 剧情走向是否符合大纲主线
|
||||
4. 检查细纲之间是否存在矛盾
|
||||
5. 反向检查:细纲中好的设定是否可以补充到大纲中
|
||||
6. 生成完善建议
|
||||
7. 如果发现需要修改的地方,更新相关文件
|
||||
|
||||
输出格式:
|
||||
- 检查报告(列出发现的问题)
|
||||
- 完善建议
|
||||
- 如果确认无误,输出"细纲检查通过,符合大纲设定"
|
||||
19
.claude/agents/revise-chapter.md
Normal file
19
.claude/agents/revise-chapter.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: revise-chapter
|
||||
description: 根据审核意见修改章节
|
||||
model: opus
|
||||
---
|
||||
根据审核反馈的问题,对章节进行修改:
|
||||
|
||||
修改原则:
|
||||
1. 逐一解决审核中发现的问题
|
||||
2. 保持章节整体风格和流畅性
|
||||
3. 修改后再次检查是否引入新问题
|
||||
4. 确保修改后的内容:
|
||||
- 符合设定
|
||||
- 符合大纲
|
||||
- 符合细纲
|
||||
- 逻辑自洽
|
||||
- 无违规内容
|
||||
|
||||
输出修改后的完整章节内容。
|
||||
21
.claude/agents/rhetoric-optimize.md
Normal file
21
.claude/agents/rhetoric-optimize.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
name: rhetoric-optimize
|
||||
description: 修辞优化
|
||||
model: opus
|
||||
---
|
||||
对刚完成的章节进行修辞优化,提升文学质量:
|
||||
|
||||
优化目标:
|
||||
1. **句式多样性**:避免重复的句式结构,增加长短句变化
|
||||
2. **词汇丰富性**:替换重复、平淡的词汇
|
||||
3. **描写生动性**:增强场景描写的画面感和代入感
|
||||
4. **节奏感**:调整段落长短,控制阅读节奏
|
||||
5. **修辞手法**:适当运用比喻、拟人、排比等修辞
|
||||
|
||||
注意事项:
|
||||
- 保持原有情节和对话不变
|
||||
- 不改变角色性格和说话风格
|
||||
- 不增加新情节点
|
||||
- 优化后的文字应更流畅自然,更有文学性
|
||||
|
||||
输出优化后的完整章节内容。
|
||||
26
.claude/agents/save-chapter.md
Normal file
26
.claude/agents/save-chapter.md
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
name: save-chapter
|
||||
description: 保存章节并更新进度
|
||||
model: sonnet
|
||||
---
|
||||
完成以下操作:
|
||||
|
||||
1. **保存章节文件**:
|
||||
- 将最终章节内容保存到 chapters/ 目录
|
||||
- 文件命名格式:第X章-标题.md
|
||||
- 确保文件格式规范,包含章节标题和内容
|
||||
|
||||
2. **更新进度文件**:
|
||||
- 更新 progress.md 中的章节完成状态
|
||||
- 更新当前进度位置
|
||||
- 更新完成百分比
|
||||
- 记录本章字数
|
||||
|
||||
3. **生成完成报告**:
|
||||
- 章节编号和标题
|
||||
- 字数统计
|
||||
- 本章概要
|
||||
- 当前整体进度
|
||||
- 下一步待处理章节
|
||||
|
||||
执行后输出"章节已保存"。
|
||||
19
.claude/agents/sync-check.md
Normal file
19
.claude/agents/sync-check.md
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
name: sync-check
|
||||
description: 细纲与章节对照修改
|
||||
model: sonnet
|
||||
---
|
||||
对已完成的章节进行细纲与内容的对照检查:
|
||||
|
||||
检查项目:
|
||||
1. 章节实际内容是否完全覆盖细纲中的所有场景
|
||||
2. 是否有细纲中设定但未在章节中体现的内容
|
||||
3. 章节中是否有超出细纲的原创内容
|
||||
4. 根据章节实际执行情况,判断是否需要调整细纲
|
||||
|
||||
处理方式:
|
||||
- 如果章节内容有更好创意,建议更新细纲
|
||||
- 如果细纲内容未完全体现,建议补充章节或说明原因
|
||||
- 确保细纲和章节最终版本的一致性
|
||||
|
||||
输出对照报告和任何需要的更新建议。
|
||||
10
.claude/agents/worldview-check.md
Normal file
10
.claude/agents/worldview-check.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
name: worldview-check
|
||||
description: 世界观检查:确认无冲突且有故事性
|
||||
model: opus
|
||||
---
|
||||
对完成的世界观设定进行全面检查:
|
||||
1. 一致性检查:识别设定内部的逻辑矛盾或冲突
|
||||
2. 完整性检查:确认关键设定要素完备
|
||||
3. 故事性评估:分析设定的戏剧冲突潜力、故事发展空间
|
||||
4. 输出检查报告,如有问题提供修改建议
|
||||
91
.claude/commands/dagang.md
Normal file
91
.claude/commands/dagang.md
Normal file
@@ -0,0 +1,91 @@
|
||||
---
|
||||
description: dagang
|
||||
---
|
||||
```mermaid
|
||||
flowchart TD
|
||||
start_node_default([Start])
|
||||
check_settings[check-settings]
|
||||
settings_exists_check{If/Else:<br/>Conditional Branch}
|
||||
prompt_supplement_settings[您的小说设定尚未完整。请先补充以下设定内容后再进行大纲创作:]
|
||||
discuss_story_core[discuss-story-core]
|
||||
discuss_plot_conflicts[discuss-plot-conflicts]
|
||||
generate_outline[generate-outline]
|
||||
check_conflicts[check-conflicts]
|
||||
has_conflicts_check{If/Else:<br/>Conditional Branch}
|
||||
resolve_conflicts{AskUserQuestion:<br/>发现剧情与设定存在冲突,您希望如何处理?}
|
||||
apply_plot_changes[apply-plot-changes]
|
||||
end_node_default([End])
|
||||
end_node_incomplete([End])
|
||||
|
||||
start_node_default --> check_settings
|
||||
check_settings --> settings_exists_check
|
||||
settings_exists_check -->|设定存在| discuss_story_core
|
||||
settings_exists_check -->|设定缺失| prompt_supplement_settings
|
||||
prompt_supplement_settings --> end_node_incomplete
|
||||
discuss_story_core --> discuss_plot_conflicts
|
||||
discuss_plot_conflicts --> generate_outline
|
||||
generate_outline --> check_conflicts
|
||||
check_conflicts --> has_conflicts_check
|
||||
has_conflicts_check -->|有冲突| resolve_conflicts
|
||||
has_conflicts_check -->|无冲突| end_node_default
|
||||
resolve_conflicts -->|保留剧情,修改设定| apply_plot_changes
|
||||
resolve_conflicts -->|保留设定,修改剧情| apply_plot_changes
|
||||
resolve_conflicts -->|重新审视| apply_plot_changes
|
||||
apply_plot_changes --> check_conflicts
|
||||
```
|
||||
|
||||
## Workflow Execution Guide
|
||||
|
||||
Follow the Mermaid flowchart above to execute the workflow. Each node type has specific execution methods as described below.
|
||||
|
||||
### Execution Methods by Node Type
|
||||
|
||||
- **Rectangle nodes**: Execute Sub-Agents using the Task tool
|
||||
- **Diamond nodes (AskUserQuestion:...)**: Use the AskUserQuestion tool to prompt the user and branch based on their response
|
||||
- **Diamond nodes (Branch/Switch:...)**: Automatically branch based on the results of previous processing (see details section)
|
||||
- **Rectangle nodes (Prompt nodes)**: Execute the prompts described in the details section below
|
||||
|
||||
### Prompt Node Details
|
||||
|
||||
#### prompt_supplement_settings(您的小说设定尚未完整。请先补充以下设定内容后再进行大纲创作:)
|
||||
|
||||
```
|
||||
您的小说设定尚未完整。请先补充以下设定内容后再进行大纲创作:
|
||||
|
||||
1. 世界观设定(时代背景、地理环境、社会结构等)
|
||||
2. 角色设定(主要角色性格、背景、动机等)
|
||||
3. 核心主题/内核(您想通过故事表达什么)
|
||||
|
||||
请补充完整设定后重新启动流程。
|
||||
```
|
||||
|
||||
### AskUserQuestion Node Details
|
||||
|
||||
Ask the user and proceed based on their choice.
|
||||
|
||||
#### resolve_conflicts(发现剧情与设定存在冲突,您希望如何处理?)
|
||||
|
||||
**Selection mode:** Single Select (branches based on the selected option)
|
||||
|
||||
**Options:**
|
||||
- **保留剧情,修改设定**: 剧情更重要,相应调整原有设定以配合剧情发展
|
||||
- **保留设定,修改剧情**: 设定更核心,调整剧情使其符合原有设定
|
||||
- **重新审视**: 需要进一步讨论,综合考虑后决定
|
||||
|
||||
### If/Else Node Details
|
||||
|
||||
#### settings_exists_check(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **设定存在**: 设定文件已存在且内容完整
|
||||
- **设定缺失**: 设定文件不存在或内容不完整
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
|
||||
#### has_conflicts_check(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **有冲突**: 检测到剧情与设定存在冲突
|
||||
- **无冲突**: 未发现冲突或所有冲突已解决
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
48
.claude/commands/sheding.md
Normal file
48
.claude/commands/sheding.md
Normal file
@@ -0,0 +1,48 @@
|
||||
---
|
||||
description: sheding
|
||||
---
|
||||
```mermaid
|
||||
flowchart TD
|
||||
start_node_default([Start])
|
||||
check_settings{AskUserQuestion:<br/>是否已有小说世界观设定?}
|
||||
discuss_new[discuss-new]
|
||||
read_existing[read-existing]
|
||||
discuss_direction[discuss-direction]
|
||||
modify_settings[modify-settings]
|
||||
create_new_settings[create-new-settings]
|
||||
worldview_check[worldview-check]
|
||||
end_node_default([End])
|
||||
|
||||
start_node_default --> check_settings
|
||||
check_settings -->|无设定| discuss_new
|
||||
check_settings -->|有设定| read_existing
|
||||
read_existing --> discuss_direction
|
||||
discuss_direction --> modify_settings
|
||||
modify_settings --> worldview_check
|
||||
discuss_new --> create_new_settings
|
||||
create_new_settings --> worldview_check
|
||||
worldview_check --> end_node_default
|
||||
```
|
||||
|
||||
## Workflow Execution Guide
|
||||
|
||||
Follow the Mermaid flowchart above to execute the workflow. Each node type has specific execution methods as described below.
|
||||
|
||||
### Execution Methods by Node Type
|
||||
|
||||
- **Rectangle nodes**: Execute Sub-Agents using the Task tool
|
||||
- **Diamond nodes (AskUserQuestion:...)**: Use the AskUserQuestion tool to prompt the user and branch based on their response
|
||||
- **Diamond nodes (Branch/Switch:...)**: Automatically branch based on the results of previous processing (see details section)
|
||||
- **Rectangle nodes (Prompt nodes)**: Execute the prompts described in the details section below
|
||||
|
||||
### AskUserQuestion Node Details
|
||||
|
||||
Ask the user and proceed based on their choice.
|
||||
|
||||
#### check_settings(是否已有小说世界观设定?)
|
||||
|
||||
**Selection mode:** Single Select (branches based on the selected option)
|
||||
|
||||
**Options:**
|
||||
- **无设定**: 暂无任何设定,需要从零开始创作
|
||||
- **有设定**: 已有部分或完整的世界观设定需要完善
|
||||
70
.claude/commands/xigang.md
Normal file
70
.claude/commands/xigang.md
Normal file
@@ -0,0 +1,70 @@
|
||||
---
|
||||
description: xigang
|
||||
---
|
||||
```mermaid
|
||||
flowchart TD
|
||||
start_node_default([Start])
|
||||
check_outline{If/Else:<br/>Conditional Branch}
|
||||
prompt_add_outline[请先创建小说大纲文件,然后再使用此助手。]
|
||||
end_no_outline([End])
|
||||
check_progress{If/Else:<br/>Conditional Branch}
|
||||
analyze_progress[analyze-progress]
|
||||
create_detailed_outline[create-detailed-outline]
|
||||
review_and_refine[review-and-refine]
|
||||
end_node_default([End])
|
||||
|
||||
start_node_default --> check_outline
|
||||
check_outline -->|存在大纲| check_progress
|
||||
check_outline -->|不存在大纲| prompt_add_outline
|
||||
prompt_add_outline --> end_no_outline
|
||||
check_progress -->|存在进度文件| create_detailed_outline
|
||||
check_progress -->|不存在进度文件| analyze_progress
|
||||
analyze_progress --> create_detailed_outline
|
||||
create_detailed_outline --> review_and_refine
|
||||
review_and_refine --> end_node_default
|
||||
```
|
||||
|
||||
## Workflow Execution Guide
|
||||
|
||||
Follow the Mermaid flowchart above to execute the workflow. Each node type has specific execution methods as described below.
|
||||
|
||||
### Execution Methods by Node Type
|
||||
|
||||
- **Rectangle nodes**: Execute Sub-Agents using the Task tool
|
||||
- **Diamond nodes (AskUserQuestion:...)**: Use the AskUserQuestion tool to prompt the user and branch based on their response
|
||||
- **Diamond nodes (Branch/Switch:...)**: Automatically branch based on the results of previous processing (see details section)
|
||||
- **Rectangle nodes (Prompt nodes)**: Execute the prompts described in the details section below
|
||||
|
||||
### Prompt Node Details
|
||||
|
||||
#### prompt_add_outline(请先创建小说大纲文件,然后再使用此助手。)
|
||||
|
||||
```
|
||||
请先创建小说大纲文件,然后再使用此助手。
|
||||
|
||||
大纲文件应包含:
|
||||
- 故事背景设定
|
||||
- 主要人物设定
|
||||
- 整体剧情结构
|
||||
- 主要情节节点
|
||||
|
||||
请创建大纲后重新运行。
|
||||
```
|
||||
|
||||
### If/Else Node Details
|
||||
|
||||
#### check_outline(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **存在大纲**: 项目目录中存在大纲文件(outline.md或大纲.md或类似文件)
|
||||
- **不存在大纲**: 项目目录中不存在大纲文件
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
|
||||
#### check_progress(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **存在进度文件**: 项目中存在进度文档文件(progress.md或进度.md)
|
||||
- **不存在进度文件**: 项目中不存在进度文档文件
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
130
.claude/commands/zhangjie.md
Normal file
130
.claude/commands/zhangjie.md
Normal file
@@ -0,0 +1,130 @@
|
||||
---
|
||||
description: zhangjie
|
||||
---
|
||||
```mermaid
|
||||
flowchart TD
|
||||
start_node_default([Start])
|
||||
check_project_structure[check-project-structure]
|
||||
structure_check{If/Else:<br/>Conditional Branch}
|
||||
prompt_missing_files[您的小说项目缺少必需的文件。请先完成以下工作后再使用此...]
|
||||
end_incomplete([End])
|
||||
analyze_progress[analyze-progress_zj]
|
||||
has_unwritten_check{If/Else:<br/>Conditional Branch}
|
||||
chapter_divider[chapter-divider]
|
||||
write_chapter[[Skill: novel-writer]]
|
||||
rhetoric_optimize[rhetoric-optimize]
|
||||
de_ai_check[de-ai-check]
|
||||
content_review[content-review]
|
||||
review_pass_check{If/Else:<br/>Conditional Branch}
|
||||
revise_chapter[revise-chapter]
|
||||
save_chapter[save-chapter]
|
||||
has_more_check{If/Else:<br/>Conditional Branch}
|
||||
sync_check[sync-check]
|
||||
end_node_default([End])
|
||||
|
||||
start_node_default --> check_project_structure
|
||||
check_project_structure --> structure_check
|
||||
structure_check -->|结构完整| analyze_progress
|
||||
structure_check -->|结构缺失| prompt_missing_files
|
||||
prompt_missing_files --> end_incomplete
|
||||
analyze_progress --> has_unwritten_check
|
||||
has_unwritten_check -->|有未完成章节| chapter_divider
|
||||
has_unwritten_check -->|全部完成| sync_check
|
||||
chapter_divider --> write_chapter
|
||||
write_chapter --> rhetoric_optimize
|
||||
rhetoric_optimize --> de_ai_check
|
||||
de_ai_check --> content_review
|
||||
content_review --> review_pass_check
|
||||
review_pass_check -->|需要修改| revise_chapter
|
||||
review_pass_check -->|审核通过| save_chapter
|
||||
revise_chapter --> content_review
|
||||
save_chapter --> has_more_check
|
||||
has_more_check -->|继续下一章| chapter_divider
|
||||
has_more_check -->|全部完成| end_node_default
|
||||
sync_check --> end_node_default
|
||||
```
|
||||
|
||||
## Workflow Execution Guide
|
||||
|
||||
Follow the Mermaid flowchart above to execute the workflow. Each node type has specific execution methods as described below.
|
||||
|
||||
### Execution Methods by Node Type
|
||||
|
||||
- **Rectangle nodes**: Execute Sub-Agents using the Task tool
|
||||
- **Diamond nodes (AskUserQuestion:...)**: Use the AskUserQuestion tool to prompt the user and branch based on their response
|
||||
- **Diamond nodes (Branch/Switch:...)**: Automatically branch based on the results of previous processing (see details section)
|
||||
- **Rectangle nodes (Prompt nodes)**: Execute the prompts described in the details section below
|
||||
|
||||
## Skill Nodes
|
||||
|
||||
#### write_chapter(novel-writer)
|
||||
|
||||
**Description**: Specialized AI skill for writing novel chapters from detailed outlines. Creates engaging, well-written chapter content that adheres to established settings, plot outlines, and character profiles.
|
||||
|
||||
**Scope**: project
|
||||
|
||||
**Validation Status**: missing
|
||||
|
||||
**Skill Path**: ``
|
||||
|
||||
This node executes a Claude Code Skill. The Skill definition is stored in the SKILL.md file at the path shown above.
|
||||
|
||||
### Prompt Node Details
|
||||
|
||||
#### prompt_missing_files(您的小说项目缺少必需的文件。请先完成以下工作后再使用此...)
|
||||
|
||||
```
|
||||
您的小说项目缺少必需的文件。请先完成以下工作后再使用此工作流:
|
||||
|
||||
**缺失文件处理**:
|
||||
1. 如果缺少设定文件,请先运行设定工作流(sheding.json工作流)
|
||||
2. 如果缺少大纲文件,请先运行大纲工作流(dagang.json工作流)
|
||||
3. 如果缺少细纲,请先运行细纲工作流(xigang.json工作流)
|
||||
|
||||
**模板文件**:
|
||||
- 项目模板已保存在 templates/ 目录下
|
||||
- 复制对应的 .template 文件并填写内容
|
||||
|
||||
**文件位置说明**:
|
||||
- sheding.json: 项目根目录/设定/
|
||||
- dagang.json: 项目根目录/大纲/
|
||||
- progress.md: 项目根目录/
|
||||
- 细纲文件: 项目根目录/细纲/
|
||||
- 章节文件: 项目根目录/章节/
|
||||
|
||||
请补充完整后重新运行。
|
||||
```
|
||||
|
||||
### If/Else Node Details
|
||||
|
||||
#### structure_check(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **结构完整**: 项目结构完整,所有必需文件存在
|
||||
- **结构缺失**: 项目结构不完整,缺少必需文件
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
|
||||
#### has_unwritten_check(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **有未完成章节**: 存在需要编写的章节
|
||||
- **全部完成**: 所有细纲对应的章节已全部完成
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
|
||||
#### review_pass_check(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **需要修改**: 审核发现问题,需要修改
|
||||
- **审核通过**: 审核通过,可以保存章节
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
|
||||
#### has_more_check(Binary Branch (True/False))
|
||||
|
||||
**Branch conditions:**
|
||||
- **继续下一章**: 还有未完成的细纲章节
|
||||
- **全部完成**: 所有细纲对应的章节已全部完成
|
||||
|
||||
**Execution method**: Evaluate the results of the previous processing and automatically select the appropriate branch based on the conditions above.
|
||||
14
.claude/settings.local.json
Normal file
14
.claude/settings.local.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Skill(ralph-loop:ralph-loop)",
|
||||
"Skill(ralph-loop:ralph-loop:*)",
|
||||
"mcp__web-search-prime__webSearchPrime",
|
||||
"mcp__web-reader__webReader",
|
||||
"Bash(git init:*)",
|
||||
"Bash(git remote add:*)",
|
||||
"Bash(git add:*)",
|
||||
"Bash(git commit:*)"
|
||||
]
|
||||
}
|
||||
}
|
||||
73
.claude/skills/novel-writer.md
Normal file
73
.claude/skills/novel-writer.md
Normal file
@@ -0,0 +1,73 @@
|
||||
# Novel Writer Skill
|
||||
|
||||
## Description
|
||||
|
||||
Specialized AI skill for writing novel chapters from detailed outlines. This skill creates engaging, well-written chapter content that adheres to established settings, plot outlines, and character profiles while maintaining narrative consistency and literary quality.
|
||||
|
||||
## Use Cases
|
||||
|
||||
- Convert detailed chapter outlines into full novel chapters
|
||||
- Write chapter content with proper pacing, dialogue, and scene descriptions
|
||||
- Ensure consistency with established world settings and character traits
|
||||
- Maintain narrative flow across multiple chapters
|
||||
|
||||
## Instructions
|
||||
|
||||
When writing novel chapters, follow these guidelines:
|
||||
|
||||
### Pre-Writing Checks
|
||||
1. Read all available setting files (sheding.json) to understand:
|
||||
- World rules, magic/tech systems, geography, politics, culture
|
||||
- Character traits, backgrounds, motivations, speech patterns
|
||||
2. Read the main outline (dagang.json) to understand:
|
||||
- Overall story arc and themes
|
||||
- Major plot points and their relationships
|
||||
3. Read the detailed outline (xigang.json) for the specific chapter(s)
|
||||
4. Read progress.md to understand what has been completed
|
||||
|
||||
### Writing Guidelines
|
||||
1. **Show, Don't Tell**: Use actions, dialogue, and sensory details rather than exposition
|
||||
2. **Character Voice**: Each character should have distinct speech patterns and mannerisms
|
||||
3. **Pacing**: Match scene intensity with appropriate pacing (fast for action, slow for introspection)
|
||||
4. **Dialogue**: Write natural, purposeful dialogue that reveals character or advances plot
|
||||
5. **Scene Structure**: Each scene should have a beginning, middle, and purpose
|
||||
6. **Sensory Details**: Include visual, auditory, tactile, olfactory descriptions when relevant
|
||||
7. **POV Consistency**: Maintain consistent point of view throughout the chapter
|
||||
|
||||
### Content Requirements
|
||||
- Chapter length: 2000-5000 words (adjust based on story needs)
|
||||
- Begin with a hook that draws readers in
|
||||
- End with a reason to continue reading
|
||||
- All character actions must be consistent with their established traits
|
||||
- All events must align with world setting rules
|
||||
- Reference but don't repeat information from previous chapters
|
||||
|
||||
### Quality Standards
|
||||
- No logical inconsistencies with established canon
|
||||
- No plot holes or contradictions
|
||||
- Natural dialogue that fits each character's voice
|
||||
- Vivid, immersive descriptions
|
||||
- Emotional resonance appropriate to the scene
|
||||
|
||||
### Output Format
|
||||
```markdown
|
||||
# 第X章 [Chapter Title]
|
||||
|
||||
[Chapter content with proper paragraph breaks, dialogue formatting, and scene transitions]
|
||||
|
||||
---
|
||||
|
||||
**本章要点**: [Brief summary of key events for progress tracking]
|
||||
**下一章预设**: [Brief setup for next chapter]
|
||||
```
|
||||
|
||||
### Tools Used
|
||||
- Read: For accessing all setting, outline, and progress files
|
||||
- Write: For creating chapter files
|
||||
- Edit: For revising chapter content
|
||||
|
||||
## Configuration
|
||||
|
||||
- **Model**: opus (for best creative writing quality)
|
||||
- **Temperature**: 0.8 (balance creativity and consistency)
|
||||
- **Scope**: project (shared across this novel project)
|
||||
Reference in New Issue
Block a user