Prompt tip: define the exact output format first to kill 90% of 'that's not what I meant' moments
JafarNajafov · x · 2026-10-13
Part 8 of Jafar Najafov's prompt-context series covers "output format context": LLMs are pattern-completion machines, so showing the exact output structure eliminates most misinterpretation.
His template has three parts:
- OUTPUT FORMAT: list each section name with a description of its contents
- EXAMPLE OUTPUT: one complete example so the model sees the pattern
- NOW GENERATE FOR: append your specific input
Core claim: professional AI engineers always define the output shape before asking for the task.
Related event: Context Engineering: Eight Techniques That Make the Same LLM 10x Better(9 posts)→
More from Apps
- Responding to AI cold emails with Pangram detection screenshots — Ben_Reinhardt · 2026-11-29
- PM shares playbook for shipping 4 customer-facing Claude agents into production — PawelHuryn · 2026-11-29
- Open-source Spooty turns any Spotify playlist URL into local MP3s with full metadata — anthara_ai · 2026-11-29
- AFFiNE, an open-source local-first Notion and Obsidian alternative, tops 44k GitHub stars — anthara_ai · 2026-11-29
- Creator runs 6 social platforms solo with Claude and Postey — heyshrutimishra · 2026-11-29
- Building with agents on iPad: a demo of the annotate feature — aaraalto · 2026-11-29