LLMs & Generative AI for Practitioners
Back to Prompt Engineering and Patterns

Common Prompt Engineering Anti-Patterns

The five things that look smart but degrade prompt quality. Stop doing them. FIND_VIDEO: search 'prompt engineering mistakes anti patterns' — recommended channel: Anthropic / Greg Brockman / AI Engineer. Aim for 9 min or under.

15 minutesVideo LessonPDF notes
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.
Loading progress...

Key moments

  1. Role Definition — The instructor contrasts basic generation prompts with specialized professional personas to demonstrate shifts in tone and topic focus.
  2. Task and Audience Precision — Word counts, narrative viewpoints, and granular audience demographics are added to constrain the scope of the generated guide.
  3. Context and Stylistic Directives — Motivational context and tonal directives are introduced to balance authoritative advice with a witty editorial style.
  4. In-Context References and Contamination — External reference links are evaluated, diagnosing how poor directory pages cause list-heavy generation degradation.
  5. Positive and Negative Constraints — Explicit inclusion rules and exclusion boundaries are established to govern content safety and structural length.
  6. Output Format and Deliverables — The prompt is configured to package output as raw Markdown inside a downloadable code block for seamless external tooling ingestion.
PDF notes

Frequently asked questions

What is reference example contamination in prompt engineering?

It occurs when an LLM unintentionally inherits fragmented, list-heavy, or low-quality structural layouts from scraped web references or poorly formatted examples.

Why does ChatGPT render formatted text when raw Markdown was requested?

The web interface automatically parses raw Markdown into styled HTML; demanding an exportable file block forces the model to emit raw, copyable code syntax.

When should you start a fresh chat session instead of refining in-thread?

Start a new session immediately after prompt testing when context drift, conflicting instructions, or degenerate formatting pollute the conversation history.

Why must positive constraints be paired with negative constraints?

Positive constraints specify mandatory elements, but negative constraints are required to explicitly cut off off-target default assumptions and unwanted generic themes.

How was this lesson?

Your feedback helps us refine explanations and catch bugs.