Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>prompt-forgeNew to Visual Studio Code? Get it now.
prompt-forge

prompt-forge

drendog

|
27 installs
| (0) | Free
Craft LLM-Ready Code Context for LLMs
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🔨 Prompt Forge

Main Repo | Temp Repo

Forge the perfect prompts from your codebase 🔥

A vscode extension that makes it a breeze to generate context-rich prompts for your favorite LLMs. Whether you're working with ChatGPT, Claude, or others, Prompt Forge helps you craft the perfect prompts by seamlessly integrating your codebase.

🌟 Features

File Selection & Management

  • 📂 Visual file tree for easy selection
  • ✅ Checkbox-based file selection system
  • 📊 Real-time token count estimation
  • 🔄 Support for both individual files and entire directories

Prompt Generation

  • 📝 Customizable prompt headers
  • 🎨 Multiple output formats (Markdown/XML)
  • 📋 One-click copying to clipboard
  • 📑 Open in new editor tab
  • 🚀 Direct integration with LLM platforms

Smart Integration

  • 💡 Quick settings panel for format preferences
  • 🎯 File decoration in VS Code explorer
  • 📌 Status bar integration with token count
  • ⚡ Keyboard shortcuts support

🚀 Getting Started

  1. Install the extension from the VS Code marketplace
  2. Open your project in VS Code
  3. Access the Prompt Forge sidebar (look for the sheet icon)
  4. Select files you want to include in your prompt
  5. Type your prompt header
  6. Choose your preferred export method:
    • Copy to clipboard 📋
    • Open in new tab ↗️
    • Send directly to ChatGPT, Claude and others 🌐

🌲 Usage Tips

  • Smart Selection: Use directory selection to quickly include multiple related files
  • Quick Toggle: Look for "📜 +" and "📜 -" buttons in the top-right of your editor tab to quickly add/remove the current file from context
  • Token Management: Keep an eye on the token count in the status bar
  • Format Switching: Use XML for structured prompts (pretty for Claude), Markdown for readability
  • Quick Access: Pin frequently used files for faster access

🤝 Contributing

Got ideas? Found a bug? We'd love to hear from you! Feel free to:

  • Open an issue
  • Submit a PR
  • Share your feedback

🎥 Coming Soon

  • 🏠 Local LLM integration
  • 🚨 Add errors and warnings on context
  • 🛠️ More customizations and settings
  • 📊 Advanced token estimation
  • 🎨 Custom prompt templates
  • 🔄 History management
  • 🚀 Performance improvements
  • 📚 More documentation
  • 📝 New extension for Zed editor and more

🌲 See you in the woods!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft