github-deep-research
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGitHub Deep Research Skill
GitHub深度研究Skill
Multi-round research combining GitHub API, web_search, web_fetch to produce comprehensive markdown reports.
结合GitHub API、web_search、web_fetch进行多轮研究,生成全面的Markdown报告。
Research Workflow
研究工作流
- Round 1: GitHub API
- Round 2: Discovery
- Round 3: Deep Investigation
- Round 4: Deep Dive
- 第一轮:GitHub API
- 第二轮:发现阶段
- 第三轮:深度调查
- 第四轮:深度钻研
Core Methodology
核心方法论
Query Strategy
查询策略
Broad to Narrow: Start with GitHub API, then general queries, refine based on findings.
Round 1: GitHub API
Round 2: "{topic} overview"
Round 3: "{topic} architecture", "{topic} vs alternatives"
Round 4: "{topic} issues", "{topic} roadmap", "site:github.com {topic}"Source Prioritization:
- Official docs/repos (highest weight)
- Technical blogs (Medium, Dev.to)
- News articles (verified outlets)
- Community discussions (Reddit, HN)
- Social media (lowest weight, for sentiment)
从宽到窄:从GitHub API开始,再进行通用查询,根据研究结果逐步细化。
Round 1: GitHub API
Round 2: "{topic} overview"
Round 3: "{topic} architecture", "{topic} vs alternatives"
Round 4: "{topic} issues", "{topic} roadmap", "site:github.com {topic}"来源优先级:
- 官方文档/仓库 (最高权重)
- 技术博客 (Medium、Dev.to)
- 新闻文章 (权威媒体)
- 社区讨论 (Reddit、HN)
- 社交媒体 (最低权重,用于舆情分析)
Research Rounds
研究轮次
Round 1 - GitHub API
Directly execute without :
scripts/github_api.pyread_file()bash
python /path/to/skill/scripts/github_api.py <owner> <repo> summary
python /path/to/skill/scripts/github_api.py <owner> <repo> readme
python /path/to/skill/scripts/github_api.py <owner> <repo> treeAvailable commands (the last argument of ):
github_api.py- summary
- info
- readme
- tree
- languages
- contributors
- commits
- issues
- prs
- releases
Round 2 - Discovery (3-5 web_search)
- Get overview and identify key terms
- Find official website/repo
- Identify main players/competitors
Round 3 - Deep Investigation (5-10 web_search + web_fetch)
- Technical architecture details
- Timeline of key events
- Community sentiment
- Use web_fetch on valuable URLs for full content
Round 4 - Deep Dive
- Analyze commit history for timeline
- Review issues/PRs for feature evolution
- Check contributor activity
Round 1 - GitHub API
直接执行,无需调用:
scripts/github_api.pyread_file()bash
python /path/to/skill/scripts/github_api.py <owner> <repo> summary
python /path/to/skill/scripts/github_api.py <owner> <repo> readme
python /path/to/skill/scripts/github_api.py <owner> <repo> tree可用命令(的最后一个参数):
github_api.py- summary
- info
- readme
- tree
- languages
- contributors
- commits
- issues
- prs
- releases
Round 2 - 发现阶段 (3-5次web_search)
- 获取概览并确定关键术语
- 查找官方网站/仓库
- 识别主要参与者/竞品
Round 3 - 深度调查 (5-10次web_search + web_fetch)
- 技术架构细节
- 关键事件时间线
- 社区舆情
- 对有价值的URL使用web_fetch获取完整内容
Round 4 - 深度钻研
- 分析提交历史以构建时间线
- 查看issues/PRs以了解功能演进
- 检查贡献者活跃度
Report Structure
报告结构
Follow template in :
assets/report_template.md- Metadata Block - Date, confidence level, subject
- Executive Summary - 2-3 sentence overview with key metrics
- Chronological Timeline - Phased breakdown with dates
- Key Analysis Sections - Topic-specific deep dives
- Metrics & Comparisons - Tables, growth charts
- Strengths & Weaknesses - Balanced assessment
- Sources - Categorized references
- Confidence Assessment - Claims by confidence level
- Methodology - Research approach used
遵循中的模板:
assets/report_template.md- 元数据块 - 日期、置信度、研究主题
- 执行摘要 - 2-3句话的概览,包含关键指标
- 时间线 - 按阶段划分的时间节点
- 核心分析章节 - 针对主题的深度剖析
- 指标与对比 - 表格、增长图表
- 优势与劣势 - 客观评估
- 来源 - 分类整理的参考资料
- 置信度评估 - 按置信度划分的研究结论
- 方法论 - 所使用的研究方法
Mermaid Diagrams
Mermaid图表
Include diagrams where helpful:
Timeline (Gantt):
mermaid
gantt
title Project Timeline
dateFormat YYYY-MM-DD
section Phase 1
Development :2025-01-01, 2025-03-01
section Phase 2
Launch :2025-03-01, 2025-04-01Architecture (Flowchart):
mermaid
flowchart TD
A[User] --> B[Coordinator]
B --> C[Planner]
C --> D[Research Team]
D --> E[Reporter]Comparison (Pie/Bar):
mermaid
pie title Market Share
"Project A" : 45
"Project B" : 30
"Others" : 25在需要的地方添加图表:
时间线(甘特图):
mermaid
gantt
title Project Timeline
dateFormat YYYY-MM-DD
section Phase 1
Development :2025-01-01, 2025-03-01
section Phase 2
Launch :2025-03-01, 2025-04-01架构(流程图):
mermaid
flowchart TD
A[User] --> B[Coordinator]
B --> C[Planner]
C --> D[Research Team]
D --> E[Reporter]对比(饼图/柱状图):
mermaid
pie title Market Share
"Project A" : 45
"Project B" : 30
"Others" : 25Confidence Scoring
置信度评分
Assign confidence based on source quality:
| Confidence | Criteria |
|---|---|
| High (90%+) | Official docs, GitHub data, multiple corroborating sources |
| Medium (70-89%) | Single reliable source, recent articles |
| Low (50-69%) | Social media, unverified claims, outdated info |
根据来源质量分配置信度:
| 置信度 | 判定标准 |
|---|---|
| 高(90%+) | 官方文档、GitHub数据、多个独立佐证来源 |
| 中(70-89%) | 单一可靠来源、近期文章 |
| 低(50-69%) | 社交媒体、未经验证的说法、过时信息 |
Output
输出
Save report as:
research_{topic}_{YYYYMMDD}.md报告保存为:
research_{topic}_{YYYYMMDD}.mdFormatting Rules
格式规则
- Chinese content: Use full-width punctuation(,。:;!?)
- Technical terms: Provide Wiki/doc URL on first mention
- Tables: Use for metrics, comparisons
- Code blocks: For technical examples
- Mermaid: For architecture, timelines, flows
- 中文内容: 使用全角标点(,。:;!?)
- 技术术语: 首次提及需提供Wiki/文档链接
- 表格: 用于展示指标、对比数据
- 代码块: 用于技术示例
- Mermaid: 用于架构图、时间线、流程图
Best Practices
最佳实践
- Start with official sources - Repo, docs, company blog
- Verify dates from commits/PRs - More reliable than articles
- Triangulate claims - 2+ independent sources
- Note conflicting info - Don't hide contradictions
- Distinguish fact vs opinion - Label speculation clearly
- Reference sources - Add source references near claims where applicable
- Update as you go - Don't wait until end to synthesize
- 从官方来源入手 - 仓库、文档、公司博客
- 通过提交记录/PR验证日期 - 比文章更可靠
- 多方验证结论 - 至少2个独立来源
- 标注矛盾信息 - 不要隐藏冲突点
- 区分事实与观点 - 明确标注推测内容
- 引用来源 - 在结论附近添加来源参考(如有)
- 边研究边更新 - 不要等到最后再整合内容