# Prompt Engineering

URL: https://www.onsomble.ai/tools/ai-glossary/prompt-engineering

Published: 2026-03-15 00:00:00.000Z

The practice of designing and refining inputs to language models to elicit more accurate, useful, and consistent outputs.

Category: Developer Experience

## Core techniques

-   **Zero-shot** — ask the model directly with no examples.
-   **Few-shot** — include 2–5 examples of the desired input/output pattern.
-   **Chain-of-thought** — instruct the model to reason step by step before answering.
-   **System prompts** — set the model's persona, constraints, and output format upfront.

## Beyond prompt tricks

Prompt engineering is evolving from artisanal prompt-writing into a more systematic discipline. Production systems use structured prompts with clear sections (context, instructions, constraints, output format), version-controlled prompt templates, and automated evaluation of prompt variants.

## Diminishing returns

As models improve, elaborate prompting techniques matter less. The biggest gains come from providing the right context (via RAG or tool results) rather than clever wording. Focus on what information the model needs, not on magic phrases.

## Why it matters

Good prompts are the difference between a demo and a product. Even with great models, the quality of your instructions determines the quality of your output.

## Related terms

- [Large Language Model](https://www.onsomble.ai/tools/ai-glossary/large-language-model)
- [Retrieval-Augmented Generation](https://www.onsomble.ai/tools/ai-glossary/retrieval-augmented-generation)

## Related Radar topics

## Related articles

### [Gaslighting Your AI Into Better Results: What the Research Actually Shows](https://www.onsomble.ai/blog/high-stakes-prompting-llm-quality)

A Reddit post about telling Claude you work at a hospital went viral. Turns out there's actual research explaining why this works across all LLMs.

Rosh Jayawardena · Published 2026-01-29T12:00:00+00:00 · Updated 2026-08-02T12:12:41.52786+00:00 · 8 min

### [The Productivity Lie: Why AI Made Me Slower Before It Made Me Faster (and the 3 techniques that finally fixed it)](https://www.onsomble.ai/blog/the-productivity-lie-ai-made-me-slower)

A founder’s honest take on why AI can slow experienced developers down (METR found a 19% slowdown), why it feels faster, and the three techniques—prompt engineering, context engineering, and workflow engineering—that actually improved my output.

Rosh Jayawardena · Published 2025-12-14T12:00:00+00:00 · Updated 2026-08-02T12:12:41.52786+00:00 · 9 min
