cd /news/large-language-models/advanced-prompting-in-practice-four-… · home › topics › large-language-models › article
[ARTICLE · art-160033] src=promptcube3.com ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Advanced Prompting in Practice: Four Techniques, Each Fixing a Different Prompt Failure

A chapter on advanced prompting, summarized in a practice-oriented post, argues that prompt engineering is not about writing longer prompts but about diagnosing which element of a prompt failed and deliberately applying one of four techniques: zero-shot prompting, few-shot prompting, chain-of-thought prompting, and generated knowledge prompting. The post recommends running the same broad request four ways — with no examples, with two added examples, rewritten as a step-by-step reasoning task, and with a short block of facts added before the question — and judging each run on scope, format, and focus. The chapter cautions that prompt engineering is not a formal engineering discipline, so there is no single correct prompt to memorize; the portable skill is identifying whether context, output limit, format, examples, or reasoning steps caused the failure.

by read3 min views1 publishedOct 29, 2026
Advanced Prompting in Practice: Four Techniques, Each Fixing a Different Prompt Failure
Image: Promptcube3 (auto-discovered)

Start with the conclusion: advanced prompting is not about writing longer prompts, but about understanding why one prompt works better than another and then applying a small set of techniques on purpose. The source chapter makes that distinction early: prompt engineering is the process of guiding a model toward more relevant responses with more useful instructions or context, and it has two steps — constructing the prompt, and then optimising it by gradually improving it. Once you have basic prompting, the next step is to go deeper, not to keep trying random variations.

Illustrative photo · Lukas Blazek / Pexels

The chapter first shows why simple prompting often disappoints. Take a basic request for a list of questions on a broad topic. You will get questions, but you may not get the ones you wanted, because the topic is too big, because you did not specify the format, and because you did not say which part of the topic matters. A prompt that looks complete can therefore fail on scope, format, and focus all at once. That is the problem advanced techniques are meant to solve, and the chapter frames them as an emergent property of large language models — something discovered through use, rather than a feature built in as a button.

Four techniques are introduced, and each answers a different failure. Zero-shot prompting asks for a response based only on the model's training, with no examples. Few-shot prompting adds one or more examples the model can rely on, so the desired pattern is shown rather than described. Chain-of-thought prompting breaks a problem into steps, so the model works through the reasoning instead of jumping to an answer. Generated knowledge prompting adds facts or knowledge to the prompt first, so the model constructs its answer from better material. The source chapter's own worked example for chain-of-thought is an arithmetic puzzle where a similar example, a shown calculation, and then the original question together lead to the correct answer, where the bare question alone did not.

For ai interview practice, these techniques translate into exercises you can actually run, not just read about. A good practice set would ask a candidate to take the same broad request, first run it with no examples, then add two examples and compare the output, then rewrite it as a step-by-step reasoning task, and finally add a short block of facts before the question and compare again. Each run should be judged on the same three criteria from the chapter: scope, format, and focus. If the few-shot version narrows scope but the format is still wrong, the next fix is a format instruction, not another example. If the chain-of-thought version is clearer but still off-topic, the next fix is a tighter context statement. That loop — construct, compare, optimise — is the skill the chapter is teaching, and it is also what makes a practice answer checkable in an interview setting. A final caution from the chapter is worth keeping. Prompt engineering is described not as a formal engineering discipline, but as a set of techniques you apply to get the desired outcome. That means there is no single correct prompt to memorise. The portable skill is the habit of diagnosing which part of a prompt failed — context, output limit, format, examples, or reasoning steps — and changing that part deliberately. For ai interview practice, that habit matters more than any single trick: interviewers can see whether a candidate can explain why a revised prompt is better, not just that it produced a nicer answer once.

Next AI Is Reading Your Resume First: Make It Parseable and Believable, Not Hidden Tricks →

All Replies (0) #

Want a live back-and-forth? Join the global AI chat room — login to talk. No replies yet — be the first!

── more in #large-language-models 4 stories · sorted by recency
── more on @lukas blazek 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/advanced-prompting-i…] indexed:0 read:3min 2026-10-29 · —