Overview
PromptDeck is a centralized vault for organizing, searching, and expanding AI prompts, code snippets, SQL queries, regex patterns, and architectural guidelines directly within Visual Studio Code.
Highlights
Dynamic Token Resolution
Inject live editor context into prompts with dynamic placeholders:
${SELECTED_TEXT} $\rightarrow$ Currently highlighted editor code
${CURRENT_FILE} $\rightarrow$ Active filename and path
${DATE} / ${TIME} $\rightarrow$ Current timestamp
{{customVariable}} $\rightarrow$ Interactive fill-in inputs before insertion
Team & Workspace Decks
Commit prompts directly into your Git repository (.promptdeck/prompts.json). Standardize PR review templates, architecture rules, and AI persona instructions across your team.
Curated Starter Packs
One-click import curated collections for AI Coding Personas, Unit Testing (Jest/Vitest), DevOps CI/CD Workflows, and Full-Stack Boilerplates.
Quick-Pick Palette & Shortcuts
Press Ctrl+Alt+P (or Cmd+Alt+P on macOS) to search, preview, and insert prompts into your active file in seconds.
Right-click any selected text or code in the editor and choose PromptDeck: Save Selected Text to Vault to save it to your Global or Workspace deck.
Quick Start
- Install PromptDeck from the Visual Studio Marketplace.
- Open the PromptDeck panel from the Activity Bar icon on the left.
- Press
Ctrl+Alt+P (or Cmd+Alt+P) in any file to insert a prompt at your cursor.
Commands & Shortcuts
| Shortcut |
Command |
Description |
Ctrl+Alt+P / Cmd+Alt+P |
promptDeck.insertSnippet |
Quick search and insert prompt at cursor |
| — |
promptDeck.saveSelection |
Save highlighted code to Vault (Context Menu) |
| — |
promptDeck.openVault |
Open the full PromptDeck sidebar panel |
| — |
promptDeck.initWorkspaceDeck |
Create .promptdeck/prompts.json in workspace |
Dynamic Placeholders
| Placeholder |
Description |
${SELECTED_TEXT} |
Replaced with the currently highlighted text in your active editor. |
${CURRENT_FILE} |
Replaced with the relative path of the active file. |
${DATE} / ${TIME} |
Inserts current date / time string. |
{{variableName}} |
Prompts for interactive user input before inserting. |
Feedback & Contributions
- Report issues and request features on GitHub Issues.
- If you find this extension helpful, please leave a review on the Marketplace.
A product from bluebuff.in • Released under the MIT License