chain-of-thought-prompts
// Chain-of-thought and step-by-step reasoning prompts for complex problem solving
$ git log --oneline --stat
stars:384
forks:73
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namechain-of-thought-prompts
descriptionChain-of-thought and step-by-step reasoning prompts for complex problem solving
allowed-toolsRead,Write,Edit,Bash,Glob,Grep
Chain-of-Thought Prompts Skill
Capabilities
- Design chain-of-thought prompting patterns
- Implement step-by-step reasoning templates
- Create self-consistency prompting
- Design tree-of-thought patterns
- Implement reasoning verification
- Create structured reasoning outputs
Target Processes
- prompt-engineering-workflow
- self-reflection-agent
Implementation Details
CoT Patterns
- Zero-Shot CoT: "Let's think step by step"
- Few-Shot CoT: Examples with reasoning
- Self-Consistency: Multiple reasoning paths
- Tree-of-Thought: Branching reasoning
- ReAct: Reasoning + Action interleaved
Configuration Options
- Reasoning trigger phrases
- Step format structure
- Verification prompts
- Reasoning chain length
- Consistency voting threshold
Best Practices
- Clear reasoning step markers
- Explicit final answer extraction
- Verify reasoning validity
- Handle reasoning errors
- Monitor reasoning quality
Dependencies
- langchain-core