Files
novel_world/.claude/commands/zhangjie.md
锦麟 王 a3d6053775 feat: 完成A线详细大纲
- 加入巫族首领摄司的设定(开放祖庭、贡献值制度)
- 修正人族演化路径:底层献祭品→贡献值→祖庭核心→导演终局
- 修正终局之战逻辑:人族制造假情报,坐收渔利
- 修正刑天结局:至死都是巫族,战死沙场
- 修正九黎阙设定:后期配角,主动被寄生50年后自爆
- 核心主题:人族成长=否定血脉论

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 15:52:59 +08:00

131 lines
5.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
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.