Skip to main content

Skill.md

miaobi-shenghua

妙笔生花 - 半自动小说工作台。五组件联动:设定→拆文→细纲→正文→可视化。 用户说"妙笔生花"/"开新书"/"拆文"/"写细纲"/"写正文"/"写作"/"写x章"/"打开可视化"/"拓扑图"时激活。

  • components/01-project-init/examples/示例_L1总纲.md
  • components/01-project-init/examples/示例_L2分卷细纲.md
  • components/01-project-init/examples/示例_L3章纲.md
  • components/01-project-init/examples/示例_世界观设定.md
  • components/01-project-init/examples/示例_角色卡.md
  • components/01-project-init/examples/示例_金手指设定.md
  • components/01-project-init/examples/示例_项目信息.md
  • components/01-project-init/SKILL.md
  • components/01-project-init/templates/01_项目信息.md
  • components/01-project-init/templates/02_世界观设定.md
  • components/01-project-init/templates/03_金手指设定.md
  • components/01-project-init/templates/04_修炼体系.md
  • components/01-project-init/templates/05_地图与世界.md
  • components/01-project-init/templates/06_势力设定.md
  • components/01-project-init/templates/L1_总纲模板.md
  • components/01-project-init/templates/L2_分卷细纲模板.md
  • components/01-project-init/templates/L3_章纲模板.md
  • components/01-project-init/templates/角色卡模板.md
  • components/02-deconstruction/guides/01_拆文分析与仿写学习指南.md
  • components/02-deconstruction/guides/02_词汇偏好收集与排序系统.md
  • components/02-deconstruction/guides/03_套路拆解与库建设指南.md
  • components/02-deconstruction/SKILL.md
  • components/02-deconstruction/templates/句式库模板.md
  • components/02-deconstruction/templates/套路库模板.md
  • components/02-deconstruction/templates/段落库模板.md
  • components/02-deconstruction/templates/词汇库模板.md
  • components/03-outline/guides/01_细纲生成指南.md
  • components/03-outline/SKILL.md
  • components/03-outline/templates/细纲用户输入模板.md
  • components/03-outline/templates/章节细纲模板.md
  • components/04-writing/guides/01_反AI写作风格指南.md
  • components/04-writing/guides/02_角色状态机与角色卡指南.md
  • components/04-writing/guides/03_伏笔追踪指南.md
  • components/04-writing/guides/04_时间线管理指南.md
  • components/04-writing/guides/05_正文写作质检清单.md
  • components/04-writing/guides/06_词汇替换参考指南.md
  • components/04-writing/SKILL.md
  • components/04-writing/templates/正文写作模板.md
  • components/04-writing/templates/词汇替换参考模板.md
  • components/05-visualization/guides/01_可视化组件使用指南.md
  • components/05-visualization/server/package.json
  • components/05-visualization/server/server.js
  • components/05-visualization/SKILL.md
  • components/05-visualization/templates/可视化配置模板.json
  • components/05-visualization/web/app.js
  • components/05-visualization/web/entry.html
  • components/05-visualization/web/index.html

SKILL.md

---
name: miaobi-shenghua
description: >
  妙笔生花 - 半自动小说工作台。五组件联动:设定→拆文→细纲→正文→可视化。
  用户说"妙笔生花"/"开新书"/"拆文"/"写细纲"/"写正文"/"写作"/"写x章"/"打开可视化"/"拓扑图"时激活。
---

# 妙笔生花 - 半自动小说工作台

**架构**: 五组件联动(设定→拆文→细纲→正文→可视化)

**核心理念**: 半自动。用户提供信息,AI格式化、辅助检查、生成提示词和正文。AI不编造设定和细纲内容。

---

## 半自动硬规则(全局)

1. **禁止AI编造设定内容**:世界观、人物、金手指、修炼体系等设定必须由用户提供
2. **禁止AI编造细纲内容**:出场人物、事件、冲突、情绪走向必须由用户提供
3. **一个信息→一个文件**:用户提供一份完整信息,AI创建一个对应文件
4. **等用户提供后再操作**:AI先问→用户回复→AI再执行
5. **AI只做三件事**:格式化、辅助检查、生成(提示词/正文)
6. **AI可以建议补充**:如"你可能还需要考虑XX",但必须等用户确认

