webnovel-query
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInformation Query Skill
Information Query Skill
Project Root Guard(必须先确认)
Project Root Guard (Must Confirm First)
- 必须在项目根目录执行(需存在 )
.webnovel/state.json - 若当前目录不存在该文件,先询问用户项目路径并 进入
cd - 进入后设置变量:
$PROJECT_ROOT = (Resolve-Path ".").Path - 禁止在 下读取或写入项目文件
.claude/
- Must be executed in the project root directory (must exist)
.webnovel/state.json - If the file does not exist in the current directory, first ask the user for the project path and into it
cd - After entering, set the variable:
$PROJECT_ROOT = (Resolve-Path ".").Path - Forbidden to read or write project files under
.claude/
Workflow Checklist
Workflow Checklist
Copy and track progress:
信息查询进度:
- [ ] Step 1: 识别查询类型
- [ ] Step 2: 加载对应参考文件
- [ ] Step 3: 加载项目数据 (state.json)
- [ ] Step 4: 确认上下文充足
- [ ] Step 5: 执行查询
- [ ] Step 6: 格式化输出Copy and track progress:
Information Query Progress:
- [ ] Step 1: Identify Query Type
- [ ] Step 2: Load Corresponding Reference Files
- [ ] Step 3: Load Project Data (state.json)
- [ ] Step 4: Confirm Sufficient Context
- [ ] Step 5: Execute Query
- [ ] Step 6: Format OutputReference Loading Levels (strict, lazy)
Reference Loading Levels (strict, lazy)
- L0: 先识别查询类型,不预加载全部参考。
- L1: 所有查询仅加载基础数据流规范。
- L2: 仅按查询类型加载对应专题参考。
- L0: First identify the query type, do not preload all references.
- L1: All queries only load the basic data flow specification.
- L2: Only load corresponding thematic references based on query type.
L1 (minimum)
L1 (minimum)
references/system-data-flow.md
references/system-data-flow.md
L2 (conditional by query type)
L2 (conditional by query type)
- 伏笔查询:
references/advanced/foreshadowing.md - 节奏查询:
../webnovel-plan/references/strand-weave-pattern.md - 标签格式查询:
references/tag-specification.md
Do not load two or more L2 files unless the user request clearly spans multiple query types.
- Foreshadowing query:
references/advanced/foreshadowing.md - Pacing query:
../webnovel-plan/references/strand-weave-pattern.md - Tag format query:
references/tag-specification.md
Do not load two or more L2 files unless the user request clearly spans multiple query types.
Step 1: 识别查询类型
Step 1: Identify Query Type
| 关键词 | 查询类型 | 需加载 |
|---|---|---|
| 角色/主角/配角 | 标准查询 | system-data-flow.md |
| 境界/筑基/金丹 | 标准查询 | system-data-flow.md |
| 伏笔/紧急伏笔 | 伏笔分析 | foreshadowing.md |
| 金手指/系统 | 金手指状态 | system-data-flow.md |
| 节奏/Strand | 节奏分析 | strand-weave-pattern.md |
| 标签/实体格式 | 格式查询 | tag-specification.md |
| Keyword | Query Type | Required Loading |
|---|---|---|
| Character/Protagonist/Supporting Character | Standard Query | system-data-flow.md |
| Cultivation Realm/Foundation Establishment/Golden Core | Standard Query | system-data-flow.md |
| Foreshadowing/Urgent Foreshadowing | Foreshadowing Analysis | foreshadowing.md |
| Golden Finger/System | Golden Finger Status | system-data-flow.md |
| Pacing/Strand | Pacing Analysis | strand-weave-pattern.md |
| Tag/Entity Format | Format Query | tag-specification.md |
Step 2: 加载对应参考文件
Step 2: Load Corresponding Reference Files
所有查询必须执行:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/system-data-flow.md"伏笔查询额外执行:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/advanced/foreshadowing.md"节奏查询额外执行:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-plan/references/strand-weave-pattern.md"标签格式查询额外执行:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/tag-specification.md"All queries must execute:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/system-data-flow.md"Additional execution for foreshadowing queries:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/advanced/foreshadowing.md"Additional execution for pacing queries:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-plan/references/strand-weave-pattern.md"Additional execution for tag format queries:
bash
cat "${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query/references/tag-specification.md"Step 3: 加载项目数据
Step 3: Load Project Data
bash
cat "$PROJECT_ROOT/.webnovel/state.json"bash
cat "$PROJECT_ROOT/.webnovel/state.json"Step 4: 确认上下文充足
Step 4: Confirm Sufficient Context
检查清单:
- 查询类型已识别
- 对应参考文件已加载
- state.json 已加载
- 知道在哪里搜索答案
如有缺失 → 返回对应 Step
Checklist:
- Query type identified
- Corresponding reference files loaded
- state.json loaded
- Know where to search for answers
If missing → Return to corresponding Step
Step 5: 执行查询
Step 5: Execute Query
标准查询
Standard Query
| 关键词 | 搜索目标 |
|---|---|
| 角色/主角/配角 | 主角卡.md, 角色库/ |
| 境界/实力 | 力量体系.md |
| 宗门/势力 | 世界观.md |
| 物品/宝物 | 物品库/ |
| 地点/秘境 | 世界观.md |
| Keyword | Search Target |
|---|---|
| Character/Protagonist/Supporting Character | protagonist-card.md, character-library/ |
| Cultivation Realm/Power | power-system.md |
| Clan/Faction | worldview.md |
| Item/Treasure | item-library/ |
| Location/Secret Realm | worldview.md |
伏笔紧急度分析
Foreshadowing Urgency Analysis
三层分类(来自 foreshadowing.md):
- 核心伏笔: 主线剧情 - 权重 3.0x
- 支线伏笔: 配角/支线 - 权重 2.0x
- 装饰伏笔: 氛围/细节 - 权重 1.0x
紧急度公式:
紧急度 = (已过章节 / 目标章节) × 层级权重状态判定:
- 🔴 Critical: 超过目标 OR 核心 >20 章
- 🟡 Warning: >80% 目标 OR 支线 >30 章
- 🟢 Normal: 计划范围内
快速分析:
bash
python "${CLAUDE_PLUGIN_ROOT}/scripts/status_reporter.py" --focus urgency --project-root "$PROJECT_ROOT"Three-Tier Classification (from foreshadowing.md):
- Core Foreshadowing: Main Plot - Weight 3.0x
- Side Foreshadowing: Supporting Character/Side Plot - Weight 2.0x
- Decorative Foreshadowing: Atmosphere/Details - Weight 1.0x
Urgency Formula:
Urgency = (Chapters Passed / Target Chapters) × Tier WeightStatus Determination:
- 🔴 Critical: Exceeds target OR Core >20 chapters
- 🟡 Warning: >80% of target OR Side >30 chapters
- 🟢 Normal: Within planned range
Quick Analysis:
bash
python "${CLAUDE_PLUGIN_ROOT}/scripts/status_reporter.py" --focus urgency --project-root "$PROJECT_ROOT"金手指状态
Golden Finger Status
输出包含:
- 基本信息(名称/类型/激活章节)
- 当前等级和进度
- 已解锁技能及冷却
- 待解锁技能预览
- 升级条件
- 发展建议
Output includes:
- Basic information (Name/Type/Activation Chapter)
- Current level and progress
- Unlocked skills and cooldowns
- Preview of upcoming unlocked skills
- Upgrade conditions
- Development suggestions
Strand 节奏分析
Strand Pacing Analysis
快速分析:
bash
python "${CLAUDE_PLUGIN_ROOT}/scripts/status_reporter.py" --focus strand --project-root "$PROJECT_ROOT"检查警告:
- Quest >5 连续章
- Fire >10 章未出现
- Constellation >15 章未出现
Quick Analysis:
bash
python "${CLAUDE_PLUGIN_ROOT}/scripts/status_reporter.py" --focus strand --project-root "$PROJECT_ROOT"Check Warnings:
- Quest >5 consecutive chapters
- Fire >10 chapters without appearance
- Constellation >15 chapters without appearance
Step 6: 格式化输出
Step 6: Format Output
markdown
undefinedmarkdown
undefined查询结果:{关键词}
Query Result: {Keyword}
📊 概要
📊 Overview
- 匹配类型: {type}
- 数据源: state.json + 设定集 + 大纲
- 匹配数量: X 条
- Match Type: {type}
- Data Source: state.json + Setting Documents + Outline
- Match Count: X entries
🔍 详细信息
🔍 Detailed Information
1. Runtime State (state.json)
1. Runtime State (state.json)
{结构化数据}
Source: (lines XX-XX)
.webnovel/state.json{Structured Data}
Source: (lines XX-XX)
.webnovel/state.json2. 设定集匹配结果
2. Setting Document Match Results
{匹配内容,含文件路径和行号}
{Matching content, including file path and line numbers}
⚠️ 数据一致性检查
⚠️ Data Consistency Check
{state.json 与静态文件的差异}
undefined{Differences between state.json and static files}
undefined