liveBook · Manning

Chapter 3: Prompt design: Linguistic elements

What you will learn in chapter 3 of Prompt Engineering in Practice

The introduction shows how precision, directness, and brevity can explain prompt-output problems even when the task, context, and output format are already specified.

After this chapter you will be able to

What it builds on

Section by section

Introduction

The introduction shows how precision, directness, and brevity can explain prompt-output problems even when the task, context, and output format are already specified.

Key terms: linguistic elements, precision, directness, brevity, basic approach, strategic approach, CI/CD analytics architecture diagram

3.1 Precision

This section explains how prompt precision shapes output consistency, when to use more or less of it, and what limits its effect.

Key terms: precision, plausible outputs, consistency, high precision, lower precision, token cost, sampling settings, temperature, structural elements

3.1.1 Practical example 1: API migration notice

The API migration notice example shows how a precise prompt produces a more actionable engineering notice and can reduce editing time.

Key terms: low-precision approach, high-precision approach, section structure, explicit facts, required actions, higher precision, up-front thought, downstream editing

3.1.2 Practical example 2: Sequence diagram generation

A password-reset sequence diagram example shows how prompt precision affects whether the result is a generic sketch or review-ready documentation, and when to increase precision during a project.

Key terms: low-precision prompt, high-precision prompt, actors, branches, review-ready documentation, moderate precision, two-stage strategy, creative exploration, execution control

3.2 Directness

This section distinguishes directness from precision and explains when implicit or explicit instructions are useful.

Key terms: precision, directness, implicit prompt, explicit prompt, implicit prompts, explicit prompts, discursive responses, execution-ready results

3.2.1 Practical example 1: Backend API change review

This example contrasts conversational and direct instructions for the same backend API release review.

Key terms: implicit instruction prompt, explicit instruction prompt, release decision, required fixes, immediate next steps

3.2.2 Practical example 2: Flaky CI test strategy

A flaky-CI example shows how an implicit request tends to invite discussion, while an explicit instruction asks for a decision and rollout plan, without guaranteeing either response style.

Key terms: implicit instruction prompt, explicit instruction prompt, directness, test isolation, directional, not deterministic, implicit prompts, explicit prompts

3.3 Brevity

This section explains how to keep prompts no longer than needed while retaining detail that improves the result.

Key terms: brevity, minimum effective prompt length, constraints, success criteria, input token, filler, uncached prompt tokens

3.3.1 Practical example 1: Incident summary analysis

The section compares two prompts for summarizing on-call notes to show how a shorter, focused request can preserve the needed incident details without inviting unnecessary output.

Key terms: strategically brief, root cause, timeline, customer effect, prompt cost, remediation, follow-up detail, prompt efficiency

3.3.2 Practical example 2: Technical diagram generation

This section compares two telemetry-diagram prompts to show how strategic brevity preserves essential structure while targeted details add scope when needed.

Key terms: strategically brief, concrete components and flows, generic polish language, failure handling, targeted specifications, task requirements, model’s baseline capability, observed gaps

3.4 Additional linguistic considerations

The section explains when secondary wording choices help align a prompt, while keeping precision, directness, and brevity as the primary controls.

Key terms: precision, directness, brevity, secondary refinements, positive specifications, negative instructions, visual content framing, components, flows, boundaries

3.4.1 Question vs. statement formatting

This section explains when question or statement formatting may help and why it should be a final refinement rather than a primary prompt control.

Key terms: questions, statements, brainstorming, implementation planning, decision support, refinements, primary controls, precision, directness, brevity

3.4.2 Hands-on practice

This hands-on section turns precision, directness, and brevity into deliberate choices by having readers compare prompt variants on realistic engineering tasks.

Key terms: precision, directness, brevity, prompt variants, controlled design process

3.5 Summary

This summary explains how deliberate language choices can reduce prompt revision cycles while balancing execution, exploration, cost, and communication consistency.

Where this is used later

Concepts explained in this chapter

← Chapter 2: Prompt design: Structural elements Chapter 4: Patterns →

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.