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).
Related event: Context Engineering: Eight Techniques That Make the Same LLM 10x Better(9 posts)→
More from coding & agent
- Dev ships throwaway Postgres for agents: pg19 via pglite on Cloudflare DO over raw TCP — ritakozlov · 2026-11-29
- Product idea: cloud Android VMs and home WiFi proxies to make agents look human — Darpinian · 2026-11-29
- 38 free agent skills distilled from shipping three live AI products — PawelHuryn · 2026-11-29
- Step 5: run evals on synthetic data pre-launch, watch real traces after — PawelHuryn · 2026-11-29
- Break your agent before attackers do: 6 tests mapped to OWASP LLM Top 10 — PawelHuryn · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29