Skip to content

badhope/PromptHub

Repository files navigation

PromptHub - Universal Prompt Collection Platform

The ultimate cross-platform prompt engineering resource hub. Collect, organize, and utilize prompts from global tech giants, open-source communities, and AI pioneers.

🌟 Features

  • Universal Coverage: Prompts from all major platforms - OpenAI, Google, Microsoft, Anthropic, Baidu, Alibaba, Tencent, ByteDance
  • Cross-Platform: Every prompt is adapted for multiple AI platforms
  • Open Source Curated: Hand-picked精选 from the best open-source prompt repositories
  • Category System: Organized by use case, industry, and complexity
  • Community Driven: Regular updates from trending prompts and new releases

📂 Structure

PromptHub/
├── international/          # International Tech Companies
│   ├── openai/             # OpenAI (ChatGPT, GPT-4)
│   ├── google/             # Google (Gemini, Bard)
│   ├── microsoft/          # Microsoft (Copilot, Azure AI)
│   ├── anthropic/          # Anthropic (Claude)
│   ├── meta/               # Meta (Llama)
│   └── other/              # Other international platforms
├── chinese/                # Chinese Tech Companies
│   ├── baidu/              # Baidu (ERNIE Bot, Wenxin)
│   ├── alibaba/            # Alibaba (Tongyi, Qwen)
│   ├── tencent/            # Tencent (Hunyuan)
│   ├── bytedance/          # ByteDance (Doubao)
│   └── other/              # Other Chinese platforms
├── opensource/             # Open Source Repositories
│   ├── awesome-prompts/    # Curated prompt collections
│   ├── prompt-engineering/ # Prompt engineering guides
│   └── frameworks/         # Prompt frameworks & templates
└── tools/                  # Prompt Engineering Tools
    ├── generators/         # Prompt generators
    ├── optimizers/        # Prompt optimizers
    └── validators/        # Prompt validators

🎯 Quick Start

Browse prompts by category or platform:

International Platforms

# OpenAI / GPT Series
- [ChatGPT Best Practices](./international/openai/best-practices.md)
- [GPT-4 System Prompts](./international/openai/gpt4-prompts.md)
- [API Prompt Templates](./international/openai/api-templates.md)

# Google / Gemini Series
- [Gemini Prompting Guide](./international/google/gemini-guide.md)
- [Bard Best Practices](./international/google/bard-prompts.md)

# Microsoft / Copilot Series
- [Copilot Prompt Framework](./international/microsoft/copilot-framework.md)
- [365 Copilot Templates](./international/microsoft/m365-prompts.md)

# Anthropic / Claude Series
- [Claude Prompt Engineering](./international/anthropic/claude-guide.md)
- [System Prompt Examples](./international/anthropic/system-prompts.md)

Chinese Platforms

# Baidu / Wenxin Series
- [ERNIE Bot Prompts](./chinese/baidu/ernie-prompts.md)
- [Wenxin Best Practices](./chinese/baidu/wenxin-guide.md)

# Alibaba / Tongyi Series
- [Qwen Prompt Templates](./chinese/alibaba/qwen-prompts.md)
- [Tongyi Best Practices](./chinese/alibaba/tongyi-guide.md)

# Tencent / Hunyuan Series
- [Hunyuan Prompt Guide](./chinese/tencent/hunyuan-guide.md)
- [API Prompt Templates](./chinese/tencent/api-templates.md)

# ByteDance / Doubao
- [Doubao Prompts](./chinese/bytedance/doubao-prompts.md)

📊 Platform Support Matrix

Platform Models Prompt Format Special Features
OpenAI GPT-4, GPT-3.5 JSON, Markdown Function calling
Google Gemini, PaLM XML, Markdown Multimodal
Microsoft GPT-4, Codex Natural language Office integration
Anthropic Claude 3, 2 XML tags Constitutional AI
Baidu ERNIE 4.0, 3.5 JSON Chinese optimized
Alibaba Qwen 2, 1.5 JSON, Markdown Bilingual
Tencent Hunyuan JSON Long context
ByteDance Doubao JSON Creative focus

🔥 Popular Prompts Categories

Development & Code

  • Code Generation & Review
  • Debug & Refactoring
  • API Design
  • Database Queries
  • DevOps & Infrastructure

Content & Creative

  • Writing & Editing
  • Translation
  • Marketing Copy
  • Social Media
  • Video Scripts

Business & Productivity

  • Meeting Summaries
  • Email Drafting
  • Data Analysis
  • Presentations
  • Project Management

Learning & Research

  • Academic Writing
  • Research Summaries
  • Concept Explanation
  • Exam Preparation
  • Language Learning

📚 Open Source Collections

Featured Repositories

Repository Stars Focus Link
promptslab/Awesome-Prompt-Engineering 5.9k Comprehensive guide Visit
ai-boost/awesome-prompts 3.2k Engineering prompts Visit
langgptai/awesome-claude-prompts 5.1k Claude collection Visit
PlexPt/awesome-chatgpt-prompts-zh 50k+ Chinese prompts Visit
dair-ai/Prompt-Engineering-Guide 30k+ Learning guide Visit

🛠️ Prompt Engineering Techniques

1. Zero-Shot Prompting

No examples needed, direct instructions.

2. Few-Shot Prompting

Include 1-5 examples for better accuracy.

3. Chain-of-Thought (CoT)

Encourage step-by-step reasoning.

4. Role-Based Prompting

Assign persona for specialized responses.

5. Structured Output

Use XML, JSON, or markdown for formatted responses.

📖 Official Documentation

International Platforms

Chinese Platforms

🤝 Contributing

Contributions are welcome! Please read our contribution guidelines:

  1. Fork the repository
  2. Create a new branch for your prompts
  3. Follow the format template
  4. Submit a pull request

Prompt Format

---
title: "Your Prompt Title"
platform: "Target Platform"
category: "Category"
tags: ["tag1", "tag2"]
version: "1.0.0"
---

## Prompt

[Your prompt content here]

## Use Case

[When to use this prompt]

## Example

[Example usage if applicable]

📄 License

MIT License - see LICENSE file for details

🙏 Acknowledgments

Special thanks to all the open-source prompt repositories and official documentation that make this collection possible.


PromptHub - Empowering AI interactions across all platforms 🚀

About

Universal cross-platform prompt engineering resource hub - collect, organize, and utilize prompts from global tech giants, open-source communities, and AI pioneers.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors