prompt-eng

Plan-and-Solve Prompting

Plan-and-solve (PS) prompting is a zero-shot technique that tells the model to first devise a plan by breaking the task into ordered steps, and then carry out that plan step by step. Introduced by Wang et al. (2023), it was proposed as an upgrade to the well-known zero-shot chain-of-thought trigger "Let's think step by step," which often skips or muddles intermediate steps. By explicitly asking for a plan before execution, PS reduces missing-step and calculation errors without needing any hand-written examples. For SaaS builders, the appeal is that it's essentially free — a single, reusable instruction added to the system or user prompt — and it needs no curated few-shot examples to maintain. A typical phrasing: "Let's first understand the problem and devise a plan to solve it. Then, let's carry out the plan and solve the problem step by step." It's a sensible default upgrade over bare zero-shot CoT for reasoning tasks, though for the hardest problems, example-based or decomposition methods still tend to win.

Related terms

More Prompt Engineering terms