AlgoViz

Prompt patterns and reasoning strategies

medium 7 min

A prompt specifies a task using instructions, examples and supplied facts.

Remember it

The few things worth knowing cold, and how to make them stick.

Memory hook

A prompt specifies a task using instructions, examples and supplied facts. Few-shot examples teach a mapping, decomposed work exposes checkable intermediate results, and search strategies explore competing candidates. Choose the simplest strategy whose effect you can verify on unseen cases.