New Project: Project Echo A privacy-first macOS utility that automatically captures meeting audio and g...
New Project: Perplexity MCP Server Use your existing Perplexity Pro subscription with AI coding tools - no API c...
New Project: Antigravity Claude Proxy A proxy server exposing Anthropic and OpenAI compatible APIs backed by Antigr...

PromptForge

An IntelliJ plugin for context-rich LLM prompts. One click to gather related files, dependencies, and format task-specific prompts.

IDE Plugin //

PromptForge

Context-Rich Prompts for LLMs, Effortlessly

Right-click, paste, get answers. It's that simple.

PromptForge gives your LLM the full context it needs with a single click. No more copy-pasting multiple files - just right-click and paste for accurate, context-aware responses.


The Problem

When working with LLMs on code-related tasks:

  1. Copy a single file to ChatGPT
  2. Get: "I need to see the related classes to help you"
  3. Copy another file
  4. Get: "I still need to see how this interfaces with XYZ"
  5. Repeat until enough context is shared

PromptForge solves this with one click.


Features

  • One-Click Operation - Right-click, select action, paste to LLM
  • Complete Context - Automatically includes related files and dependencies
  • Full Control - You decide how much context to include
  • No API Keys - Works with any LLM you prefer
  • Task-Specific Prompts - Optimized templates for different use cases

Available Actions

Action Description
Generate Tests Creates prompts for test generation
Explain Code Formats context for code explanations
Ask Questions Prepares context for specific queries
Make Changes Structures context for implementation guidance
Copy with Context Raw context for custom prompts

Installation

From JetBrains Marketplace (Coming Soon)

  1. Settings > Plugins > Marketplace
  2. Search for "PromptForge"
  3. Click "Install"
  4. Restart IntelliJ IDEA

Manual Installation

  1. Download latest .zip from Releases
  2. Settings > Plugins
  3. Click gear icon > Install Plugin from Disk...
  4. Select the downloaded ZIP
  5. Restart IntelliJ IDEA

Usage

Basic Workflow

  1. Right-click on a file in your IDE
  2. Select a PromptForge action from the context menu
  3. Plugin collects all related context
  4. Paste the result into your favorite LLM
  5. Get accurate, contextual responses the first time

Generate Tests

Perfect for TDD or adding tests to existing code. Detects if you're working with a new file or modifying existing code.

Explain Code

When you're looking at complex code thinking "what does this even do?" - let an LLM explain it with full context.

Ask Questions

Have a specific question about your code? Ask it while providing all the context the LLM needs.

Make Changes

Need to implement a feature or fix a bug? Get accurate suggestions based on your codebase's context.


Configuration

Settings > Tools > PromptForge

  • Search Depth - How deep to search for related files
  • Package Exclusions - Packages to skip
  • Prompt Templates - Customize templates
  • Content Pruning - Remove unnecessary content

Requirements

  • IntelliJ IDEA 2023.1 or later
  • Java 17 or later
  • Git (for modified file detection)

Tech Stack

  • Language: Kotlin
  • Platform: IntelliJ Platform Plugin
  • Build: Gradle
  • VCS Integration: Git

Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

GNU General Public License v3.0 - see LICENSE for details.


Support

If you find this plugin useful:

  • Star the repo on GitHub
  • Share with your network
  • Report issues or suggest improvements

Contact

Bala Kumar - mail@balakumar.dev