neolabhq avatar

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-code

Installs 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

TechniqueWhen to UseComplexityAccuracy Gain
Zero-shot CoTQuick reasoning, no examples availableLow+20-60%
Few-shot CoTHave good examples, consistent format neededMedium+30-70%
Self-ConsistencyHigh-stakes decisions, need confidenceMedium+10-20% over CoT
Tree of ThoughtsComplex problems requiring explorationHigh+50-70% on hard tasks
Least-to-MostMulti-step problems with subproblemsMedium+30-80%
ReActTasks requiring external informationMedium+15-35%
PALMathematical/computational problemsMedium+10-15%
ReflexionIterative improvement, learning from errorsHigh+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
1kostja94 avatarbrand-visual-generatorkostja94/marketing-skillsWhen the user wants to define, audit, or apply visual identity (typography, colors, spacing, design tokens, frontend aesthetics). Also use when the user mention1.4Kskills.sh installs
2customware-ai avatarcrm-buildercustomware-ai/skillsCustomer Relationship Management (CRM) vertical skill for the Customware SPA. Defines the section layout, entity views, and mapping rules for transforming a DOM1.4Kskills.sh installs
3quodsoler avatarue-niagara-effectsquodsoler/unreal-engine-skillsUse this skill when working with Niagara particle systems, VFX, effects, emitter, Niagara component, or Niagara parameter in Unreal Engine C++. Covers spawning 1.4Kskills.sh installs
4davila7 avatar3d-web-experiencedavila7/claude-code-templatesExpert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfoli1.4Kskills.sh installs
5waynesutton avatarconvex-agentswaynesutton/convexskillsBuilding AI agents with the Convex Agent component including thread management, tool integration, streaming responses, RAG patterns, and workflow orchestration1.4Kskills.sh installs
6github avatardaily-prepgithub/awesome-copilotPrepare for tomorrow's meetings and tasks. Pulls calendar from Outlook via WorkIQ, cross-references open tasks and workspace context, classifies meetings, detec1.4Kskills.sh installs