Community程式設計與開發github.com

系統性文獻回顧

當使用者想要針對某個主題進行系統性文獻回顧、調查或綜合多篇學術論文時使用。也涵蓋註釋書目和跨論文比較。搜尋 arXiv 並以 APA、IEEE 或 BibTeX 格式輸出報告。不適用於單篇論文任務——請使用 academic-paper-review 來審閱單篇論文。

系統性文獻回顧 是什麼?

此技能專為需要進行系統性文獻回顧 (SLR) 的研究人員和開發者設計,能夠自動化地在多篇學術論文之間進行廣度優先的綜合分析。它透過 arXiv API 搜尋論文,並由 AI 子代理器平行提取每篇論文的結構化元數據(如研究問題、方法論、主要發現和限制),最後生成一個包含跨論文主題分析、共識、分歧和研究缺口的最終報告。此技能支援 APA、IEEE 和 BibTeX 三種引用格式,並會將報告儲存為 Markdown 檔案供使用者下載。其核心優勢在於能夠處理 高達 50 篇論文,並透過任務工具將元數據提取工作分配給多個子代理器,從而節省主代理器的上下文空間,確保合成品質。它與專門審閱單篇論文的 academic-paper-review 技能互補,確保使用者無論是進行廣泛文獻調查還是深入審閱單一論文,都能獲得最合適的協助。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/bytedance/deer-flow/tree/main/skills/public/systematic-literature-review

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

系統性文獻回顧技能

概述

此技能針對一個研究主題,在多篇學術論文間產生結構化的系統性文獻回顧 (SLR)。給定一個主題查詢,它會搜尋 arXiv,並行地從每篇論文中提取結構化元數據(研究問題、方法論、主要發現、限制),綜合整個論文集合中的主題,並最終產出一份包含一致引用的報告。

與 academic-paper-review 不同: 該技能對單篇論文進行深度同儕審閱。此技能則在眾多論文之間進行廣度優先的綜合分析。如果使用者提供一個論文網址並要求「審閱這篇論文」,請改用 academic-paper-review。

何時使用此技能

當使用者想要以下任何一項時,請使用此技能:

  • 關於某個主題的文獻調查(例如:「調查 transformer 注意力變體」、「回顧擴散模型的文獻」)
  • 跨多篇論文的綜合分析(例如:「最近關於 X 的論文怎麼說?」、「比較 Y 主題下各篇論文的方法論」)
  • 具有一致引用格式的系統性回顧(例如:「以 APA 格式對 Z 進行系統性文獻回顧」)
  • 關於某個主題的註釋書目
  • 某領域在一段時間內的研究趨勢概述

請勿在以下情況使用此技能:

  • 使用者只提供一篇論文並要求審閱(請使用 academic-paper-review)
  • 使用者詢問一個事實性問題,無需綜合多個來源(直接回答)
  • 使用者想要不具學術嚴謹性的普通網路研究(使用標準網路搜尋)

工作流程

工作流程包含五個階段。請依序執行。

第一階段:規劃

在進行任何檢索之前,請先與使用者確認以下事項。如果其中有任何不清楚的地方,請提出一個涵蓋所有缺失資訊的釐清問題。不要逐個問題地詢問。

  • 主題:用白話英文說明的研究領域(例如:「transformer attention variants」)。
  • 範圍:論文數量(預設 20 篇,硬上限為 50 篇)、可選的時間窗口(例如:「最近 2 年」)、可選的 arXiv 類別(例如 cs.CL、cs.CV)。
  • 引用格式:APA、IEEE 或 BibTeX。如果使用者未指定,且似乎並非為特定投稿場合而寫,則預設為 APA。
  • 輸出位置:最終報告的儲存路徑(預設為 /mnt/user-data/outputs/)。

如果使用者說「50 篇以上」,請客氣地將上限設為 50 篇,並解釋說超過這個數量後合成品質會迅速下降——對於大型調查,他們應該按子主題拆分。

