Prompt Engineering
Q: What prompting techniques actually matter?
- Be specific about the task, audience, format and constraints; give the why.
- Few-shot examples that cover edge cases; consistent formatting.
- Structured output (JSON schema / tags) for downstream parsing.
- Let the model reason before answering (chain-of-thought / extended thinking) on multi-step problems; ask it to verify against criteria.
- Put long documents first and the question last; quote the relevant parts before answering.
- Decompose complex tasks into chained prompts; evaluate prompts against a test set like code.