manuscript-literature-framing
Draft a LaTeX literature review section. Use this skill when user wants to create an introduction and/or related work section for a research paper. Ensure you…
от leike0813★ 17 звёзд на GitHub
Установить manuscript-literature-framing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Manuscript Literature Framing
本交互式 skill 用于为科研论文起草 Introduction 与 Related Work。它从 paperTitle 启动,但不会直接写正文;必须先澄清本文意图,再收集和确认文献材料,随后完成多角度 framing analysis,最后才生成写作计划与 LaTeX 草稿。
目标不是泛泛补背景,而是完成结构化定位:说明问题为什么重要、为什么现在值得研究、现有工作有哪些稳定路线、关键 gap 在哪里、本文贡献如何与 gap 对齐,以及 Related Work 应如何按 taxonomy / method lines / benchmark dimensions / debates 组织。
输入契约
参数:
paperTitle(必填):论文工作标题。language(可选):auto、zh-CN、en-US或用户指定的写作语言。targetVenue(可选):目标期刊、会议或风格族。articleType(可选):v1 优先服务原始研究论文。stylePreference(可选):concise、IEEE-like、Nature-like、中文初稿等。
Runtime model
本 skill 使用轻量 JSON state SSOT & gate-driven 范式。
- 唯一运行态真源是
runtime/manuscript-literature-framing.json。 - 所有状态写入必须通过
scripts/stage_runtime.py完成。 - 每次 stage action 后必须重新运行
scripts/gate_runtime.py。 - 不要
cd到 skill package;从 run workspace 调用 gate,并以 gate 返回的绝对路径和绝对command_example为准。 - 只能执行 gate 返回的
next_action与command_example。 - 只读运行态视图会写入
runtime/views/,用于恢复执行和审阅;不要把这些 Markdown 视图当作真源直接编辑。 - 最终正文由 LLM 基于已确认的 intent、evidence、analysis 与 writing plan 撰写;脚本只负责接收、校验、落盘和生成 run workspace 根目录下的
manuscript-literature-framing.result.json业务结果文件。 result/result.json由 ACP runner 在 final assistant envelope 校验通过后写入;本 skill 的脚本不得写入或要求 agent 手写该文件。scripts/stage_runtime.pystdout 只是 stage action 回执,例如{"ok": true, ...},不是最终 assistant output。__SKILL_DONE__只属于 ACP assistant turn envelope,不得写入manuscript-literature-framing.result.json或assets/output.schema.json。
正式入口:
python "<skill_package>/scripts/gate_runtime.py" --state "<run_workspace>/runtime/manuscript-literature-framing.json"
LLM / script responsibilities
LLM 负责所有语义任务:
- 与用户澄清 manuscript intent。
- 判断哪些 Topic Synthesis 和 Zotero 资料值得使用。
- 阅读 review input、paper digest、citation graph 与必要原文上下文。
- 形成领域/路线、时间演化、gap 对齐和 framing synthesis。
- 设计 writing plan。
- 在最终阶段撰写 Introduction 与 Related Work 的 LaTeX 正文。
Scripts 只负责机械任务:
- gate 判断下一步动作。
- 校验 payload 基本结构。
- 把 LLM 产出的状态写入 JSON SSOT。
- 生成只读 runtime views。
- 把 LLM 撰写的 final draft 写入
result/introduction.tex与result/related-work.tex。 - 生成
result/manuscript-literature-framing-artifacts.json、manuscript-literature-framing.result.json和审计资产;manifest 与业务结果中的跨任务文件路径必须是绝对路径;result/result.json由 ACP runner 生成。
不要让脚本承担分类、gap 判断、贡献对齐、段落设计或最终正文撰写;这些都是 LLM 在理解证据后的核心工作。
Stage overview
Stage 1: Intent clarification
Purpose:明确本文自己的写作真源,不让 Topic Synthesis 替代 manuscript context。
Actions:
persist_intent_briefconfirm_intent
必须收集并确认:
- 研究问题
- 目标对象/场景
- 方法或系统
- main contributions
- target venue / style
- 是否单列 Related Work
- 希望采用的组织模式
Done when:intent_brief 已写入且 intent_confirmed=true。
Stage 2: Material collection scope
Purpose:先确定要用哪些 Topic Synthesis 和辅助 Zotero 资料,再读取 review input。
Actions:
persist_material_planconfirm_material_scopepersist_evidence_inventory
按业务需要使用:
topics.list:列出已有 Topic Synthesis 候选。topics.get_review_input:读取已确认 Topic Synthesis 的写作上下文。reference_index.get:检查论文 artifact/reference cache readiness 与 citekey 相关元数据。citation_graph.get_metrics:识别 core / foundation / frontier papers。citation_graph.get_slice:检查局部引用邻域。paper_artifacts.resolve_topic_digest:核验特定 topic evidence digest。list_library_items、search_items、get_item_detail:直接查询 Zotero 文献库。get_item_notes、list_note_payloads、get_note_payload:检查选定论文 notes 与 workflow payload。get_item_attachments、prepare_paper_reading_context:检查原文可用性,少量核验关键论文。
如果正式执行中必需的 Zotero 或 Synthesis host 调用不可用,允许绕过当前 gate 执行 cancel action。该例外只用于真实 host call 不可用或无法完成的情况;其它阶段仍必须遵循 gate 返回的 next_action。
Cancel payload 示例:
{
"reason": "host_unavailable",
"message": "Required Zotero or Synthesis host tools are unavailable, so manuscript literature framing cannot proceed.",
"paperTitle": "Paper title"
}
Done when:用户确认 topic ids 和资料边界,且 evidence_inventory 已写入。
Stage 3: Multi-angle framing analysis
Purpose:在 writing plan 之前形成可审查的分析真源。
Actions:
persist_domain_route_analysispersist_timeline_analysispersist_gap_alignment_analysispersist_framing_synthesis
分析要求:
- 领域/路线角度:建立稳定 taxonomy、method lines、benchmark dimensions、debates 与代表性引用。
- 时间角度:只在时间演化能解释领域现状时使用,识别 foundation、turning point、frontier 与 timely rationale。
- gap 对齐角度:每个 gap 必须绑定数据、方法、场景、评价、理论或集成边界中的至少一类具体差距。
- framing synthesis:总结 Introduction 功能链、Related Work 组织轴、survey-of-surveys 决策、引用平衡风险与本文贡献对应关系。
Done when:四个 analysis payload 都已写入。
每个 analysis payload 必须包含对应阶段的最小结构字段;脚本只校验字段存在和非空,不判断 taxonomy、gap 或 contribution alignment 的语义质量。
Stage 4: Writing plan
Purpose:先形成可确认的段落级计划,不直接落稿。
Actions:
persist_writing_planconfirm_writing_plan
写作计划前必须阅读 references/scientific_introduction_related_work_writing_guide_zh.md。
每个段落必须包含:
- 段落功能
- 核心论点
- 证据来源
- 候选引用
- topic provenance
- 与用户 manuscript contribution 的对应关系
写作计划必须判断是否需要 survey-of-surveys 段,以及 Related Work 的分类轴。
Done when:用户确认或修订 writing plan,且 writing_plan_confirmed=true。
Stage 5: Final
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/output.schema.json
- assets/parameter.schema.json
- assets/runner.json
- references/scientific_introduction_related_work_writing_guide_zh.md
- scripts/gate_runtime.py
- scripts/runtime_state.py
- scripts/stage_runtime.py
FAQ
Что делает скилл manuscript-literature-framing?
Draft a LaTeX literature review section. Use this skill when user wants to create an introduction and/or related work section for a research paper. Ensure you can access to the Zotero library through zotero-bridge CLI.
Как установить скилл manuscript-literature-framing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл manuscript-literature-framing запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…