Stop Sequences: 4 Recipes That Ship (2026)
Stop sequences in 2026: four copy-paste recipes that cut a model off at a delimiter, bound a JSON object, force one section, and stop an agent from faking its own turn, plus where they break.
Every prompt recipe. Copy, paste, ship.
34 posts
Stop sequences in 2026: four copy-paste recipes that cut a model off at a delimiter, bound a JSON object, force one section, and stop an agent from faking its own turn, plus where they break.
Self-consistency prompting in 2026: five copy-paste recipes that sample multiple reasoning paths and majority-vote the answer, plus a gate for when to skip it.
Chain of Draft keeps chain-of-thought's steps but caps each to a few words, cutting tokens hard while holding accuracy. Four recipes, the gate, and the failure mode.
Four paste-ready generated knowledge prompting recipes for 2026: make the model generate facts first, then answer, each with the failure mode nobody prints.
Self-refine prompting in 2026: four copy-paste recipes for the draft-critique-revise loop, the paper-faithful three-call version, and the stopping rule nobody ships.
Self-ask prompting in 2026: four copy-paste recipes that make a model ask and answer its own follow-up questions, plus the search-tool upgrade and the gate for when to skip it.
Socratic prompting in 2026: five copy-paste recipes that surface assumptions, self-interrogate in one message, debug by question, and add a maieutic consistency check, plus when to skip it.
Chain of Verification (CoVe) is a four-step prompt that cuts hallucinations by making a model draft, plan verification questions, answer them independently, and rewrite keeping only what survived.
Chain of Density is a one-call summarizing prompt that rewrites a summary five times at fixed length so it packs in the facts most 'summarize this' prompts drop. Copy-paste receipt, the failure modes, and the production variant.
Assistant prefill in 2026: four copy-paste recipes that force JSON, kill the preamble, lock the output shape, and hold a persona, plus where prefill breaks.
Step-back prompting in 2026: five copy-paste recipes that make an LLM state the governing principle before it answers, plus a gate for when to skip it.
Six copy-paste recipes for fencing prompts with delimiters in 2026: which delimiter per job, why it works, and the failure mode each one prevents.