SECAI Core · phase 5 of 15
Prompt engineering
The disciplined practice of directing large-language models through clear and precise instructions
The Explain card
- Plain English
- Prompt engineering is the disciplined practice of directing a large language model through clear, precise instructions, so the output is reliable and fit for purpose rather than a lucky guess.
- Example
- A SOC team replaces "Is this log bad?" with a structured prompt: the log format, what counts as suspicious, a required JSON output, and an instruction to say "unknown" when unsure. False positives drop and the results become machine-readable.
- Why it matters
- Well-engineered prompts are a control: they narrow what the model will do, constrain output format, and make behaviour testable. Vague prompts leave room for manipulation and hallucination.
- Hook
- Prompt engineering is writing a good spec for a very literal, very fast contractor.
Where it sits in the deck
Phase 5: Interacting with Models: Prompting, APIs, and Retrieval
With a working model and clean data, learn the interaction layer — how users and systems communicate instructions and retrieve grounded answers.