Skip to content

switch-dimension/molten-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prompt Manager

A VS Code extension for saving, organizing, and managing reusable prompts across your projects.

Features

  • Save Prompts: Store frequently used prompts, code snippets, or templates
  • Organize by Category: Group prompts into categories for easy navigation
  • Tag System: Add tags to prompts for better searchability
  • Variable Substitution: Use {{variableName}} placeholders in prompts for dynamic content
  • Import/Export: Backup and share prompts as JSON files
  • Sidebar Integration: Browse and manage prompts from a dedicated sidebar panel

Usage

Creating a Prompt

  1. Click the + icon in the Prompt Manager sidebar

  2. Fill in the prompt details:

    • Title: A descriptive name for your prompt
    • Description: What the prompt does
    • Category: Organize prompts into categories
    • Tags: Comma-separated tags for filtering
    • Content: The actual prompt text
    • Variables: Optional dynamic placeholders
  3. Click "Save"

Using Variables

Prompts can include variables using the {{variableName}} syntax:

Create a {{language}} function called {{functionName}} that {{description}}

When you insert this prompt, you'll be prompted to provide values for each variable.

Define variables with optional default values:

language=TypeScript
functionName=myFunction
description

Using a Prompt

Click the "Use Prompt" button (sparkle icon ✨) on any prompt to see your options:

1. Copy to Clipboard (Default - Fastest)

  • Copies the prompt to your clipboard
  • Paste anywhere: AI chat, terminal, email, etc.
  • Perfect for using with Cursor's AI features

2. Save as Cursor Command (Team Sharing)

  • Saves prompt to .cursor/commands/prompt-name.md
  • Use with @prompt-name in Cursor
  • Shared with your team via Git
  • Options to save with or without variables

3. Insert into Editor

  • Inserts at your cursor position in the active file
  • Traditional snippet behavior

Right-click menu also provides quick access to all actions.

If the prompt has variables (like {{name}} or {{url}}), you'll be prompted to provide values.

Cursor Commands Integration

Save your prompts as Cursor commands for team sharing:

  1. Click "Use Prompt" → "Save as Cursor Command"
  2. Prompt is saved to .cursor/commands/prompt-name.md
  3. Use it in Cursor with @prompt-name
  4. Commit .cursor/commands/ to Git for team sharing

Benefits:

  • Share prompts with your team via Git
  • Works seamlessly with Cursor's @ command system
  • Auto-discovered by Cursor
  • Version controlled

Import/Export

  • Export: Command Palette → "Export Prompts" - saves all prompts to a JSON file
  • Import: Command Palette → "Import Prompts" - load prompts from a JSON file
    • Choose "Merge" to add new prompts without removing existing ones
    • Choose "Replace" to replace all existing prompts

Commands

Access these commands from the Command Palette (Cmd/Ctrl + Shift + P):

  • Prompt Manager: Create New Prompt
  • Prompt Manager: Export Prompts
  • Prompt Manager: Import Prompts

Future Features

  • Team sharing via custom backend
  • Public prompt library
  • Prompt templates and marketplace
  • Search and filtering
  • Prompt versioning

Requirements

  • VS Code 1.85.0 or higher

Extension Settings

Currently, this extension has no configurable settings. Settings for backend sync will be added in future versions.

Known Issues

None currently. Please report issues on our GitHub repository.

Release Notes

0.0.1

Initial release:

  • Local prompt storage
  • Category-based organization
  • Variable substitution
  • Import/Export functionality
  • Sidebar tree view

Enjoy managing your prompts! 🚀

About

Molten Prompt Manager IDE Extension for VSCode, Cursor, JetBrains and more

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors