Transform your code into powerful AI prompts effortlessly
SherpaPrompt is a VS Code extension that helps developers generate intelligent AI prompts from their code, making it easier to get better assistance from AI tools and improve code documentation.
✨ Key Features
🚀 One-Click Prompt Generation - Select any code and instantly generate contextual AI prompts
🔐 Secure Authentication - Safe login with device code authentication
⚙️ Customizable Settings - Configure API endpoints and preferences to match your workflow
🎯 Context-Aware - Intelligently analyzes your code to create relevant prompts
📋 Easy Access - Available via right-click context menu and Command Palette
🎬 Quick Start
Install the extension from the VS Code marketplace
Select any code in your editor
Right-click and choose "Prompt Tool: Generate Prompt"
Use the generated prompt with your favorite AI tool!
📖 How to Use
Generate Prompts from Code
Highlight the code you want to create a prompt for
Right-click and select "Prompt Tool: Generate Prompt"
The extension will open a panel with your generated prompt
Copy and use the prompt with ChatGPT, Claude, or any AI assistant
Authentication (Optional)
For enhanced features, you can authenticate with the SherpaPrompt API:
Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
Run "Prompt Tool: Login to API"
Follow the device code authentication flow
⌨️ Available Commands
Access these commands via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
Command
Description
Prompt Tool: Generate Prompt
Generate a prompt from selected code
Prompt Tool: Open Prompt Panel
Open the prompt generation interface
Prompt Tool: Login to API
Authenticate for enhanced features
Prompt Tool: Logout from API
Sign out from the API
Prompt Tool: Check Authentication Status
Verify your login status
Prompt Tool: View User Profile
View your account information
🔧 System Requirements
VS Code: Version 1.70.0 or higher
Internet Connection: Required for API features and authentication
Operating System: Windows, macOS, or Linux
🆘 Support & Feedback
Having issues or suggestions? We'd love to hear from you:
Bug Reports: Use the VS Code extension's feedback system
Feature Requests: Submit through the marketplace review system
Questions: Check the Command Palette for "Prompt Tool: Check Authentication Status" for troubleshooting
🚀 What's Next?
Generate prompts from multiple code selections
Support for more programming languages and frameworks
Integration with popular AI platforms
Enhanced prompt templates and customization
Happy prompting! 🎯
SherpaPrompt - Making AI assistance more accessible, one prompt at a time.