🎯 Prompt Library - Professional AI Assistant
A next-generation VS Code extension that transforms your development workflow with intelligent AI prompt management. Features context-aware suggestions, advanced analytics, smart search. Built for professional developers and enterprise teams.
✨ What's New in v0.1.4
🎨 3-Level Icon Hierarchy - Semantic visual progression with Interface → Method → Object
🌈 Technology Color Coding - Instant recognition with consistent color families per technology
👁️ VS Code Standard Icons - Professional symbols guaranteed to display across all themes
🎯 Context-Aware Prompts - AI that understands your code context and suggests relevant prompts
📊 Real-time Usage Analytics - Track prompt usage patterns and productivity insights
🔍 Advanced Search - Find prompts by popularity, recency, and intelligent matching
📈 Smart Favorites & Recent - Intelligent prompt discovery and quick access
🔄 Export/Import System - Share and sync prompt libraries across teams
⚡ Enhanced Performance - Faster search, better responsiveness, optimized UI
🚀 Core Features
🎯 Context-Aware Prompts ⭐ NEW
- Intelligent Context Detection: Automatically understands your current code context
- Smart Prompt Matching: AI-powered relevance scoring suggests the best prompts
- 13+ Context Types: Selection, Error, Function, Class, Test, Import, Comment, and more
- Advanced Variable Substitution: 20+ context-aware variables with smart defaults
- One-Click Access: Command Palette → "Context-Aware Prompts" for instant suggestions
📊 Real-time Usage Analytics ⭐ NEW
- Comprehensive Tracking: Every prompt interaction tracked automatically
- Rich Insights: Usage patterns, popular prompts, context analysis
- Visual Reports: Daily usage trends, top prompts, tag popularity
- Performance Metrics: Track productivity gains and prompt effectiveness
- Privacy First: All data stored locally, no telemetry
🔍 Advanced Search System ⭐ NEW
- Most Used Prompts: Find your most effective prompts instantly
- Recently Used: Continue where you left off
- Intelligent Filtering: By tags, categories, languages, frameworks
- Search History: Recent searches saved for quick access
- Smart Ranking: Usage-based relevance scoring
👀 Professional Tree View ⭐ NEW
- 3-Level Icon Hierarchy: Consistent visual progression (Interface → Method → Object)
- Technology Color Coding: Instant visual recognition (.NET=Blue, Angular=Red, React=Cyan, etc.)
- VS Code Standard Icons: Guaranteed visibility across all themes with professional symbols
- Semantic Visual Language: Interface symbols for technologies, Method symbols for modules, Object symbols for prompts
- Enhanced Readability: Clear visual distinction between hierarchy levels with color coordination
- Favorites Integration: Bright star indicators for important prompts
📈 Smart Favorites & Recent ⭐ NEW
- Dynamic Quick Access: Favorites and Recent sections automatically populated
- Usage-Based Suggestions: Most-used prompts surface automatically
- Smart Organization: Context-aware grouping and intelligent sorting
- One-Click Favorites: Star/unstar prompts with immediate visual feedback
- Recent History: Last 20 prompts with smart deduplication
🔄 Export/Import System ⭐ NEW
System Prompt Sharing: Export/import system prompts safely
User Prompt Protection: User prompts excluded from exports automatically
Team Collaboration: Share prompt libraries across development teams
Version Control: Track prompt library changes and updates
Flexible Formats: JSON-based with metadata preservation
Smart Fallback: Automatic clipboard copy if chat unavailable
Context Processing: Automatic variable substitution before sending
Intelligent Detection: Auto-detects installed chat extensions
🔍 Intelligent Search & Filter
- Multi-Modal Search: Text, tags, categories, technology stacks
- Fuzzy Matching: Find prompts even with typos
- Real-time Filtering: Instant results as you type
- Advanced Operators: Complex search queries supported
- Filter Persistence: Remember search preferences
📦 Professional Organization
- Hierarchical Structure: Categories → Groups → Prompts
- System vs User Separation: Protected system library + editable user prompts
- Technology Grouping: Organized by frameworks and languages
- Visual Categorization: Color-coded categories for instant recognition
- Scalable Architecture: Handles hundreds of prompts efficiently
👤 User Prompt Management
- Full CRUD Operations: Create, read, update, delete user prompts
- Rich Metadata: Tags, descriptions, categories
- Contributor Sharing: Send prompts to team maintainers via email
- Template Support: Variable substitution in custom prompts
- Backup & Sync: Export user prompts for backup/sharing
- Lightning Fast: Sub-200ms response times
- Memory Efficient: Optimized for large prompt libraries
- Keyboard Friendly: Full keyboard navigation support
- Accessibility: Screen reader compatible
- Responsive UI: Smooth interactions, no lag
Installation
- Install the extension from VS Code Marketplace
- The extension activates automatically
- Open the Prompt Library view in the Explorer sidebar
- Start using prompts immediately (no configuration required!)
🚀 Quick Start Guide
🎯 Context-Aware Prompts (30 seconds) ⭐ RECOMMENDED
- Open any code file in VS Code
- Position cursor where you're working (function, class, error, etc.)
- Press Ctrl+Shift+P → Type "Context-Aware Prompts"
- See intelligent suggestions based on your current context
- Click a prompt → Automatically processed with your context data
⚡ Traditional Prompt Usage (30 seconds)
- Open Prompt Library view in Explorer sidebar
- Browse categories or use ⭐ Favorites / 🕐 Recent sections
- Click any prompt to send it to your chat
- Chat opens with prompt ready (or copied to clipboard)
📊 Smart Discovery (Advanced)
- View Analytics: Click graph icon → See your most-used prompts
- Advanced Search: Click search icon → Find by "Most Used" or "Recently Used"
- Smart Favorites: Star prompts you use often for quick access
- Quick Filters: Filter by technology, tags, or categories
➕ Adding Custom Prompts
- Click ➕ Add button in Prompt Library title bar
- Enter prompt label (e.g., "Generate React Hook")
- Enter prompt text with optional variables like
{{selectedText}}
- Enter tags (comma-separated, e.g., "react, hooks, custom")
- Saved automatically under "Your Prompts" section
Configuration
Configure the extension in VS Code Settings (Ctrl+, or Cmd+,):
How It Works
Clipboard Fallback
If both chat systems fail or are disabled:
- ✅ Automatically copies prompt to clipboard
- ✅ Shows notification:
✓ Prompt copied to clipboard
- ✅ User can paste anywhere manually
Using Prompts
For All Users
View Prompts
- Open the "Prompt Library" view in Explorer sidebar
- Browse System Prompts (categorized by technology)
- Browse User Prompts (your custom prompts)
Search Prompts
- Click the 🔍 Search icon in the Prompt Library header
- Type to search by name, content, or tags
- Results filter in real-time
- Click ✕ to clear search
Filter by Tags
- Click the ⊕ Filter icon in the Prompt Library header
- Select multiple tags with checkboxes
- See only prompts matching selected tags
- Leave empty to see all prompts
For Creating Custom Prompts
Add a Prompt
- Click the ➕ Add button in title bar
- Enter prompt label (display name)
- Enter prompt text (your actual prompt)
- Enter tags (comma-separated keywords)
- Click save → Prompt appears under User Prompts
Edit Your Prompt
- Right-click on your custom prompt
- Click ✏️ Edit Prompt
- Update label, text, or tags
- Click save → Changes persist automatically
Delete Your Prompt
- Right-click on your custom prompt
- Click 🗑️ Delete Prompt
- Confirm deletion
- Prompt is removed from your library
Send to Team Contributors 📤
- Right-click on your custom prompt
- Click 📤 Send to Contributor
- Prompt is emailed to team contributors
- Shows success notification
- Contributors review for team library inclusion
Prompt Structure
How Prompts are Organized
📚 System Prompts (Read-Only) ← library (Cyan)
├── ⭐ Favorites (5) ← star-full (Yellow)
│ ├── 🔗 React Context Hook ← symbol-object (Cyan)
│ └── 🔗 Python Data Analysis ← symbol-object (Orange)
├── 🕐 Recent (8) ← history (Blue)
├── 🔸 .NET Development ← symbol-interface (Blue) ← Level 1: Technology
│ ├── 🔻 Web API ← symbol-method (Blue) ← Level 2: Module
│ │ ├── 🔗 Create Controller ← symbol-object (Blue) ← Level 3: Prompt
│ │ └── 🔗 Add Authentication ← symbol-object (Blue)
│ ├── 🔻 Entity Framework ← symbol-method (Blue)
│ │ └── 🔗 EF Core Repository ← symbol-object (Blue)
│ └── 🔻 Testing ← symbol-method (Blue)
│ └── 🔗 CQRS with MediatR ← symbol-object (Blue)
├── 🔸 Angular Development ← symbol-interface (Red) ← Level 1: Technology
│ ├── 🔻 Components ← symbol-method (Red) ← Level 2: Module
│ │ └── 🔗 TS Functional Component ← symbol-object (Red) ← Level 3: Prompt
│ └── 🔻 Services ← symbol-method (Red)
│ └── 🔗 HTTP Service ← symbol-object (Red)
├── 🔸 React Development ← symbol-interface (Cyan) ← Level 1: Technology
│ ├── 🔻 Hooks ← symbol-method (Cyan) ← Level 2: Module
│ │ └── 🔗 Custom Hook Template ← symbol-object (Cyan) ← Level 3: Prompt
│ └── 🔻 State Management ← symbol-method (Cyan)
│ └── 🔗 Redux Toolkit Slice ← symbol-object (Cyan)
└── [More Technologies...]
👤 User Prompts (Your Prompts) ← account (Orange)
└── 📝 Custom ← edit (Orange)
├── 🔗 My React Hook Template ← symbol-object (Orange)
├── 🔗 API Error Handler ← symbol-object (Orange)
└── 🔗 Database Query Helper ← symbol-object (Orange)
🎯 3-Level Icon System
Level 1 - Technologies: 🔸 symbol-interface with unique colors per technology
Level 2 - Modules: 🔻 symbol-method with matching parent technology color
Level 3 - Prompts: 🔗 symbol-object with matching parent technology color
Technology Color Coding:
- 🔵 .NET Development (Blue)
- 🔴 Angular Development (Red)
- 🔵 React Development (Cyan)
- 🟢 Vue Development (Green)
- 🟠 Python Development (Orange)
- 🟡 Node.js Development (Yellow)
- 🟣 Blazor & AI/ML (Purple)
Prompt Details
Each prompt includes:
- Label: Display name (e.g., "React Hook Form Validation")
- Prompt Text: Full instruction for AI (can be multi-line)
- Tags: Keywords for filtering (e.g., "react, forms, validation")
Available System Prompts
The extension includes 50+ pre-configured prompts covering:
- Frontend: React, Vue, Angular, CSS, Design Systems
- Backend: Node.js, Express, Python, FastAPI, .NET, Java
- Database: SQL, MongoDB, PostgreSQL, Prisma
- Architecture: API Design, CQRS, DDD, Microservices, Security
- DevOps: Docker, Kubernetes, CI/CD
- Testing: Jest, Vitest, pytest, xUnit, E2E Testing
- Python: FastAPI, FastAPI, Data Pipelines, AsyncIO
Each prompt is tagged and searchable by technology, pattern, or use case.
🎯 Advanced Features Guide
3-Level Visual Hierarchy 🎨
The extension uses a sophisticated 3-level icon system for perfect visual organization:
🔸 Level 1 - Technology Categories:
- Icon:
symbol-interface - Clean interface representation
- Colors: Unique per technology (Blue=.NET, Red=Angular, Cyan=React, etc.)
- Purpose: Instant technology recognition and branding
🔻 Level 2 - Module/Subcategories:
- Icon:
symbol-method - Functional method representation
- Colors: Inherit from parent technology for consistency
- Purpose: Organize related functionality within technologies
🔗 Level 3 - Individual Prompts:
- Icon:
symbol-object - Actionable object representation
- Colors: Match parent technology for visual cohesion
- Purpose: Individual items ready for use
✅ Visual Benefits:
- Instant Recognition: Technology colors for immediate identification
- Clear Hierarchy: Different icon shapes for each level
- VS Code Integration: Standard icons guaranteed to display properly
- Professional Polish: Enterprise-ready visual design
- Accessibility: High contrast, screen reader compatible
Context-Aware Prompts 🧠
The extension automatically detects your coding context and suggests the most relevant prompts:
Supported Contexts:
- 🔤 Code Selection: Explains, reviews, or refactors selected code
- 🔴 Error Detection: Debug prompts when cursor is on an error
- ⚙️ Function Context: Documentation and testing prompts for functions
- 🏗️ Class Context: OOP and architecture prompts for classes
- 🧪 Test Files: Testing framework-specific prompts
- 📦 Import Statements: Dependency and package management prompts
- 💬 Comments: Documentation and explanation prompts
- 📄 File Context: Language and framework-specific suggestions
Smart Variable Substitution:
// Variables automatically filled based on context:
{{selectedText}} // Your selected code
{{functionName}} // Current function name
{{className}} // Current class name
{{errorAtCursor}} // Error message at cursor
{{language}} // Programming language
{{projectType}} // Detected framework (React, Angular, etc.)
{{fileName}} // Current file name
// + 15 more context-aware variables
Usage Analytics 📊
Track your productivity and prompt effectiveness:
- 📈 Real-time Metrics: Usage counts, popular prompts, daily trends
- 🎯 Productivity Insights: Which prompts save you the most time
- 📅 Historical Data: Track usage patterns over time
- 🏷️ Tag Analysis: See which technologies you work with most
- 🔄 Context Tracking: Understand how you use different prompt types
Advanced Search 🔍
Multiple ways to find the perfect prompt:
- 🏆 Most Used: Your most effective prompts ranked by usage
- 🕐 Recently Used: Continue where you left off
- 🏷️ Tag Filtering: Filter by technology, use case, or custom tags
- 📂 Category Search: Browse by technology or prompt type
- 🔤 Language Specific: Find prompts for specific programming languages
- 📚 Search History: Quick access to previous searches
Export/Import System 📤📥
Share prompt libraries across teams:
- 📤 System Export: Share system prompts with team members
- 🔒 User Protection: Your custom prompts stay private during exports
- 📥 Smart Import: Merge system prompts without affecting user prompts
- 🔄 Version Control: Track prompt library updates
- 👥 Team Sync: Keep everyone on the same prompt library version
📋 Commands Reference
Main Commands (Command Palette: Ctrl+Shift+P)
| Command |
Icon |
Description |
Shortcut |
| Context-Aware Prompts |
🎯 |
Intelligent suggestions based on cursor context |
⭐ RECOMMENDED |
| Advanced Search |
🔍 |
Find by popularity, recency, tags |
Advanced users |
| Usage Analytics |
📊 |
View detailed usage statistics and insights |
Analytics |
| Export Prompts |
� |
Export system prompts for team sharing |
Team admin |
| Import Prompts |
📥 |
Import shared prompt libraries |
Team member |
Quick Actions (Tree View Icons)
| Action |
Icon |
Description |
Context |
| Use Prompt |
▶️ |
Send prompt to chat |
Click any prompt |
| Star Prompt |
⭐ |
Add/remove from favorites |
All prompts |
| Search Prompts |
🔍 |
Text search across library |
Title bar |
| Filter by Tags |
🏷️ |
Quick tag-based filtering |
Title bar |
| Add Prompt |
➕ |
Create custom user prompt |
Title bar |
| Edit Prompt |
✏️ |
Modify user prompt |
Right-click user prompt |
| Delete Prompt |
🗑️ |
Remove user prompt |
Right-click user prompt |
| Send to Team |
📧 |
Email prompt to contributors |
Right-click user prompt |
View Controls (Title Bar)
| Control |
Purpose |
When to Use |
| ⭐ Show Favorites |
Display only starred prompts |
Focus on your best prompts |
| 🕐 Show Recent |
Display recently used prompts |
Continue recent work |
| � Show All |
Display complete library |
Browse everything |
| 🎯 Context-Aware |
Smart suggestions |
Get relevant prompts instantly |
Troubleshooting
Debug: Open Debug Console (Ctrl+Shift+Y) and check for error messages
Prompt Not Appearing in Chat?
- Check Debug Console for detailed error logs
- Verify chat extension is installed and enabled
- Try disabling one chat system to isolate issues
- Fallback to clipboard copy works as safety net
Can't Send to Contributor?
- Only user prompts can be sent (not system prompts)
- Environment must have EMAIL_PASSWORD configured for Outlook
- Check internet connection
- Review Debug Console for SMTP errors
Search Not Working?
- Clear search with ✕ button and try again
- Search matches prompt labels, text, or tags
- Check that prompts exist in your library
- Try different search keywords
FAQ
Q: Can I edit system prompts?
A: No, system prompts are read-only. Create custom prompts in User Prompts section instead.
Q: Will my custom prompts sync across devices?
A: Prompts are stored locally in VS Code. Use "Export/Import" (future feature) to sync across devices.
Q: Can I share prompts with my team?
A: Yes! Use "Send to Contributor" to email prompts to team maintainers for library inclusion.
🏆 Why Choose Prompt Library?
🎯 Intelligent vs Manual
- Smart Context Detection: No more scrolling through hundreds of prompts
- AI-Powered Suggestions: Get relevant prompts based on what you're working on
- Usage-Based Learning: The extension learns your preferences and improves suggestions
📊 Professional Analytics
- Track Productivity: See which prompts save you the most time
- Team Insights: Understand prompt usage patterns across your team
- Data-Driven Decisions: Optimize your prompt library based on real usage data
🎨 Enterprise-Ready Design
- 3-Level Icon Hierarchy: Semantic visual progression (Interface → Method → Object)
- Technology Color Coding: Instant visual recognition with consistent color families
- VS Code Standard Icons: Professional symbols guaranteed to display across all themes
- Consistent UX: Follows VS Code design language perfectly
- Accessibility: Screen reader compatible, high contrast, keyboard navigation
🔄 Team Collaboration
- Safe Sharing: Export/import system protects user privacy
- Version Control: Track prompt library changes across team updates
- Contributor System: Community-driven library growth
Lightning Fast
- Sub-200ms Response: Instant prompt delivery and search results
- Optimized Rendering: Smooth tree view with hundreds of prompts
- Memory Efficient: Minimal RAM usage, no performance impact
- Async Operations: Non-blocking UI, responsive at all times
Privacy First
- Local Storage: All data stored locally in VS Code
- No Telemetry: Zero data collection or analytics sent anywhere
- Offline Capable: Works completely offline (except email sharing)
- User Control: You own and control all your prompt data
Enterprise Security
- User Prompt Protection: Personal prompts never included in exports
- Safe Updates: System prompt updates won't affect your custom prompts
- Audit Trail: Track all prompt library changes and usage
- Compliance Ready: Meets enterprise security requirements
Support & Resources
- 📖 Documentation: See included markdown files
- 🐛 Bug Reports: Check extension logs in Debug Console
- 💡 Feature Requests: Open GitHub issue
- 📧 Support: Contact extension maintainer
💡 Pro Tips for Maximum Productivity
🎯 Context-Aware Workflow
- Position cursor strategically before using context-aware prompts
- Select code blocks for detailed analysis and refactoring suggestions
- Use in error conditions for intelligent debugging assistance
- Try in test files for framework-specific testing prompts
📊 Analytics-Driven Optimization
- Check analytics weekly to see which prompts save you the most time
- Star your top prompts based on usage data for quick access
- Remove unused prompts to keep your library focused
- Share high-value prompts with your team via contributor system
🔍 Advanced Search Mastery
- Use "Most Used" search to rediscover your best prompts
- Check "Recently Used" to continue previous work sessions
- Create custom tags for better organization and filtering
- Build search habits around your workflow patterns
🏷️ Tagging Best Practices
- Technology tags:
react, angular, python, dotnet
- Use case tags:
debug, test, architecture, refactor
- Complexity tags:
beginner, advanced, expert
- Team tags:
shared, experimental, approved
⚡ Keyboard Shortcuts
- Ctrl+Shift+P → "Context-Aware Prompts" (most important!)
- Ctrl+Shift+P → "Advanced Search" (power users)
- Ctrl+Shift+P → "Usage Analytics" (weekly review)
- Star frequently used prompts for instant favorites access
Prompt Library v0.1.3 turns VS Code into an intelligent AI coding assistant that understands your context, learns your patterns, and suggests the perfect prompts at exactly the right moment.
Stop searching. Start creating. 🚀✨
Built with ❤️ for developers who want to code smarter, not harder.
| |