🚀 PromptHub
🎯 Professional AI Prompt Manager for VS Code

📚 Manage AI prompts with 15+ official templates from OpenAI, LangChain, Microsoft Research, and Azure OpenAI
✨ Features
🎯 Smart Management |
📚 Official Templates |
Intelligent Categorization - Auto-organize prompts |
15+ Premium Templates - From industry leaders |
Advanced Search - Find prompts instantly with tags |
Variable System - Dynamic placeholder replacement |
Tree View Navigation - Organized sidebar interface |
Quick Actions - Insert, edit, copy seamlessly |
🚀 Quick Start
- 📦 Install PromptHub from VS Code Marketplace
- ⌨️ Open Command Palette (
Ctrl+Shift+P
/ Cmd+Shift+P
)
- 🎯 Create First Prompt →
PromptHub: Create New Prompt
- 📚 Explore Templates →
PromptHub: Browse Official Templates
📚 Template Collections
🏢 Source |
📊 Count |
🎯 Specialization |
OpenAI Cookbook |
4 |
Prompt Engineering Techniques |
LangChain |
3 |
LLM Application Frameworks |
Microsoft Research |
2 |
Responsible AI & Safety |
Azure OpenAI |
2 |
Enterprise Solutions |
🔬 OpenAI Cookbook Collection
Industry-standard prompt engineering techniques
- 🎓 Few-shot Learning - Guide AI with examples and patterns
- 🧠 Chain of Thought - Step-by-step reasoning processes
- 👨💼 Expert Role Assignment - Professional persona prompts
- 💻 Code Explanation - Educational code breakdowns
⚡ LangChain Collection
Production-ready LLM application templates
- 🔍 Retrieval QA - Context-based question answering
- 📄 Summarization - Intelligent document condensation
- 🗃️ Text-to-SQL - Natural language to database queries
🔬 Microsoft Research Collection
Research-backed AI safety and consistency
- 🎭 Persona Consistency - Maintain AI character traits
- 🛡️ Safety Guidelines - Responsible AI response frameworks
🏢 Azure OpenAI Collection
Enterprise-grade solutions with compliance focus
- 📋 Content Classification - Enterprise data categorization
- ✅ Compliance Review - Regulatory adherence checking
📖 Usage Examples
🛠️ Creating Custom Templates
# 🔍 My Code Review Template
## Variables
- {language}: Programming language
- {code}: Code to review
- {focus}: Review focus area
## Content
Please review this {language} code with focus on {focus}:
```{language}
{code}
Provide analysis on:
- ✅ Code quality and best practices
- 🚀 Performance optimizations
- 🛡️ Security considerations
- 📚 Documentation improvements
### ⚡ Using Official Templates
**Step-by-step workflow:**
1. **🎯 Access Templates**
Ctrl+Shift+P → "PromptHub: Browse Official Templates"
2. **📚 Select Collection**
Choose: "OpenAI Cookbook" → "Expert Role Assignment"
3. **⚙️ Configure Variables**
role: "Senior Developer"
domain: "React & TypeScript"
context: "Code review process"
4. **✨ Insert & Use**
Template automatically inserted with your values
---
## ⚙️ Configuration
| Setting | Description | Default |
|:---|:---|:---:|
| `prompthub.defaultCategory` | Default category for new prompts | `"General"` |
| `prompthub.storageLocation` | Storage location (workspace/global) | `"workspace"` |
| `prompthub.templateLanguage` | Default template language | `"markdown"` |
| `prompthub.showOfficialTemplates` | Show official template library | `true` |
---
## 🎯 Use Cases
### 👨💻 Developers
- Code review templates
- Documentation generators
- Debugging workflows
- API documentation
### ✍️ Content Creators
- Writing style guides
- Content templates
- SEO frameworks
- Social media prompts
### 🔬 Researchers
- Analysis frameworks
- Methodology templates
- Data interpretation
- Report structures
### 👥 Teams
- Standardized workflows
- Best practice libraries
- Knowledge sharing
- Quality assurance
### 🎓 Educators
- Teaching materials
- Assignment templates
- Explanation frameworks
- Assessment criteria
### 🏢 Enterprise
- Compliance templates
- Security frameworks
- Process documentation
- Training materials
---
## 🔧 Commands
| Command | Description |
|:---|:---|
| **Create New Prompt** | 🆕 Guided prompt creation wizard |
| **Save Current Prompt** | 💾 Save selected text as prompt |
| **Manage Prompts** | 📋 View, edit, delete existing prompts |
| **Browse Official Templates** | 📚 Explore curated template collections |
| **Insert Template** | ⚡ Quick template insertion with variables |
---
## 🙏 Acknowledgments
**🌟 Built with inspiration from industry leaders**
- **🔥 OpenAI** - Pioneering prompt engineering techniques
- **⚡ LangChain** - LLM application development frameworks
- **🔬 Microsoft Research** - Responsible AI research and safety guidelines
- **☁️ Azure OpenAI** - Enterprise-grade AI solutions and compliance
---
## 🔄 Changelog
### ⭐ v1.0.4 (2025-06-24)
- ✨ Initial release with core functionality
- 🎯 Smart prompt management system
- 📚 15+ official templates from industry leaders
- 🔧 Variable-based template system
- 🌳 Tree view sidebar integration
- ⚡ Command palette integration
---
<div align="center">
**🚀 Ready to boost your AI productivity?**
[📦 **Install from VS Code Marketplace**](https://marketplace.visualstudio.com/items?itemName=ziwenlin.prompthub)
*Made with ❤️ for the AI community*
</div>