第二階段:搜尋 arXiv

呼叫捆綁的搜尋腳本。請勿嘗試透過其他方式爬取 arXiv,也不要自行撰寫 HTTP 客戶端——此腳本已正確處理 URL 編碼、Atom XML 解析和 ID 正規化。

python /mnt/skills/public/systematic-literature-review/scripts/arxiv_search.py \
  "<topic>" \
  --max-results <N> \
  [--category <cat>] \
  [--sort-by relevance] \
  [--start-date YYYY-MM-DD] \
  [--end-date YYYY-MM-DD]

**重要——在搜尋前提煉出 2-3 個核心關鍵字。**不要把使用者的完整主題描述當作查詢傳入。在呼叫腳本之前,先在腦中將主題縮減為 2-3 個最關鍵的詞彙。去掉像「in computer vision」、「for NLP」、「variants」、「recent」這類修飾語——這些應放在 --category 或 --start-date 參數中,而不是查詢字串裡。

**查詢措辭——保持簡短。**此腳本會將多詞查詢用雙引號包裹,以便在 arXiv 上進行短語比對。這意味著:

  • "diffusion models" → 搜尋確切短語 → 效果好,會回傳相關論文。
  • "diffusion models in computer vision" → 搜尋這個由 5 個詞組成的確切短語 → 太過具體,很可能回傳 0 個結果,因為很少有論文包含完全相同的字串。

使用 2-3 個核心關鍵字作為查詢,並使用 --category 來縮小領域範圍,而不是將領域名稱塞入查詢中。範例:

使用者說好的查詢差的查詢
"diffusion models in computer vision""diffusion models" --category cs.CV"diffusion models in computer vision"
"transformer attention variants""transformer attention""transformer attention variants in NLP"
"graph neural networks for molecules""graph neural networks" --category cs.LG"graph neural networks for molecular property prediction"

腳本會將 JSON 陣列輸出到標準輸出(stdout)。每篇論文包含:id、title、authors、abstract、published、updated、categories、pdf_url、abs_url。

排序策略:

  • 始終使用 relevance 排序——arXiv 的 BM25 風格評分可確保結果確實與使用者的主題相關。而 submittedDate 排序會回傳該類別中最新提交的論文,無論其與主題的相關性如何,這通常會產生大量離題的結果。
  • 當使用者要求「最近」的論文或給出時間窗口時,請使用 --sort-by relevance並搭配 --start-date,以在約束時間範圍的同時,確保結果與主題相關。例如,「最近的擴散模型論文」應使用 --sort-by relevance --start-date 2024-01-01,而不是 --sort-by submittedDate。
  • 僅在使用者明確要求按時間順序排序時(例如:「按發表順序顯示論文」),才適合使用 submittedDate 排序。這種情況很少見。
  • lastUpdatedDate 很少有用;除非使用者要求,否則忽略它。

**僅執行搜尋一次。**如果結果看起來不完美,也不要修改查詢重試——arXiv 的相關性排序就是這樣。使用不同的查詢措辭重試只會浪費工具呼叫,並有觸及遞迴限制的風險。如果結果確實是空的(0 篇論文),請告知使用者,並建議他們擴大主題範圍或移除類別過濾器。

如果腳本回傳的論文數量少於要求數量,那就是 arXiv 針對該查詢的實際結果集大小。請勿填充清單——將實際數量報告給使用者,然後繼續進行。

如果腳本執行失敗(網路錯誤、arXiv 回傳非 200 狀態碼),請告知使用者錯誤訊息並停止。請勿嘗試偽造論文元數據。

請勿將搜尋結果儲存到檔案——JSON 資料應保留在您的上下文中,供第三階段使用。在整個工作流程中,唯一會儲存的檔案是第五階段的最終報告。

第三階段:並行提取元數據

