Reference-context prompting: paste examples and name the patterns for precise output

JafarNajafov · x · 2026-10-13

Part 2 of a context-engineering series: LLMs hallucinate when guessing what you want. Paste 2-3 examples of the desired style, explicitly list the patterns that make them work, then request output following them. The demo generates 5 landing-page headlines for an AI scheduling tool and reverse-engineers why each works (period-break structure, past-achievement → present-disruption, naming the category leader).

Original post →

More from coding & agent

coding & agent channel →