prompt

Prompt-Engineering-Guide — Master Prompt, Context, and RAG Techniques

A curated collection of guides, papers, notebooks, and lessons for founders building AI agents and generative‑AI products. Backed by 79k+ GitHub stars.
intermediate⏱ 1-2 hours💵 Free (open-source)
78,924 stars+143★ this week8,663 forksMDXGuide quality 8/10 · reviewed Sep 29Updated 3/11/2026100% free · open source
What it is

Develop guides and papers on prompt engineering, context engineering, RAG, and AI Agents.

Real use case example

"A founder wants to automate the process of generating social media posts for a new product launch. They use the prompt engineering guide to create a high-quality prompt for their AI model, which generates a engaging post. The founder saves time and ensures consistency in their branding."

Best insideClaude DesktopSelf-hostedGemini Code Assist
When to use it
  • •When you need to fine-tune your AI model's prompts for better performance
  • •When you want to learn about the latest techniques in prompt engineering and context engineering
  • •When you're working on a project that involves AI agents and need resources to get started
Ready-to-paste prompt
To get started with prompt engineering, try reading the `prompt-engineering.md` guide in the `guides` directory
Heads up: To fully utilize the resources in the Prompt-Engineering-Guide, you may need to have a basic understanding of AI and machine learning concepts, as well as familiarity with Markdown and GitHub
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

⚡ Runs out of the box

A prompt/skill package — nothing to install beyond adding it to your AI tool.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/prompt-engineering-guide && curl -fsSL https://workflowstacks.com/api/skills/prompt-engineering-guide/claude-skill -o ~/.claude/skills/prompt-engineering-guide/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How Prompt-Engineering-Guide — Master Prompt, Context, and RAG Techniques works
Codeflow
Free to inspect

Prompt-Engineering-Guide — Master Prompt, Context, and RAG Techniques is mostly documents (1111 doc files, 24 small scripts) — something you read, not something you run. There is nothing to install. Last commit 5 months ago, MIT license.

Size
Mostly documents
1111 documents · 24 small scripts · days to read — use, don't read
Setup
No code to run
It's prompts / instructions. Copy them into your AI tool.
Runs on
Inside your AI tool
Helper scripts use Node.js
MDX 94%Jupyter Notebook 4%TypeScript 1%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    CLAUDE.md
    The instructions the AI actually follows
What's in each folder
pages/prompts/Prompts, skills & agent definitions140 files
pages/agents/Prompts, skills & agent definitions8 files
components/Frontend / UI46 files
pages/api/Backend / API3 files
guides/Documentation9 files
pages/guides/Documentation6 files
pages/techniques/Folder235 files
pages/models/Data models & types208 files
READMEDocumentedCI checksMIT licenseUpdated 5 mo ago
Quick Actions
Details
Creator
dair-ai
Language
MDX
Category
prompt
Published
12/16/2022

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/prompt-engineering-guide.svg)](https://workflowstacks.com/skills/prompt-engineering-guide?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.

Do this with a working workflow

Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.