Ver Fonte

docs: align skill references and consistency rules

lingfengQAQ há 4 meses atrás
pai
commit
622820f456

+ 1 - 1
.claude/agents/pacing-checker.md

@@ -38,7 +38,7 @@ tools: Read, Grep, Bash
 **Optional: Use status_reporter for automated analysis**:
 **Optional: Use status_reporter for automated analysis**:
 ```bash
 ```bash
 # 获取 Strand Weave 详细分析(推荐)
 # 获取 Strand Weave 详细分析(推荐)
-python -m scripts.status_reporter --focus strand --project-root "${PROJECT_ROOT}"
+python "${CLAUDE_PLUGIN_ROOT}/scripts/status_reporter.py" --focus strand --project-root "${PROJECT_ROOT}"
 
 
 # 输出包含:
 # 输出包含:
 # - Quest/Fire/Constellation 占比统计
 # - Quest/Fire/Constellation 占比统计

+ 1 - 1
.claude/skills/webnovel-init/references/system-data-flow.md

@@ -12,7 +12,7 @@ v5.4:版本号对齐,权威版本已更新。
 
 
 ## 权威版本位置
 ## 权威版本位置
 
 
-`skills/webnovel-query/references/system-data-flow.md` (v5.4)
+`${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/system-data-flow.md` (v5.4)
 
 
 ## 加载方式
 ## 加载方式
 
 

+ 6 - 6
.claude/skills/webnovel-plan/SKILL.md

@@ -70,13 +70,13 @@ Extract for current genre:
 
 
 ### Strand Weave 规划策略
 ### Strand Weave 规划策略
 Based on genre profile, distribute chapters:
 Based on genre profile, distribute chapters:
-- **Quest Strand** (主线推进): 40-60% 章节
+- **Quest Strand** (主线推进): 55-65% 章节
   - 目标明确、进展可见、有阶段性成果
   - 目标明确、进展可见、有阶段性成果
   - 例:突破境界、完成任务、获得宝物
   - 例:突破境界、完成任务、获得宝物
-- **Fire Strand** (情感/关系): 20-35% 章节
+- **Fire Strand** (情感/关系): 20-30% 章节
   - 人物关系变化、情感冲突、团队动态
   - 人物关系变化、情感冲突、团队动态
   - 例:与女主互动、师徒矛盾、兄弟背叛
   - 例:与女主互动、师徒矛盾、兄弟背叛
-- **Constellation Strand** (世界/谜团): 10-25% 章节
+- **Constellation Strand** (世界/谜团): 10-20% 章节
   - 世界观揭示、伏笔埋设、谜团推进
   - 世界观揭示、伏笔埋设、谜团推进
   - 例:发现古老秘密、揭示反派阴谋、世界真相
   - 例:发现古老秘密、揭示反派阴谋、世界真相
 
 
@@ -228,9 +228,9 @@ Save after each batch:
 
 
 **2. Strand 比例检查**
 **2. Strand 比例检查**
 Count chapters by Strand and compare with genre profile:
 Count chapters by Strand and compare with genre profile:
-- Quest: 应占 40-60%
-- Fire: 应占 20-35%
-- Constellation: 应占 10-25%
+- Quest: 应占 55-65%
+- Fire: 应占 20-30%
+- Constellation: 应占 10-20%
 
 
 If deviation > 15%, adjust chapter assignments.
 If deviation > 15%, adjust chapter assignments.
 
 

+ 7 - 6
.claude/skills/webnovel-resume/SKILL.md

@@ -73,12 +73,13 @@ cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-resume/references/system-data-flow.md
 | Step | 难度 | 恢复策略 |
 | Step | 难度 | 恢复策略 |
 |------|------|---------|
 |------|------|---------|
 | Step 1 | ⭐ | 直接重新执行 |
 | Step 1 | ⭐ | 直接重新执行 |
-| Step 2 | ⭐⭐ | 删除半成品,重新开始 |
-| Step 3 | ⭐⭐ | 重新运行提取 |
-| Step 4 | ⭐⭐⭐ | 验证 state.json 一致性 |
-| Step 5 | ⭐⭐ | 重新运行 strand 更新 |
-| Step 6 | ⭐⭐⭐⭐⭐ | 成本高 - 5个检查员 ~$0.15 |
-| Step 7 | ⭐ | 重新运行 git 备份 |
+| Step 1.5 | ⭐ | 重新设计 |
+| Step 2A | ⭐⭐ | 删除半成品,重新开始 |
+| Step 2B | ⭐⭐ | 继续适配或回到 2A |
+| Step 3 | ⭐⭐⭐ | 用户决定:重审或跳过 |
+| Step 4 | ⭐⭐ | 继续润色或删除重写 |
+| Step 5 | ⭐⭐ | 重新运行(幂等) |
+| Step 6 | ⭐⭐⭐ | 检查暂存区,决定提交/回滚 |
 
 
 ## Step 4: 检测中断状态
 ## Step 4: 检测中断状态
 
 