---

## 组件总览

| 组件 | 名称 | 功能 | 前置条件 | 调用地址 |
|------|------|------|---------|---------|
| **组件一** | 项目设定 | 用户主导确定世界观、人物、金手指、修炼体系、地图 | 无 | `components/01-project-init/SKILL.md` |
| **组件二** | 拆文分析 | 拆解参考小说,构建语料资料库 | 需先运行组件一 | `components/02-deconstruction/SKILL.md` |
| **组件三** | 细纲写作 | 用户主导写细纲,AI读取设定辅助生成细纲提示词 | 需先运行组件一 | `components/03-outline/SKILL.md` |
| **组件四** | 正文生成 | AI读取细纲+设定生成正文,质检+AI味清理 | 需先运行组件一、三 | `components/04-writing/SKILL.md` |
| **组件五** | 可视化拓扑 | 可视化编辑人物/事件/世界观关系拓扑图 | 需先运行组件一 | `components/05-visualization/SKILL.md` |

---

## 核心工作流

```
开新书
  ↓
组件一:项目设定(用户主导)
  - 确定世界观(必填)
  - 确定人物角色(必填)
  - 确定金手指(可选,根据类型)
  - 确定修炼体系(可选,根据类型)
  - 确定地图/世界(可选,根据类型)
  - 生成总纲
  ↓
组件二:拆文分析(可多次执行)
  - 拆解参考小说
  - 构建语句素材库
  - 构建套路库
  ↓
组件三:细纲写作(用户主导)
  Step 1: 用户写细纲核心内容
    - 出场人物
    - 事件/冲突
    - 情绪走向
  Step 2: AI读取设定+前文,辅助补充
    - 伏笔检查
    - 连续性检查
    - 角色状态检查
  Step 3: 生成细纲提示词+正文提示词
  Step 4: 用户确认
  ↓
组件四:正文生成
  Phase 1: 生成正文草稿
  Phase 2: AI味检测+标记+建议替换
  Phase 3: 词汇替换参考
  Phase 4: 用户确认定稿
  Phase 5: 后置流程(自动)
    - 质检报告
    - 角色状态更新
    - 时间线登记
    - 伏笔状态更新
    - 资料库权重更新
  ↓
组件五:可视化拓扑(按需启动)
  - 查看人物关系网络
  - 标记悬疑点/反转点/高潮
  - 与文档双向同步
```

---

## 全局约束

1. 技能目录只保留模板和定义,不存项目数据
2. 所有项目数据放在项目根目录
3. 设定和细纲由用户主导,AI辅助不替代
4. 权重按类型隔离,不跨类型影响
5. 权重只存储在语句素材库中,不写入记忆账本
6. 后置触发顺序:质检→角色状态更新→时间线登记→伏笔状态更新→资料库权重更新
7. AI味检测:自动检测+标记+建议替换,用户确认后执行

---

## 交互规范(AskUserQuestion使用规则)

### 选项格式规范

```json
{
  "question": "问题文本",
  "header": "简短标题",
  "options": [
    {"label": "选项标题", "description": "补充说明"},
    {"label": "选项标题", "description": "补充说明"}
  ],
  "multiSelect": false
}
```

### 关键规则

| 字段 | 用途 | 要求 |
|------|------|------|
| **label** | 选项标题栏,用户点击的目标 | 简短明确,1-5个字,必须包含核心信息 |
| **description** | 选项下方补充说明 | 可选,仅作辅助,不要把重要内容只放这里 |
| **question** | 问题文本 | 明确具体,不要模糊 |
| **header** | 简短标题 | 3-5个字概括问题 |

### 错误示例 vs 正确示例

**错误**(内容放description,label无法选择):
```json
{"label": "时间", "description": "现代日本(咒术回战原作时间线)2018年左右"}
```

**正确**(核心内容放label,description辅助):
```json
{"label": "现代日本(2018年)", "description": "咒术回战原作时间线"}
```

What it can run on your machine

  • components/05-visualization/server/server.js
  • components/05-visualization/web/app.js

Read these files before you install the skill.