Skip to content

ConsciousML/prompt-engineering-hub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Engineering Hub

License GitHub Release XML Validation PR's Welcome

Prompt Engineering Hub

A prompt hub to help you get the most out of your favorite LLM by generating (or using ready-made) optimized prompts!

What's Inside

The Prompt Generator

An assistant that helps you create optimized prompts for any task, following the prompt engineering best practices of Anthropic, OpenAI and Google's Gemini.

Ready-Made Prompts

A collection of prompts for a variety of tasks, including both assistants (for conversational use in LLM web interfaces) and agents (for autonomous use in tools like Claude Code). All created using our Prompt Generator.

When to Use

Use this repository whether you want to:

  • Create your own custom AI assistants or agents
  • Use our pre-built prompts for conversational or autonomous tasks
  • Learn from prompt engineering examples
  • Contribute your own prompts to help the community!

Understanding Assistants vs Agents

  • Assistants: Conversational prompts designed for use in LLM web interfaces like Claude.ai, ChatGPT, or Gemini
  • Agents: Autonomous prompts designed for use in development tools like Claude Code as sub-agents

Requirements

Any LLM chat interface (Claude, ChatGPT, Gemini, etc.) or APIs

Note: While these prompts work across different LLMs, they were optimized using Claude and may need minor adjustments for other platforms.

Quick Start

Advanced Prompt Generation Guide

Create your own assistants using our advanced prompt generation documentation.

This guide walks you through an iterative workflow to create optimized prompts for your specific tasks.

Prompt Catalog

Assistants

Assistant Usage Description Status
Prompt Generator Prompt Engineering Generates optimized prompts using advanced techniques like chain-of-thought, prompt chaining, and XML formatting. Follows Anthropic's best practices. Stable
Example Generator Prompt Engineering Creates XML examples that demonstrate assistant behavior to improve performance. Stable
Mermaid Diagram Designer Diagrams Builds clear, well-structured diagrams using Mermaid syntax. It automatically selects the most appropriate diagram type for your needs and follows best practices for visual clarity. Beta
README Writer Documentation Generates comprehensive, well-structured README files through an iterative, section-by-section collaborative process. Beta

Agents

Agent Usage Description Status
Prompt Generator Prompt Engineering Autonomously generates, reviews, and improves prompts in a single pass. Designed for use as a Claude Code sub-agent. Experimental

For guidance on how to use a prompt, click on the respective link in the table.

Repository Structure

prompt-engineering-hub/
├── prompts/                              # Ready-made prompts created with our generator
│   ├── assistants/                       # Conversational assistants for LLM web interfaces
│   │   ├── prompt_generator/             # The main prompt generation tool
│   │   │   ├── system.xml
│   │   │   ├── examples/
│   │   │   │   └── example_1.xml
│   │   │   │   └── ...
│   │   │   └── user_facing_prompts/
│   │   │       └── evaluate_insights.xml
│   │   ├── example_generator/
│   │   │   ├── system.xml
│   │   │   ├── examples/
│   │   │   └── user_facing_prompts/
│   │   ├── diagram_designer/
│   │   │   └── ...
│   │   └── readme_writer/
│   │       └── ...
│   └── agents/                           # Autonomous agents for Claude Code
│       └── prompt_generator/
│           └── README.md
│           └── system.xml
└── docs/
    ├── assistant-setup-guide.md
    ├── agent-setup-guide.md
    └── contribution.md

Here's a brief description of each file type:

  • system.xml: system prompts for assistants (copy into Project Instructions or paste at the start of a conversation) and agents (paste as the system prompt when registering in Claude Code or calling the API).
  • user_facing_prompts/: ready-to-use prompts for direct conversation. Copy and paste into any LLM chat.
  • example_*.xml: example files demonstrating the assistant's behavior.

Contributing

We welcome contributions from the community! Help us grow this collection by sharing your prompts.

See the contributing documentation for detailed guidelines.

Thank you for helping make AI assistants more useful for everyone!

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Feel free to use, modify, and distribute these prompts in your own projects!