dair-ai/Prompt-Engineering-Guide

🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.

56
/ 100
Established

This guide helps you master the art of 'prompt engineering' to get the best results from large language models (LLMs) like ChatGPT. You'll learn how to craft effective inputs (prompts) to achieve specific outputs, whether it's answering complex questions, generating creative text, or analyzing data. It's for anyone building applications or workflows that leverage AI, from product managers to data scientists.

71,517 stars.

Use this if you need to understand how to design and optimize inputs for AI models to ensure they perform tasks accurately and efficiently.

Not ideal if you are looking for an off-the-shelf AI tool rather than learning the foundational skills to build or improve AI-powered applications.

AI application development natural language processing machine learning engineering AI product management data science
No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

71,517

Forks

7,638

Language

MDX

License

MIT

Last pushed

Mar 11, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/prompt-engineering/dair-ai/Prompt-Engineering-Guide"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.