Prompt Engineering
by Community
Prompt Engineering, also known as In-Context Prompting, refers to methods for how to communicate with LLM to steer its behavior for desired outcomes without updating the model we
OSS
Prompt Engineering
Added 1 June 2026
Overview
Prompt Engineering (In-Context Prompting) provides methods to communicate with autoregressive language models to steer their behavior toward desired outcomes without updating model weights. It is an empirical science where effects vary significantly across models, requiring extensive experimentation and heuristics for alignment and steerability.
Best for
Best for
Developers and researchers guiding LLM behavior without modifying model weights
Use cases
- Crafting instruction prompts to enforce specific output formats or tones
- Designing chain-of-thought prompts to improve reasoning in step-by-step tasks
- Iteratively testing and refining prompts to optimize performance on a given task
Notes
Prompt Engineering (In-Context Prompting) provides methods to communicate with autoregressive language models to steer their behavior toward desired outcomes without updating model weights. It is an empirical science where effects vary significantly across models, requiring extensive experimentation and heuristics for alignment and steerability.
Use cases
- Crafting instruction prompts to enforce specific output formats or tones
- Designing chain-of-thought prompts to improve reasoning in step-by-step tasks
- Iteratively testing and refining prompts to optimize performance on a given task
Pros
- No model retraining or fine-tuning required, reducing cost and time
- Applicable to any autoregressive LLM, making it model-agnostic
- Improves alignment and steerability through careful wording and structure
Cons
- Results are highly dependent on the specific model and task, requiring manual tuning
- Effectiveness can degrade with slight prompt variations, demanding rigorous testing
- Heuristics often do not transfer reliably across models or domains
Indexed from awesome-llm and enriched against its public facts.
Pros
- No model retraining or fine-tuning required, reducing cost and time
- Applicable to any autoregressive LLM, making it model-agnostic
- Improves alignment and steerability through careful wording and structure
Cons
- Results are highly dependent on the specific model and task, requiring manual tuning
- Effectiveness can degrade with slight prompt variations, demanding rigorous testing
- Heuristics often do not transfer reliably across models or domains
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Awesome ChatGPT Prompts
Community
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
promptfoo
Community
Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative config
Guidance
Community
A guidance language for controlling large language models.
Outlines
Community
Structured Outputs
Prompt Engineering Guide
Various
🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.