topic-synthesis-finalize
Assess library coverage & evidence reliability, propose collection supplementation, and generate the final summary of a topic. Use this skill after…
от leike0813★ 17 звёзд на GitHub
Установить topic-synthesis-finalize в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
主题综合收尾
范围
Assess library coverage & evidence reliability, propose collection supplementation, and generate the final summary of a topic. Use this skill after topic-synthesis-core-enrichment. DO NOT invoke this skill directly.
本包由 skills_src/topic-synthesis/ 生成。执行时以包内 SKILL.md、
scripts/ 和 assets/schemas/ 作为当前技能的执行合同。
产品目标与质量标准
Topic Synthesis 是 Zotero 中的信息密集型 topic 知识窗口,也是 Introduction / Related Work 等写作 workflow 的上游证据材料。它的目标不是字段填空,也不是把论文摘要拼在一起,而是帮助用户理解一个 topic 的概念边界、研究路线、历史沿革、主要结论、争议、缺口、库内覆盖状态、库外补充方向和综述写作角度。
本技能的最低质量目标:
- coverage verdict 必须解释当前库内材料的覆盖档位,并区分领域真实空白、库内覆盖不足、artifact 证据不足和评价口径缺口。
- coverage caveats 必须说明本次 synthesis 的证据边界,不能把文献数量或 citation metrics 机械当作可靠性。
- external context summary 和 collection suggestions 只服务覆盖判断和入库建议,不能重写 core synthesis。
- final summary 必须基于 runtime 已渲染的 synthesis report,不新增未在 report 中出现的 claim。
必需运行输入
- runtime/topic-synthesis.sqlite
- runtime/handoff/core-enrichment.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 完成:
- coverage verdict、coverage reason、coverage caveats。
- external context summary 和 collection suggestions。
- 最终 summary_brief、summary_overview 和 key_takeaways。
必须由脚本/runtime 完成:
- 校验 core handoff、sidecars、finalize context 和 report context。
- 校验 coverage 和 summary payload。
- 生成完整 Host apply-ready result sections、synthesis report、topic-analysis manifest 和 final-output candidate。
绝对禁止:
- 手写 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、core enrichment handoff、sidecars 和收尾上下文。
- 语义目标:校验上一 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。 - 复制并执行 gate JSON 的
command字段。 - command 成功后,立刻重新运行 gate,读取下一条指
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/input.schema.json
- assets/output.schema.json
- assets/parameter.schema.json
- assets/runner.json
- assets/schemas/handoff.schema.json
- assets/schemas/stage-60-coverage-and-collection-suggestions.schema.json
- assets/schemas/stage-70-summary.schema.json
- scripts/gate.py
- scripts/topic_synthesis_db.py
FAQ
Что делает скилл topic-synthesis-finalize?
Assess library coverage & evidence reliability, propose collection supplementation, and generate the final summary of a topic. Use this skill after topic-synthesis-core-enrichment. DO NOT invoke this skill directly.
Как установить скилл topic-synthesis-finalize?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл topic-synthesis-finalize запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…