name: chain-of-thought-prompts description: Chain-of-thought and step-by-step reasoning prompts for complex problem solving allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
Chain-of-Thought Prompts Skill
Capabilities
- 设计思维链提示模式
- 实施逐步推理模板
- 创建自我一致性提示
- 设计思维树模式
- 实施推理验证
- 创建结构化推理输出
Target Processes
- prompt-engineering-workflow
- self-reflection-agent
Implementation Details
CoT Patterns
- Zero-Shot CoT: “让我们一步一步思考”
- Few-Shot CoT: 带有推理的例子
- Self-Consistency: 多条推理路径
- Tree-of-Thought: 分支推理
- ReAct: 推理+行动交错
Configuration Options
- 推理触发短语
- 步骤格式结构
- 验证提示
- 推理链长度
- 一致性投票阈值
Best Practices
- 清晰的推理步骤标记
- 明确的最终答案提取
- 验证推理有效性
- 处理推理错误
- 监控推理质量
Dependencies
- langchain-core