Context & memory · Pattern
Prompt optimization
Systematically improving prompts against a chosen objective using examples, evaluation, search, or programmatic optimization.
Example
Evaluate a prompt change on held-out cases before treating a higher development score as an improvement.
The distinction that matters
Methods and objectives vary; an optimized prompt can overfit a benchmark or fail on changed inputs.
Related terms
Prompt engineering · Context engineering · Eval-driven development
Primary references
Reference definition