**您必須透過 task 工具將提取工作委派給子代理器——請勿自行提取元數據。**這是必要條件。具體來說,請不要執行以下任何操作:

  • ❌ 撰寫 python -c "papers = [...]" 或任何處理論文的 Python/bash 腳本
  • ❌ 在您自己的上下文中逐篇閱讀摘要來內聯提取元數據
  • ❌ 在此階段使用除 task 之外的任何工具

相反,您必須呼叫 task 工具來產生子代理器。原因是:在您自己的上下文中提取 10-50 篇論文會消耗太多 token,並會降低第四階段的合成品質。每個子代理器在隔離的上下文中執行,僅處理其批次中的論文,從而產生更清晰的提取結果。

將論文分成約 5 篇一批,然後對每批次呼叫 task 工具,並設定 subagent_type: "general-purpose"。每個子代理器會以文字形式接收論文摘要,並回傳結構化的 JSON。

**並發限制:每回合最多 3 個子代理器。**DeerFlow 執行環境強制執行 MAX_CONCURRENT_SUBAGENTS = 3,並會靜默丟棄同一回合中任何多餘的分派請求——LLM 不會被告知此事,因此請嚴格遵循以下回合策略。

回合策略——使用此決策表,請勿自行計算拆分方式:

論文數量約 5 篇一批的批次數量回合數每回合子代理器數量
1–51 批次1 回合1 個子代理器
6–102 批次1 回合2 個子代理器
11–153 批次1 回合3 個子代理器
16–204 批次2 回合3 + 1
21–255 批次2 回合3 + 2
26–306 批次2 回合3 + 3
31–357 批次3 回合3 + 3 + 1
36–408 批次3 回合3 + 3 + 2
41–459 批次3 回合3 + 3 + 3
46–5010 批次4 回合3 + 3 + 3 + 1

**切勿在同一回合中分派超過 3 個子代理器。**當一行顯示「2 回合 (3 + 1)」時,表示:第一回合並行分派 3 個子代理器,等待所有 3 個完成,然後第二回合分派 1 個子代理器。回合在主代理器層級必須嚴格依序進行。

如果論文數量落在行與行之間(例如 23 篇),則向上取整至下一行的佈局,但僅分派您實際需要的批次數量——決策表為您提供了形狀,而非嚴格的規定。

在主代理器層級進行批次劃分:您已經從第二階段獲得了每篇論文的摘要,因此每個子代理器接收到的是純文字輸入。子代理器不應需要存取網路或沙箱——它們的唯一工作是讀取文字並回傳 JSON。請勿要求子代理器重新執行 arxiv_search.py;這會浪費 token 並有觸發速率限制的風險。

每個子代理器接收的結構化提示:

執行此任務:從以下 arXiv 論文中提取結構化元數據和主要發現。

論文:
[論文 1]
arxiv_id: 1706.03762
title: Attention Is All You Need
authors: Ashish Vaswani, Noam Shazeer, ...
published: 2017-06-12
abstract: <完整摘要文字>

[論文 2]
arxiv_id: ...
...

對於每篇論文,回傳一個包含以下欄位的 JSON 物件:
- arxiv_id(字串)
- title(字串)
- authors(字串列表)
- published_date(字串,格式 YYYY-MM-DD)
- research_question(1 句話,說明論文解決了什麼問題)
- methodology(1-2 句話,說明他們如何解決問題)
- key_findings(3-5 個要點,說明他們實際發現了什麼)
- limitations(1-2 句話,說明他們承認了什麼或明顯缺失了什麼)

將結果回傳為 JSON 陣列,每個論文一個物件,順序與輸入相同。不要在 JSON 之外包含任何文字——沒有前言、沒有 markdown 分隔線,僅有陣列。

解析子代理器結果:task 工具會回傳帶有固定前綴的字串,例如 Task Succeeded. Result: [...JSON...]。在嘗試解析 JSON 之前,請先去除 Task Succeeded. Result: 前綴(或者 Task failed. / Task timed out. 前綴)。如果某批次失敗或回傳無法解析的 JSON,請記錄下來,記下受影響的論文,然後繼續處理其餘批次——不要因為一個壞批次而讓整個合成失敗。

