Reference docMembers

Chain-of-Thought Prompting (prompt engineering patterns) (wshobson agents and plugins)

Chain-of-Thought Prompting (prompt engineering patterns) (wshobson agents and plugins) is a reference document for Claude Code, from the wshobson agents and plugins collection by wshobson. The full text is about 1,077 words in 21 sections, with 12 code blocks. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Data and ML and Product and engineering who use Claude Code.

What it covers

  • Overview
  • Core Techniques
  • Zero-Shot CoT
  • Few-Shot CoT
  • Self-Consistency
  • Advanced Patterns
  • Least-to-Most Prompting
  • Tree-of-Thought ToT
  • Verification Step
  • Domain-Specific CoT

The full text is in the members library

Book a call and we will give you access to the full Claude Code library: every entry in full, search by meaning, copy and download.

Source: https://github.com/wshobson/agents/blob/main/plugins/llm-application-dev/skills/prompt-engineering-patterns/references/chain-of-thought.md

Author: wshobson, wshobson agents and plugins. License: MIT.

Related entries