Managing, Reusing and Sharing Prompts Right From Your IDE.
Enhance your development workflow by saving, searching, and inserting AI prompts instanly.
A powerful VS Code extension to save and manage your frequent prompts for AI assistants, code templates, and development workflows.
- Save Prompts Instantly: Select any text and save it as a prompt with a title, description, and category using a simple keyboard shortcut (
Ctrl+Shift+S
). - Tree View: Browse and manage all your prompts in a hierarchical tree view organized by categories. Click any prompt to insert it instantly.
- Modern Editor: Create and edit prompts in a clean, two-column webview editor with dynamic category dropdown and inline category creation.
- Share & Import: Share individual prompts or entire collections via public links. Import prompts and collections from others with automatic conflict resolution.
- Drag & Drop: Reorder categories and prompts with intuitive drag & drop interface. Move prompts between categories seamlessly.
- Category Management: Create, rename, and organize prompts into categories. Categories are automatically managed and sorted.
- Powerful Search: Find prompts quickly with integrated search that scans titles, content, descriptions, and categories.
- Context Menus: Right-click on any prompt or category for all actions: Edit, Insert, Delete, Share, and Rename Category.
- Inline Actions: Use convenient inline icons in the tree view for quick insert and delete operations.
- Authentication: Secure GitHub OAuth integration for sharing features.
- Persistence: All data persists across VS Code sessions with atomic file operations.
-
Save a Prompt:
- Select text in your editor.
- Press
Ctrl+Shift+S
(orCmd+Shift+S
on Mac). - Fill in the details in the prompt editor and save.
-
Insert a Prompt:
- From the Sidebar: Find your prompt in the "Prompt Bank" tree and click it.
- With a Shortcut: Press
Ctrl+Shift+I
(orCmd+Shift+I
on Mac) and select a prompt from the list. Start typing to search and filter prompts.
-
Manage Prompts:
- Right-click any item in the tree view to see all management options.
-
Share Prompts:
- Single Prompt: Right-click any prompt and select "Share" to get a public link.
- Collection: Use Command Palette (
Ctrl+Shift+P
) → "Prompt Bank: Share Collection" to share entire categories or the complete prompt bank.
-
Import Prompts:
- Command Palette → "Prompt Bank: Import Prompt" → paste share link.
- Automatic conflict resolution handles duplicate titles and categories.
Command | Keybinding | Description |
---|---|---|
promptBank.savePrompt |
Ctrl+Alt+P |
Save current selection as a new prompt. |
promptBank.insertPrompt |
Ctrl+Alt+I |
Insert prompt from the collection. |
promptBank.listPrompts |
- | List all prompts with search and action options. |
promptBank.importPrompt |
- | Import a prompt or collection from a share link. |
promptBank.shareCollection |
- | Share a category or the entire collection. |
promptBank.refreshTree |
- | Manually refresh the tree view view. |
Context Menu Actions | (Right-Click) | Edit , Insert , Delete , Share , Rename Category . |
Prompts are stored locally on your machine using atomic file operations:
- Project-Specific:
.vscode/prompt-bank/prompts.json
(for prompts tied to the current workspace) - Global:
~/.vscode-prompt-bank/prompts.json
(as a fallback for prompts available everywhere) - Data Format: JSON with metadata including creation/modification dates and usage tracking
Sharing features require GitHub OAuth authentication:
- First Time: When you first share a prompt, you'll be redirected to GitHub to authorize the extension
- Secure: Only minimal permissions are requested (public profile access)
- Automatic: Once authorized, sharing works seamlessly without further prompts
- Revocable: You can revoke access anytime from your GitHub settings
This project is licensed under the MIT License - see the LICENSE file for details.
We welcome contributions! Please see our Contributing Guide for details on how to:
- Set up the development environment
- Submit bug reports and feature requests
- Create pull requests
See CHANGELOG.md for a detailed history of changes and new features.