research
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseResearch - Deep Investigation
研究 - 深度调研
Thorough research combining multiple sources and AI synthesis.
整合多源信息与AI合成的深度调研方法。
Prerequisites
前置条件
- CLI for GitHub searches
gh - CLI for AI synthesis
gemini
bash
brew install gh
pip install google-generativeai
gh auth login
export GEMINI_API_KEY=your_api_key- 用于GitHub搜索的CLI
gh - 用于AI合成的CLI
gemini
bash
brew install gh
pip install google-generativeai
gh auth login
export GEMINI_API_KEY=your_api_keyResearch Operations
调研操作
Deep Research
深度调研
Comprehensive multi-angle investigation:
bash
undefined全方位多角度调研:
bash
undefinedStep 1: Gather information from multiple angles
Step 1: Gather information from multiple angles
TOPIC="your research topic"
OBJECTIVE="what you're trying to learn"
TOPIC="your research topic"
OBJECTIVE="what you're trying to learn"
Web search synthesis
Web search synthesis
gemini -m pro -o text -e "" "Research '$TOPIC' comprehensively.
OBJECTIVE: $OBJECTIVE
Provide:
- Executive summary (3-5 bullet points)
- Key findings with sources
- Different perspectives and debates
- Knowledge gaps and uncertainties
- Actionable recommendations"
undefinedgemini -m pro -o text -e "" "Research '$TOPIC' comprehensively.
OBJECTIVE: $OBJECTIVE
Provide:
- Executive summary (3-5 bullet points)
- Key findings with sources
- Different perspectives and debates
- Knowledge gaps and uncertainties
- Actionable recommendations"
undefinedQuick Research
快速调研
Fast answers for straightforward questions:
bash
gemini -m pro -o text -e "" "Quick research: [question]
Provide:
- Direct answer
- Key facts
- Important caveats
- Actionable next step"针对简单问题的快速解答:
bash
gemini -m pro -o text -e "" "Quick research: [question]
Provide:
- Direct answer
- Key facts
- Important caveats
- Actionable next step"Technology Comparison
技术对比
bash
gemini -m pro -o text -e "" "Compare these technologies for [use case]:
CANDIDATES:
1. [Tech A]
2. [Tech B]
3. [Tech C]
CRITERIA:
- Performance
- Learning curve
- Community/ecosystem
- Maintenance burden
- Production readiness
Include real-world adoption examples and common pitfalls."bash
gemini -m pro -o text -e "" "Compare these technologies for [use case]:
CANDIDATES:
1. [Tech A]
2. [Tech B]
3. [Tech C]
CRITERIA:
- Performance
- Learning curve
- Community/ecosystem
- Maintenance burden
- Production readiness
Include real-world adoption examples and common pitfalls."Library Investigation
类库调研
bash
undefinedbash
undefinedGitHub search for the library
GitHub search for the library
gh search repos "[library name]" --json fullName,description,stargazersCount,updatedAt --limit 5
gh search repos "[library name]" --json fullName,description,stargazersCount,updatedAt --limit 5
Check issues
Check issues
gh search issues "[library] bug" --json title,url,state --limit 10
gh search issues "[library] bug" --json title,url,state --limit 10
AI analysis
AI analysis
gemini -m pro -o text -e "" "Evaluate [library] for production use:
- Maturity and stability
- Maintenance status
- Common issues
- Alternatives to consider
- Recommendation"
undefinedgemini -m pro -o text -e "" "Evaluate [library] for production use:
- Maturity and stability
- Maintenance status
- Common issues
- Alternatives to consider
- Recommendation"
undefinedGitHub Issues Search
GitHub Issues搜索
Find related issues for debugging:
bash
undefined查找与调试相关的Issues:
bash
undefinedSearch GitHub issues
Search GitHub issues
gh search issues "[error message]" --json repository,title,url,state --limit 20
gh search issues "[error message]" --json repository,title,url,state --limit 20
Search in specific repo
Search in specific repo
gh search issues "[error]" --repo owner/repo --json title,url,state
gh search issues "[error]" --repo owner/repo --json title,url,state
Search with labels
Search with labels
gh search issues "[topic]" --label "bug" --state open
undefinedgh search issues "[topic]" --label "bug" --state open
undefinedResearch Patterns
调研模式
Before Adopting a Library
类库选型前调研
bash
#!/bin/bash
LIB="$1"
echo "=== GitHub Presence ==="
gh search repos "$LIB" --json fullName,stargazersCount,updatedAt --limit 3
echo ""
echo "=== Open Issues ==="
gh search issues "$LIB bug" --state open --json title,url --limit 5
echo ""
echo "=== AI Evaluation ==="
gemini -m pro -o text -e "" "Should I use $LIB in production? Consider maintenance, alternatives, and common issues."bash
#!/bin/bash
LIB="$1"
echo "=== GitHub Presence ==="
gh search repos "$LIB" --json fullName,stargazersCount,updatedAt --limit 3
echo ""
echo "=== Open Issues ==="
gh search issues "$LIB bug" --state open --json title,url --limit 5
echo ""
echo "=== AI Evaluation ==="
gemini -m pro -o text -e "" "Should I use $LIB in production? Consider maintenance, alternatives, and common issues."Debugging with External Search
结合外部搜索调试
bash
ERROR="your error message"bash
ERROR="your error message"Search for similar issues
Search for similar issues
gh search issues "$ERROR" --json repository,title,url,state --limit 10
gh search issues "$ERROR" --json repository,title,url,state --limit 10
Search discussions
Search discussions
gh search issues "$ERROR" type:discussion --limit 5
gh search issues "$ERROR" type:discussion --limit 5
AI analysis of error
AI analysis of error
gemini -m pro -o text -e "" "Explain this error and likely causes: $ERROR"
undefinedgemini -m pro -o text -e "" "Explain this error and likely causes: $ERROR"
undefinedArchitectural Research
架构调研
bash
gemini -m pro -o text -e "" "Research best practices for: [architecture topic]
Specifically:
1. What do industry leaders (FAANG, etc.) do?
2. What are the tradeoffs?
3. Common mistakes to avoid
4. When to use vs. when to avoid
5. Concrete implementation guidance"bash
gemini -m pro -o text -e "" "Research best practices for: [architecture topic]
Specifically:
1. What do industry leaders (FAANG, etc.) do?
2. What are the tradeoffs?
3. Common mistakes to avoid
4. When to use vs. when to avoid
5. Concrete implementation guidance"Staying Current
跟踪技术动态
bash
undefinedbash
undefinedRecent news on a topic
Recent news on a topic
gemini -m pro -o text -e "" "What are the latest developments in [technology] as of 2024? Include version updates, new features, and ecosystem changes."
gemini -m pro -o text -e "" "What are the latest developments in [technology] as of 2024? Include version updates, new features, and ecosystem changes."
Recent GitHub activity
Recent GitHub activity
gh search repos "[technology]" --created ">2024-01-01" --sort stars --json fullName,description,stargazersCount --limit 10
undefinedgh search repos "[technology]" --created ">2024-01-01" --sort stars --json fullName,description,stargazersCount --limit 10
undefinedOutput Synthesis
输出整合
Standard Research Output
标准调研输出
undefinedundefinedExecutive Summary
Executive Summary
- Key point 1
- Key point 2
- Key point 3
- Key point 1
- Key point 2
- Key point 3
Detailed Findings
Detailed Findings
Finding 1
Finding 1
[Details and evidence]
[Details and evidence]
Finding 2
Finding 2
[Details and evidence]
[Details and evidence]
Critical Analysis
Critical Analysis
- What's contested or uncertain
- What biases might exist
- What's missing
- What's contested or uncertain
- What biases might exist
- What's missing
Recommendations
Recommendations
- Immediate action
- Further investigation needed
- Decisions to make
undefined- Immediate action
- Further investigation needed
- Decisions to make
undefinedComparison Output
对比输出
undefinedundefinedQuick Verdict
Quick Verdict
[1-2 sentence recommendation]
[1-2 sentence recommendation]
Detailed Comparison
Detailed Comparison
| Criterion | Option A | Option B | Option C |
|---|---|---|---|
| Performance | ... | ... | ... |
| Ease of use | ... | ... | ... |
| Criterion | Option A | Option B | Option C |
|---|---|---|---|
| Performance | ... | ... | ... |
| Ease of use | ... | ... | ... |
Recommendation
Recommendation
[Detailed reasoning]
undefined[Detailed reasoning]
undefinedBest Practices
最佳实践
- State objective clearly - What decision are you trying to make?
- Use multiple sources - GitHub + web + AI synthesis
- Check recency - Technology changes quickly
- Verify claims - AI can hallucinate; cross-reference
- Save valuable research - Store in memory for future reference
- Follow up gaps - Research what's uncertain
- 明确目标 - 你需要做出什么决策?
- 多源验证 - GitHub + 网页 + AI合成
- 时效性检查 - 技术迭代速度快
- 验证结论 - AI可能产生幻觉,需交叉验证
- 保存调研成果 - 留存信息以备后续参考
- 填补知识空白 - 针对不确定内容进一步调研