topic-synthesis-core-enrichment
Draft the topic-level core synthesis and knowledge graph completion based on the analysis context from the prepare phase. Use this skill after…
от leike0813★ 17 звёзд на GitHub
Установить topic-synthesis-core-enrichment в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
主题综合核心分析与知识图谱补全
范围
Draft the topic-level core synthesis and knowledge graph completion based on the analysis context from the prepare phase. Use this skill after create/update-topic-synthesis-prepare. DO NOT invoke this skill directly.
本包由 skills_src/topic-synthesis/ 生成。执行时以包内 SKILL.md、
scripts/ 和 assets/schemas/ 作为当前技能的执行合同。
产品目标与质量标准
Topic Synthesis 是 Zotero 中的信息密集型 topic 知识窗口,也是 Introduction / Related Work 等写作 workflow 的上游证据材料。它的目标不是字段填空,也不是把论文摘要拼在一起,而是帮助用户理解一个 topic 的概念边界、研究路线、历史沿革、主要结论、争议、缺口、库内覆盖状态、库外补充方向和综述写作角度。
本技能的最低质量目标:
- taxonomy 必须解释研究路线、机制、边界、代表论文、成熟度、优势和局限,不是标签表。
- timeline_events 必须解释历史递进和里程碑逻辑,不是年份列表。
- claims、debates、future directions 和 improvement dimensions 必须是 topic-level synthesis,并用 source_paper_refs 指向当前 evidence index 中的文献。
- KG enrichment 只补全当前 core synthesis 产生的概念、候选 topic 关系和 matching terms,不写 sidecars 或 canonical KG。
必需运行输入
- runtime/topic-synthesis.sqlite
- runtime/handoff/prepare-analysis-context.json
执行合同
scripts/gate.py是唯一面向执行代理的 CLI。- 不要直接调用
scripts/topic_synthesis_db.py。 - 不要传入 stage 名称或 action 名称。
- 命令型 stage 只执行 gate 返回 JSON 的
command字段,不写 JSON payload。 - payload 型 stage 需要把一个 JSON payload 写入 gate 指定的
payload_path, 然后用 gate 返回 JSON 的submit_command提交。 - gate 返回的
command/submit_command是执行真源;本文档中的命令模板只用于解释等价形态。
zotero-bridge CLI 使用说明
Host Bridge CLI 的完整命令映射由内置 zotero-bridge-cli wrapper skill 维护。
使用 Zotero host 能力前,先阅读该 wrapper skill 及其生成的
references/host-bridge-cli.md 参考。
Host Bridge CLI 使用说明由内置 zotero-bridge-cli wrapper skill 维护。
当前 topic synthesis 相关命令族摘要:citation-graph get-layout, citation-graph get-metrics, citation-graph get-slice, citation-graph overview, citation-graph query-cluster, citation-graph rank-external-references, citation-graph rank-library-papers, citation-graph refresh-metrics, insights attention-queue, library-index get, paper-artifacts export-filtered, paper-artifacts manifest, paper-artifacts read, paper-artifacts resolve-topic-digest, reference-index get, resolvers resolve, topics find-by-paper-ref, topics get-context, topics get-report, topics get-review-input, topics list。
使用 Host Bridge 能力前,先读取该 wrapper skill 及其 references/host-bridge-cli.md 生成映射参考。
不要绕过 Host Bridge 直接读取 Zotero DB/storage;除非用户明确要求 MCP 诊断,否则不要切换到 MCP。
在 ACP run workspace 中,优先使用工作区注入的 Host Bridge shim:
- Windows:
.\.zotero-bridge\bin\zotero-bridge.cmd - POSIX:
./.zotero-bridge/bin/zotero-bridge
只有找不到 workspace shim 时,才使用裸命令 zotero-bridge。无论使用哪种入口,
都只能通过 Host Bridge 合同读取 Zotero 数据;不要直接读取 Zotero DB/storage,
也不要在用户未要求 MCP 诊断时切换到 MCP。
运行状态
- SQLite 只保存 stage state 和必要的跨 stage 上下文。
- 跨 skill 业务状态来自 SQLite 与 handoff/files,不从 prompt 文本传递。
- 命令型入口 stage 负责处理本包的 runtime 初始化或状态校验。
LLM 与脚本职责边界
必须由 LLM 完成:
- core synthesis:taxonomy、timeline、claims、improvement dimensions、debates、future_directions、review_outline。
- KG enrichment:concept_details、existing_topic_relation_proposals、prospective_topic_relation_proposals、topic_matching_terms。
必须由脚本/runtime 完成:
- 校验 prepare handoff、DB 和必需 runtime views。
- 校验 core synthesis 和 KG enrichment payload。
- 生成 concept candidate context、KG sidecars、topic-interest metadata 和 core handoff。
绝对禁止:
- 手写 SQLite rows、handoff manifest 或 runtime-owned files。
- 用临时脚本生成语义分析 payload。
- 把 citation metrics 或外部文献当作 core claim/timeline 的主 evidence。
- 修改 gate 返回的 command 或 submit command 来跳 stage。
阶段循环
- 运行 gate,读取返回 JSON。
- 只处理返回 JSON 中的当前
stage,不得跳 stage。 - command stage 执行返回 JSON 的
command字段。 - payload stage 先按返回 JSON 的
required_reads获取材料,再写payload_path,最后执行submit_command。 - 每次 command 或 submit 成功后,都必须重新运行 gate。
- gate 返回
stage: "completed"时,输出其中的output对象作为本技能结果。
严格执行顺序
每个 stage 都按 gate JSON 驱动执行。不要根据记忆跳 stage。
先从运行器提供的 run workspace 启动 gate。不要 cd 到 skill package;
不要自行拼接 runtime/topic-synthesis.sqlite。gate JSON 返回的 db_path、
command、submit_command 和 runtime 文件路径是执行真源。
如果 gate 返回 needs_payload: false:
- 确认
stage是当前SKILL.md中的本地 stage。 - 复制并执行 gate JSON 的
command字段。 - 命令成功后,立刻重新运行初始 gate。
如果 gate 返回 needs_payload: true:
- 确认
stage是当前SKILL.md中的本地 stage。 - 读取 gate JSON 的
required_reads、payload_path、payload_schema和submit_command。 - 按本 stage 的“上下文获取方式”执行 Host read 命令或读取 runtime 文件。
- 只手写
payload_path指向的 JSON payload,不写 runtime-owned 文件。 - 复制并执行 gate JSON 的
submit_command。 - submit 成功后,立刻重新运行初始 gate。
阶段
stage_00_runtime_state_check
- stage 类型:command
- 任务:校验既有 DB、prepare handoff 和必需的上下文 artifacts。
- 语义目标:校验上一 skill 产生的 DB、handoff 和必需 artifacts,确保当前 skill 只基于持久化状态继续。
本 stage 精确执行序列:
- 在运行器提供的 run workspace 中启动 gate;不要
cd到 skill package,不要自行拼接runtime/topic-synthesis.sqlite。 - 确认 gate JSON 的
stage是stage_00_runtime_state_check。 - 确认
needs_payload是false。 - 复制
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/input.schema.json
- assets/output.schema.json
- assets/parameter.schema.json
- assets/runner.json
- assets/schemas/handoff.schema.json
- assets/schemas/stage-40-core-synthesis.schema.json
- assets/schemas/stage-50-kg-enrichment.schema.json
- scripts/gate.py
- scripts/topic_synthesis_db.py
FAQ
Что делает скилл topic-synthesis-core-enrichment?
Draft the topic-level core synthesis and knowledge graph completion based on the analysis context from the prepare phase. Use this skill after create/update-topic-synthesis-prepare. DO NOT invoke this skill directly.
Как установить скилл topic-synthesis-core-enrichment?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл topic-synthesis-core-enrichment запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…