+ 2 - 2
.claude/skills/webnovel-resume/references/system-data-flow.md

@@ -12,7 +12,7 @@ v5.4:版本号对齐,权威版本已更新。
 
 
 ## 权威版本位置
 ## 权威版本位置
 
 
-`skills/webnovel-query/references/system-data-flow.md` (v5.4)
+`${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/system-data-flow.md` (v5.4)
 
 
 ## 加载方式
 ## 加载方式
 
 
@@ -39,6 +39,6 @@ cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/system-data-flow.md"
 - **双 Agent 架构**: Context Agent (读) + Data Agent (写)
 - **双 Agent 架构**: Context Agent (读) + Data Agent (写)
 - **无 XML 标签**: 纯正文写作,Data Agent AI 自动提取实体
 - **无 XML 标签**: 纯正文写作,Data Agent AI 自动提取实体
 - **SQLite 存储**: entities/aliases/state_changes 迁移到 index.db
 - **SQLite 存储**: entities/aliases/state_changes 迁移到 index.db
-- **state.json 精简**: 保持 < 5KB,仅存 protagonist_state 和 plot_threads
+- **state.json 精简**: 保持 < 5KB,主要包含 progress/protagonist_state/strand_tracker/disambiguation
 
 
 </instructions>
 </instructions>

+ 1 - 1
.claude/skills/webnovel-write/references/polish-guide.md

@@ -9,7 +9,7 @@ version: "5.4"
 
 
 润色步骤接收两个输入:
 润色步骤接收两个输入:
 1. 章节正文
 1. 章节正文
-2. 审查报告(来自 6 个 checker agents)
+2. 审查报告(来自 4-6 个 checker agents,默认 4 个,关键章可扩展到 6 个
 
 
 **与 Step 2B (style-adapter) 的职责边界**:
 **与 Step 2B (style-adapter) 的职责边界**:
 - **Step 2B**: 纯风格转换 —— 句式改写、抽象→具体、长句拆分
 - **Step 2B**: 纯风格转换 —— 句式改写、抽象→具体、长句拆分

+ 4 - 2
.claude/skills/webnovel-write/references/workflow-details.md

@@ -65,14 +65,16 @@ cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-write/references/style-adapter.md"
 │ continuity-checker   │ PASS/FAIL │ {N}          │
 │ continuity-checker   │ PASS/FAIL │ {N}          │
 │ ooc-checker          │ PASS/FAIL │ {N}          │
 │ ooc-checker          │ PASS/FAIL │ {N}          │
 │ reader-pull-checker  │ PASS/FAIL │ {N}          │
 │ reader-pull-checker  │ PASS/FAIL │ {N}          │
-│ high-point-checker   │ PASS/FAIL │ {N}          │
-│ pacing-checker       │ PASS/FAIL │ {N}          │
+│ high-point-checker*  │ PASS/FAIL │ {N}          │
+│ pacing-checker*      │ PASS/FAIL │ {N}          │
 ├──────────────────────┴───────────┴──────────────┤
 ├──────────────────────┴───────────┴──────────────┤
 │ critical issues: {N}  |  high issues: {N}       │
 │ critical issues: {N}  |  high issues: {N}       │
 │ 是否可进入润色: {是/否}                           │
 │ 是否可进入润色: {是/否}                           │
 └─────────────────────────────────────────────────┘
 └─────────────────────────────────────────────────┘
 ```
 ```
 
 
+`*` 默认流程可不运行,关键章/卷末/用户明确要求时再启用。
+
 **审查指标 JSON**:
 **审查指标 JSON**:
 ```json
 ```json
 {
 {

+ 1 - 1
.claude/skills/webnovel-write/references/writing/typesetting.md

@@ -57,4 +57,4 @@
 7. 场景切换是否清晰(空行/分隔/过渡句)
 7. 场景切换是否清晰(空行/分隔/过渡句)
 8. 章内是否至少 1 个明确推进点(信息/行动/转折)
 8. 章内是否至少 1 个明确推进点(信息/行动/转折)
 9. 章末是否有钩子
 9. 章末是否有钩子
-10. 新实体首次出现是否写清楚(名字/身份/记忆点);如需手动标注(可选):使用隐藏 XML 标签(见 tag-specification.md)
+10. 新实体首次出现是否写清楚(名字/身份/记忆点);如需手动标注(可选):使用隐藏 XML 标签(见 `${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/tag-specification.md`