Skip to content
New this week26 prompts for Sora, Veo and Runway video workflows.
Explore video prompts→
AIPrompt123Prompt library

Search AIPrompt123

Search prompts, categories, platforms and repositories

Ranked list · 7 repositories

Top GitHub repositories for prompt engineering

The best GitHub repositories for learning prompt engineering, finding reusable prompts and optimising prompts against an evaluation metric.

Prompt engineering resources fall into three groups: explanatory guides that teach techniques, cookbooks that show working code, and collections of prompts you can adapt. The best learning path uses all three — read a technique, run the example, then adapt it to a task you understand well enough to judge the output.

Be sceptical of giant prompt lists without context. A prompt that works for one model, version and task may fail elsewhere. Use the guides to understand why a technique works, then build your own evaluation set. Our library adds the missing context: worked examples, platform-specific versions, tips and verification notes on every prompt page.

  1. Learning resources · Jupyter Notebook

    Practical, runnable examples for the OpenAI API, from embeddings to agents and evals.

    72.0k11.5kMIT
  2. Prompt engineering · Markdown

    A large community collection of prompt personas and reusable instructions.

    134.0k17.8kCC0-1.0
  3. Learning resources · Python

    A curated collection of practical LLM application examples with source code.

    65.0k8.1kApache-2.0
  4. Prompt engineering · Markdown

    A curated list of autonomous agents, frameworks and agent infrastructure.

    21.0k1.9kMIT

How we rank repositories

Rankings combine stars, recent commit activity, licence clarity and documentation quality. Stars alone reward old projects with large historical audiences, so we weight maintenance and documentation too. We never accept payment for placement; repository pages are written by our editors and reviewed quarterly.

Back to the directory