在所有回合完成後,將每批次的陣列扁平化為一個包含所有論文元數據物件的單一列表,並保持順序。

第四階段:綜合與格式化

現在產出最終的 SLR 報告。這裡需要完成兩件事:跨論文綜合(主題分析)和引用格式化。

跨論文綜合:報告必須不僅僅是列出論文。至少需要識別出:

  • 主題:在整個論文集當中,3-6 個反覆出現的研究方向、方法或問題框架。
  • 共識:多篇論文達成一致的發現。
  • 分歧:論文得出不同結論或使用不相容方法論的地方。
  • 缺口:整體文獻尚未解決的問題(通常在「限制」欄位中明確陳述)。

如果論文集合太小或異質性太高,無法支援主題綜合(例如 5 篇關於完全不同子主題的論文),請在報告中明確說明——不要強行製造不存在的主題。

引用格式化:確切格式取決於使用者的偏好。僅閱讀與使用者要求格式相符的模板檔案,而非全部三個:

  • templates/apa.md — APA 第 7 版。適用於社會科學和大多數電腦科學期刊的預設格式。當使用者要求 APA 或未指定格式時使用。
  • templates/ieee.md — IEEE 數字引用。當使用者投稿 IEEE 會議或期刊,或明確要求 IEEE 時使用。
  • templates/bibtex.md — BibTeX 條目。當使用者提到 BibTeX、LaTeX,或想要機器可讀的參考文獻時使用。重要提示:arXiv 論文應引用為 @misc,而非 @article——BibTeX 模板已明確涵蓋此點。

每個模板都包含引用規則和完整的報告結構(執行摘要、主題、逐篇論文註釋、參考文獻、方法論章節)。報告正文請逐字遵循模板的結構,然後填入您從第三階段取得的元數據內容。

第五階段:儲存與呈現

將完整報告儲存到 /mnt/user-data/outputs/slr-<topic-slug>-<YYYYMMDD>.md,其中 <topic-slug> 是主題的小寫連字號版本(例如 transformer-attention)。然後使用 present_files 工具提供該路徑,以便使用者可以下載。

在聊天訊息中,顯示一個簡短的預覽,讓使用者無需開啟檔案即可立即看到價值:

  1. 執行摘要——報告開頭的 3-5 句話段落,逐字引用。
  2. 主題列表——您在第四階段綜合中識別出的主題項目列表(僅提供主題名稱 + 一行說明,而非完整的主題章節)。
  3. 論文數量 + 檔案路徑提示——例如:「包含 20 篇論文、逐篇論文註釋和格式化參考文獻的完整報告已儲存至 slr-transformer-attention-20260409.md。」

請勿在聊天中內聯轉儲完整的 2000 字以上報告——逐篇論文註釋、參考文獻和方法論都應放在檔案中。預覽的目的是讓使用者快速評估報告並決定是否要開啟它。

範例

範例 1:典型的 SLR 請求

使用者:「對最近的 transformer 注意力變體進行系統性文獻回顧,20 篇論文,APA 格式。」

您的流程:

  1. 第一階段:確認主題 (transformer attention variants)、範圍 (20 篇論文,預設時間窗口)、格式 (APA)。僅在缺少某些資訊時提出一個釐清問題(例如:「是否需要特定時間窗口,還是預設為最近 3 年?」)。
  2. 第二階段:arxiv_search.py "transformer attention" --max-results 20 --sort-by relevance --start-date 2023-01-01。
  3. 第三階段:20 篇論文 → 第一回合 = 3 個子代理器 × 5 篇論文 = 涵蓋 15 篇,第二回合 = 1 個子代理器 × 5 篇論文 = 涵蓋 5 篇。

…

[為翻譯進行截斷]

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bootstrap

