create-topic-synthesis
Create a structured Zotero topic_synthesis artifact from a topic seed using the zotero-bridge CLI, package-local SQLite gate scripts, and schema-validated…
от leike0813★ 17 звёзд на GitHub
Установить create-topic-synthesis в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
create-topic-synthesis
本 skill 运行于 ACP 后台自动化场景。stdout 只能输出一个 JSON 对象。
需要读取 Zotero/Synthesis host 数据时,使用 zotero-bridge synthesis <subcommand> --input ...。
如果正式执行中必需的 zotero-bridge synthesis 调用不可用或返回失败错误,立即输出合法 topic_synthesis_canceled。
产品目标与质量标准
Topic Synthesis 是 Zotero 中的信息密集型 topic 知识窗口,也是 Introduction / Related Work 等写作 workflow 的上游证据材料。它的目标不是字段填空,也不是把论文摘要拼在一起, 而是帮助用户理解一个 topic 的概念边界、研究路线、历史沿革、主要结论、争议、 缺口、库内覆盖状态、库外补充方向和综述写作角度。
最低质量目标:
- 用户读完
summary、taxonomy、timeline_events、claims、external_literature_analysis、statistics和synthesis_report后,应能说清这个 topic 属于哪个学科/研究领域、 核心问题是什么、主要技术路线如何分化、关键论文如何推动演进。 taxonomy是研究路线分析,不是标签表;必须解释每条路线解决什么问题、采用什么机制、 有哪些代表论文、路线之间是什么关系。timeline_events是历史递进逻辑,不是年份列表;必须说明里程碑论文、阶段转折、 前后工作的延续/修正/融合关系。claims是 synthesis-level finding,不是单篇论文结论;每条 claim 都要说明成立原因、 证据范围、适用边界和置信度。external_literature_analysis要判断库外概念/方法/综述/benchmark 与 topic 的关系、 当前库内覆盖档位,以及下一步建议入库文献。statistics要解释 synthesis 可靠性和覆盖结构,而不只是列数字。synthesis_report要把结构化 sections 串成连续报告正文,可直接作为用户理解 topic 和撰写综述时的高密度材料。
内容生成原则:
- 先理解 topic,再写字段;字段服务于“理解 topic”和“支持综述写作”。
- 单篇分析只抽取事实,跨文献阶段才综合;跨文献综合必须回到已校验 triage rows 和 evidence map。
- 库内 paper evidence 支撑主 claim/timeline;库外/外部文献用于背景、覆盖判断和入库建议。
- coverage/gaps 要区分领域真实空白、库内覆盖不足、artifact 证据不足和评价口径缺口。
- 语言要信息密集、可追溯、具体到技术路线/评价场景/方法机制/证据范围。
核心执行指令
这部分是 gate 返回的 core_instruction 的完整等价内容。它只保留跨阶段都必须反复遵守的规则。
- 先读
SKILL.md,不要预读整个references/目录。 - 首次进入和每次正式写入/校验 JSON 工件后,都必须重新运行
scripts/gate_runtime.py。 - 每一步看 gate,只执行 gate 返回的动作。
- 只执行 gate 返回的
next_action,不得跳 stage。 - 同时遵守 gate 返回的
next_action、command_example、instruction_refs、schema_refs、core_instruction和execution_note。 - SQLite 只保存流程状态、action receipt、manifest、hash、progress 和 artifact_registry;语义内容真源是 run workspace 中的 JSON 工件。
- 所有语义判断结果必须先整理为结构化 JSON,再通过
scripts/stage_runtime.py <next_action>校验、登记和推进。 需要写入 payload 的动作都必须使用--payload-file。 - 不要直接写 SQLite 表来伪造阶段完成;阶段推进必须由对应脚本动作成功写入 receipt。
- 最终公开产物只能由
validate_final_artifacts从已校验 JSON 工件生成;agent 不得手写或改写result/final-output.candidate.json。 - 最终 assistant 输出必须是合法业务 JSON 对象,不得追加解释、Markdown fence 或嵌入 markdown。
成功态最终 JSON 示例:
{
"kind": "topic_synthesis",
"operation": "create",
"language": "zh-CN",
"topic_definition": {
"id": "detr-style-object-detection",
"title": "DETR-style Object Detection"
},
"resolver_manifest_path": "runtime/payloads/resolver.json",
"resolver_diagnostics": {
"final_count": 21,
"warnings": []
},
"artifact_metadata": {},
"analysis_manifest_path": "result/topic-analysis.json"
}
取消态最终 JSON 示例:
{
"kind": "topic_synthesis_canceled",
"status": "canceled",
"reason": "required_zotero_bridge_call_unavailable",
"message": "Required zotero-bridge synthesis command is unavailable.",
"topic_seed": "object detection"
}
输入输出硬契约
- 输入只读取 prompt payload 中的
topicSeed与language。 topicSeed是创建目标的主题种子。language控制自然语言输出;缺失或为auto时优先使用用户请求语言,无法判断时使用zh-CN。- 创建前必须通过
./.zotero-bridge/bin/zotero-bridge synthesis list-topics --input '{}'读取 existing topics, 只根据 topic 的title/description/aliases做语义重复检查。 - 疑似重复时按 ACP interactive confirmation 处理;用户取消时输出
topic_synthesis_canceled。 - 最终 JSON 不得内嵌
markdown。 - create 成功的最终响应只包含合法业务 JSON 对象。
- create 成功 stdout 只包含 create schema 允许字段,不携带 update conflict metadata。
- create 的 host apply precondition 只有目标 topic 的 canonical identity 当前不存在;若 topic 已存在,host 必须拒绝并返回
topic_exists或duplicate_topic,不得降级为 update。 - create 成功必须生成公开可消费产物:
result/topic-analysis.jsonresult/final-output.candidate.jsonresult/sidecars/topic-interest-metadata.jsonresult/sidecars/concept-cards-proposal.jsonresult/sidecars/topic-graph-relation-proposals.jsonresult/sections/*.json
- 最终 JSON 只保留公开业务 schema 字段,不包含正文 Markdown 或 host/runtime 管理的内部 provenance metadata。
- sidecars 固定路径写入,但由
result/topic-analysis.json的sidecarsmanifest 对象公开;final stdout 不逐一列出 sidecar path。 - Host apply 负责 canonical persistence 与导出渲染。
zotero-bridge CLI 调用依赖
必需 CLI 调用:
./.zotero-bridge/bin/zotero-bridge synthesis list-topics --input '{}'./.zotero-bridge/bin/zotero-bridge synthesis get-library-index --input ..../.zotero-bridge/bin/zotero-bridge synthesis resolve-resolver --input ..../.zotero-bridge/bin/zotero-bridge synthesis query-concept-kb --input ..../.zotero-bridge/bin/zotero-bridge synthesis get-citation-graph-metrics --input ..../.zotero-bridge/bin/zotero-bridge synthesis query-citation-graph-cluster --input ..../.zotero-bridge/bin/zotero-bridge synthesis export-filtered-paper-artifacts --input ...
正式执行中如果必需 ./.zotero-bridge/bin/zotero-bridge synthesis <subcommand> 调用返回 command not found、
unavailable/no such tool、capability_not_found、bridge_unavailable 或非零退出码,立即输出合法
topic_synthesis_canceled,不要排查环境。synthesis.get_citation_graph_metrics
返回 missing/stale/empty 不是 blocker,但必须写入 diagnostics;me
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/output.schema.json
- assets/runner.json
- assets/schemas/core_analytical_sections.schema.json
- assets/schemas/cross_paper_evidence_map.schema.json
- assets/schemas/debates_section.schema.json
- assets/schemas/evidence_map_section.schema.json
- assets/schemas/kg_enrichment.schema.json
- assets/schemas/paper_analysis_batch.schema.json
- assets/schemas/paper_analysis_row.schema.json
- assets/schemas/positioning_section.schema.json
- assets/schemas/resolver_manifest.schema.json
- assets/schemas/resolver_proposal.schema.json
- assets/schemas/review_outline_section.schema.json
- assets/schemas/taxonomy_section.schema.json
- assets/schemas/topic_analysis_manifest.schema.json
- assets/schemas/topic_context_payload.schema.json
- assets/schemas/topic_interest_metadata.schema.json
- assets/schemas/topic_section_patch_manifest.schema.json
- assets/schemas/topic_synthesis_artifact.schema.json
- references/section_examples.md
- references/step_05_paper_triage.md
- references/step_06_cross_paper_map.md
- references/step_07_taxonomy_timeline.md
- references/step_08_core_synthesis.md
- references/step_09_kg_enrichment.md
- references/step_10_summary_coverage.md
- references/step_11_render_validate.md
- references/topic_synthesis_content_contract.md
- scripts/gate_runtime.py
- scripts/runtime_db.py
- scripts/stage_runtime.py
FAQ
Что делает скилл create-topic-synthesis?
Create a structured Zotero topic_synthesis artifact from a topic seed using the zotero-bridge CLI, package-local SQLite gate scripts, and schema-validated JSON stage artifacts.
Как установить скилл create-topic-synthesis?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-topic-synthesis запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…