# dair-ai/Prompt-Engineering-Guide

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

79,647 stars · 8,740 forks · MDX · MIT

Topics: agent, agents, ai-agents, chatgpt, deep-learning, generative-ai, language-model, llms

## Use it

### How to install Prompt-Engineering-Guide in Claude Code

1. Clone & open

```bash
git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
cd Prompt-Engineering-Guide
claude
```

2. Let Claude read it

   Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.

### How to install Prompt-Engineering-Guide in Claude Desktop

1. Clone the repository

```bash
git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
```

2. Open in your AI editor

   Open the folder in your assistant and ask it to index the codebase, then reference files in chat.

### How to install Prompt-Engineering-Guide in Cursor

1. Clone & open in Cursor

```bash
git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
```

2. Index & chat

   Open the folder — Cursor indexes it automatically. Use @Codebase in chat to ask about it or scaffold from it.

### How to install Prompt-Engineering-Guide in Codex CLI

1. Clone

```bash
git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
```

2. Point Codex at it

   Run codex in the repo root; add setup notes to AGENTS.md so the agent knows how to build & test.

### How to install Prompt-Engineering-Guide in Windsurf

1. Clone & open

```bash
git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
```

2. Use Cascade

   Windsurf indexes the workspace; ask Cascade to explain or reuse modules from the repo.

### How to install Prompt-Engineering-Guide in Cline

1. Clone the repository

```bash
git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
```

2. Open in your AI editor

   Open the folder in your assistant and ask it to index the codebase, then reference files in chat.

### How to install Prompt-Engineering-Guide in VS Code

1. Clone the repository

```bash
git clone https://github.com/dair-ai/Prompt-Engineering-Guide.git
```

2. Open in your AI editor

   Open the folder in your assistant and ask it to index the codebase, then reference files in chat.

---

Source: https://mcp-skills-hub.vercel.app/repos/dair-ai-prompt-engineering-guide · MCP Skills Hub · data as of 2026-10-28T12:31:05Z
