think
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseThink - Structured Reasoning
思考——结构化推理
Apply structured thinking frameworks to complex problems.
将结构化思维框架应用于复杂问题。
Prerequisites
前提条件
Gemini CLI installed:
bash
pip install google-generativeai
export GEMINI_API_KEY=your_api_key已安装Gemini CLI:
bash
pip install google-generativeai
export GEMINI_API_KEY=your_api_keyCLI Reference
CLI参考
All commands use Gemini with structured prompts:
bash
gemini -m pro -o text -e "" "Your prompt"所有命令均通过结构化提示词调用Gemini:
bash
gemini -m pro -o text -e "" "Your prompt"Thinking Operations
思考操作
Deep Analysis
深度分析
Multi-framework reasoning on complex problems:
bash
gemini -m pro -o text -e "" "Analyze this problem using multiple thinking frameworks:
PROBLEM: [Your problem]
Apply these frameworks:
1. First Principles - Break down to fundamental truths
2. Systems Thinking - Map components and interactions
3. Inversion - What would make this fail?
4. Second-Order Effects - What happens after the obvious?
For each framework:
- Key insights
- Blind spots it reveals
- Actionable implications
Synthesize into a coherent recommendation."对复杂问题进行多框架推理:
bash
gemini -m pro -o text -e "" "Analyze this problem using multiple thinking frameworks:
PROBLEM: [Your problem]
Apply these frameworks:
1. First Principles - Break down to fundamental truths
2. Systems Thinking - Map components and interactions
3. Inversion - What would make this fail?
4. Second-Order Effects - What happens after the obvious?
For each framework:
- Key insights
- Blind spots it reveals
- Actionable implications
Synthesize into a coherent recommendation."Quick Think
快速思考
Fast reasoning on simpler questions:
bash
gemini -m pro -o text -e "" "Think through this question step by step:
[Your question]
Provide:
1. Initial reaction
2. Key considerations
3. Potential pitfalls
4. Recommended approach"针对简单问题的快速推理:
bash
gemini -m pro -o text -e "" "Think through this question step by step:
[Your question]
Provide:
1. Initial reaction
2. Key considerations
3. Potential pitfalls
4. Recommended approach"Challenge an Idea
质疑想法
Stress-test a proposal:
bash
gemini -m pro -o text -e "" "Challenge this idea rigorously:
IDEA: [The idea to challenge]
CONTEXT: [Relevant context]
Apply these challenges:
1. Steel man the counterargument
2. Identify hidden assumptions
3. Find edge cases that break it
4. Consider who might disagree and why
5. What evidence would change your mind?
Conclude with: Should we proceed, modify, or abandon?"对提案进行压力测试:
bash
gemini -m pro -o text -e "" "Challenge this idea rigorously:
IDEA: [The idea to challenge]
CONTEXT: [Relevant context]
Apply these challenges:
1. Steel man the counterargument
2. Identify hidden assumptions
3. Find edge cases that break it
4. Consider who might disagree and why
5. What evidence would change your mind?
Conclude with: Should we proceed, modify, or abandon?"Evaluate Options
评估方案
Compare multiple choices:
bash
gemini -m pro -o text -e "" "Evaluate these options for: [Decision question]
OPTIONS:
1. [Option A]
2. [Option B]
3. [Option C]
CRITERIA:
- [Criterion 1]
- [Criterion 2]
- [Criterion 3]
For each option:
- Score against each criterion (1-5)
- Key advantages
- Key risks
- Hidden costs
Provide a clear recommendation with reasoning."对比多种选择:
bash
gemini -m pro -o text -e "" "Evaluate these options for: [Decision question]
OPTIONS:
1. [Option A]
2. [Option B]
3. [Option C]
CRITERIA:
- [Criterion 1]
- [Criterion 2]
- [Criterion 3]
For each option:
- Score against each criterion (1-5)
- Key advantages
- Key risks
- Hidden costs
Provide a clear recommendation with reasoning."Thinking Frameworks
思维框架
First Principles
第一性原理
bash
gemini -m pro -o text -e "" "Apply first principles thinking to: [problem]
1. What do we know for certain? (facts, not assumptions)
2. What are we assuming? (challenge each)
3. What's the simplest explanation?
4. Build up from fundamentals"bash
gemini -m pro -o text -e "" "Apply first principles thinking to: [problem]
1. What do we know for certain? (facts, not assumptions)
2. What are we assuming? (challenge each)
3. What's the simplest explanation?
4. Build up from fundamentals"Pre-Mortem
事前验尸
bash
gemini -m pro -o text -e "" "Conduct a pre-mortem for: [project/decision]
Imagine this has completely failed. Working backward:
1. What went wrong?
2. What warning signs did we ignore?
3. What assumptions proved false?
4. What can we do NOW to prevent this?"bash
gemini -m pro -o text -e "" "Conduct a pre-mortem for: [project/decision]
Imagine this has completely failed. Working backward:
1. What went wrong?
2. What warning signs did we ignore?
3. What assumptions proved false?
4. What can we do NOW to prevent this?"Opportunity Cost
机会成本
bash
gemini -m pro -o text -e "" "Analyze opportunity costs for: [decision]
If we choose this:
1. What are we NOT doing?
2. What resources are locked up?
3. What options are foreclosed?
4. What's the cost of reversing?"bash
gemini -m pro -o text -e "" "Analyze opportunity costs for: [decision]
If we choose this:
1. What are we NOT doing?
2. What resources are locked up?
3. What options are foreclosed?
4. What's the cost of reversing?"Second-Order Effects
二阶效应
bash
gemini -m pro -o text -e "" "Explore second-order effects of: [action/decision]
First-order effect: [The obvious outcome]
Now trace the chain:
- What does that cause?
- Who responds and how?
- What unintended consequences emerge?
- What feedback loops are created?"bash
gemini -m pro -o text -e "" "Explore second-order effects of: [action/decision]
First-order effect: [The obvious outcome]
Now trace the chain:
- What does that cause?
- Who responds and how?
- What unintended consequences emerge?
- What feedback loops are created?"Use Cases
应用场景
Architecture Decisions
架构决策
bash
gemini -m pro -o text -e "" "Evaluate architecture options:
CONTEXT: Building a real-time collaborative editor
OPTIONS:
1. Operational Transform (OT)
2. CRDTs
3. Custom sync engine
CRITERIA:
- Correctness guarantees
- Performance at scale
- Implementation complexity
- Offline support
Provide detailed analysis and recommendation."bash
gemini -m pro -o text -e "" "Evaluate architecture options:
CONTEXT: Building a real-time collaborative editor
OPTIONS:
1. Operational Transform (OT)
2. CRDTs
3. Custom sync engine
CRITERIA:
- Correctness guarantees
- Performance at scale
- Implementation complexity
- Offline support
Provide detailed analysis and recommendation."Code Design
代码设计
bash
gemini -m pro -o text -e "" "Think through this design decision:
PROBLEM: Where to put validation logic - in the controller, service, or model?
Consider:
- Separation of concerns
- Testability
- Maintainability
- Real-world examples
- What experienced developers prefer and why"bash
gemini -m pro -o text -e "" "Think through this design decision:
PROBLEM: Where to put validation logic - in the controller, service, or model?
Consider:
- Separation of concerns
- Testability
- Maintainability
- Real-world examples
- What experienced developers prefer and why"Debugging Strategy
调试策略
bash
gemini -m pro -o text -e "" "Help me think through debugging this issue:
SYMPTOM: [What's happening]
CONTEXT: [System description]
TRIED: [What you've already attempted]
1. What does this symptom tell us?
2. What's the most likely root cause?
3. What's the most costly root cause?
4. What's the quickest diagnostic test?
5. In what order should I investigate?"bash
gemini -m pro -o text -e "" "Help me think through debugging this issue:
SYMPTOM: [What's happening]
CONTEXT: [System description]
TRIED: [What you've already attempted]
1. What does this symptom tell us?
2. What's the most likely root cause?
3. What's the most costly root cause?
4. What's the quickest diagnostic test?
5. In what order should I investigate?"Best Practices
最佳实践
- Be specific - Vague problems get vague analysis
- Provide context - Include constraints and requirements
- Request structure - Ask for frameworks, criteria, scores
- Challenge the output - Use follow-up questions
- Capture reasoning - Save good analyses for future reference
- 表述具体——模糊的问题只会得到模糊的分析
- 提供上下文——包含约束条件和需求
- 要求结构化输出——明确索要框架、标准、评分
- 质疑输出结果——通过后续提问进一步探讨
- 记录推理过程——保存优质分析内容供未来参考