Generate a personalized SOUL.md through a warm, adaptive onboarding conversation. Trigger when the user wants to create, set up, or initialize their AI partner's identity — e.g., "create my SOUL.md", "bootstrap my agent", "set up my AI partner", "define who you are", "let's do onboarding", "personalize this AI", "make you mine", or when a SOUL.md is missing. Also trigger for updates: "update my SOUL.md", "change my AI's personality", "tweak the soul".

bytedance/academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints, or scientific publications. Supports comprehensive structured reviews covering methodology assessment, contribution evaluation, literature positioning, and constructive feedback generation. Trigger on queries involving paper URLs, uploaded PDFs, arXiv links, or requests like "review this paper", "analyze this research", "summarize this study", or "write a peer review".

bytedance/chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

bytedance/claude-to-deerflow

Interact with DeerFlow AI agent platform via its HTTP API. Use this skill when the user wants to send messages or questions to DeerFlow for research/analysis, start a DeerFlow conversation thread, check DeerFlow status or health, list available models/skills/agents in DeerFlow, manage DeerFlow memory, upload files to DeerFlow threads, or delegate complex research tasks to DeerFlow. Also use when the user mentions deerflow, deer flow, or wants to run a deep research task that DeerFlow can handle.

bytedance/consulting-analysis

Use this skill when the user requests to generate, create, or write professional research reports including but not limited to market analysis, consumer insights, brand analysis, financial analysis, industry research, competitive intelligence, investment due diligence, or any consulting-grade analytical report. This skill operates in two phases — (1) generating a structured analysis framework with chapter skeleton, data query requirements, and analysis logic, and (2) after data collection by other skills, producing the final consulting-grade report with structured narratives, embedded charts, and strategic insights.

bytedance/data-analysis

Use this skill when the user uploads Excel (.xlsx/.xls) or CSV files and wants to perform data analysis, generate statistics, create summaries, pivot tables, SQL queries, or any form of structured data exploration. Supports multi-sheet Excel workbooks, aggregation, filtering, joins, and exporting results to CSV/JSON/Markdown.

bytedance/deep-research

Use this skill instead of WebSearch for ANY question requiring web research. Trigger on queries like "what is X", "explain X", "compare X and Y", "research X", or before content generation tasks. Provides systematic multi-angle research methodology instead of single superficial searches. Use this proactively when the user's question needs online information.

bytedance/find-skills

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

bytedance/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

bytedance/github-deep-research

Conduct multi-round deep research on any GitHub Repo. Use when users request comprehensive analysis, timeline reconstruction, competitive analysis, or in-depth investigation of GitHub. Produces structured markdown reports with executive summaries, chronological timelines, metrics analysis, and Mermaid diagrams. Triggers on Github repository URL or open source projects.

bytedance/image-generation

Use this skill when the user requests to generate, create, imagine, or visualize images including characters, scenes, products, or any visual content. Supports structured prompts and reference images for guided generation.

bytedance/podcast-generation

Use this skill when the user requests to generate, create, or produce podcasts from text content. Converts written content into a two-host conversational podcast audio format with natural dialogue.

bytedance/ppt-generation

Use this skill when the user requests to generate, create, or make presentations (PPT/PPTX). Creates visually rich slides by generating images for each slide and composing them into a PowerPoint file.

bytedance/skill-creator

Create 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 existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

bytedance/surprise-me

Create a delightful, unexpected "wow" experience for the user by dynamically discovering and creatively combining other enabled skills. Triggers when the user says "surprise me" or any request expressing a desire for an unexpected creative showcase. Also triggers when the user is bored, wants inspiration, or asks for "something interesting".

bytedance/vercel-deploy

Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.

bytedance/video-generation

Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.

bytedance/web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

chart-visualization

This skill should be used when the user wants to visualize data. It intelligently selects the most suitable chart type from 26 available options, extracts parameters based on detailed specifications, and generates a chart image using a JavaScript script.

相關技能