chain-of-thought-prompts

Solid

Chain-of-thought and step-by-step reasoning prompts for complex problem solving

AI & Automation 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
50
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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 1. **Zero-Shot CoT**: "Let's think step by step" 2. **Few-Shot CoT**: Examples with reasoning 3. **Self-Consistency**: Multiple reasoning paths 4. **Tree-of-Thought**: Branching reasoning 5. **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

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Related Skills