
Thought Based Reasoning
This is a comprehensive reference guide for getting Claude to show its work on complex problems. It covers eight reasoning techniques with actual prompt templates, decision matrices showing accuracy gains, and implementation examples. The core idea: adding "Let's think step by step" can boost accuracy 20-60% on reasoning tasks, and the guide walks through when to use zero-shot CoT versus few-shot versus heavier approaches like Tree of Thoughts for problems requiring backtracking. Each technique includes research citations, strengths, limitations, and concrete code snippets. Most useful when you're hitting a wall with simple prompts on math, logic, or multi-step problems and need a systematic approach backed by actual research numbers.
- skills.sh installs
- 1.4K
- GitHub stars
- 1.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add neolabhq/context-engineering-kit --skill thought-based-reasoning --agent claude-codeInstalls into .claude/skills of the current project.
Files
Thought-Based Reasoning Techniques for LLMs
Overview
Chain-of-Thought (CoT) prompting and its variants encourage LLMs to generate intermediate reasoning steps before arriving at a final answer, significantly improving performance on complex reasoning tasks. These techniques transform how models approach problems by making implicit reasoning explicit.
Quick Reference
| Technique | When to Use | Complexity | Accuracy Gain |
|---|---|---|---|
| Zero-shot CoT | Quick reasoning, no examples available | Low | +20-60% |
| Few-shot CoT | Have good examples, consistent format needed | Medium | +30-70% |
| Self-Consistency | High-stakes decisions, need confidence | Medium | +10-20% over CoT |
| Tree of Thoughts | Complex problems requiring exploration | High | +50-70% on hard tasks |
| Least-to-Most | Multi-step problems with subproblems | Medium | +30-80% |
| ReAct | Tasks requiring external information | Medium | +15-35% |
| PAL | Mathematical/computational problems | Medium | +10-15% |
| Reflexion | Iterative improvement, learning from errors | High | +10-20% |
Core Techniques
1. Chain-of-Thought (CoT) Prompting
Sponsors
Details
- Repository
- github.com/neolabhq/context-engineering-kit
- Categories
- Frontend Development, Documentation, Data Science & ML, Productivity & Planning
- First seen
- Jun 3, 2026
More from neolabhq/context-engineering-kit
All 63- Reflect1.4K
- Write Concisely1.4K
- Kaizen1.4K
- Multi Agent Patterns1.4K
- Memorize1.3K
- Update Docs1.3K
- Critique1.3K
- Brainstorm1.3K
- Judge With Debate1.3K
- Root Cause Tracing1.3K
- Agent Evaluation1.3K
- Subagent Driven Development1.3K
- Review Local Changes1.3K
- Test Driven Development1.3K
- Plan Task1.3K
- Judge1.3K
- Why1.3K
- Do And Judge1.3K
- Setup Serena Mcp1.3K
- Implement Task1.3K
- Write Tests1.3K
- Test Prompt1.3K
- Analyse Problem1.3K
- Do In Steps1.3K