8000 GitHub - striver11/vscode-promptboost
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

striver11/vscode-promptboost

 
 

Repository files navigation

Prompt Boost

Transform simple prompts into powerful, context-rich instructions that help GitHub Copilot understand exactly what you need. This extension enhances your prompts by adding relevant technical context, best practices, and specific requirements that lead to better, more accurate responses.

Prompt Boost in action showing how the extension transforms a basic prompt into a detailed, context-rich instruction set

Why Prompt Boost?

  • 🚀 Turn basic prompts into comprehensive instructions
  • 💡 Get more accurate and relevant responses from GitHub Copilot
  • ⏱️ Save time by automating prompt enhancement
  • 🎯 Improve consistency in AI-generated code

Using Prompt Boost

Method 1: Editing Prompt and Custom Instruction Files

  1. Create or open a .prompt.md file in the .github/prompts folder
  2. Write your basic prompt
  3. Either:
    • Right-click and select "Boost Prompt"
    • Use the editor menu and click "Boost Prompt"

Prompt Boost in the context menu

Method 2: VS Code Chat

  1. Open VS Code Chat
  2. Select Agent mode
  3. Write your prompt and ask Copilot to "boost" it
  4. Use the enhanced prompt for better results

Prompt Boost in Chat

Examples

Basic prompt:

Create a REST API for a todo app

Enhanced prompt:

Create a REST API for a todo app with the following specifications:
- Use Node.js with Express framework
- Implement CRUD operations for todo items
- Include input validation
- Follow RESTful best practices
- Add error handling
- Include API documentation
- Use async/await for database operations
- Implement proper status codes

Development

Prerequisites

Check your Node versions:

node -v
npm -v

Get the Source

git clone https://github.com/chrisdias/vscode-promptboost.git
cd vscode-promptboost

Install dependencies, open VS Code, and run the extension

npm install && code-insiders . -r

Once in VS Code open the Debug View (Ctrl+Shift+D) and select the Run Extension target.

The extension will build and then a new instance of VS Code will open with the extension loaded. You can use this instance to test this extension.

Open the Chat View, choose the Agent mode, and write your prompt, asking Copilot to "boost" its power

"I want to create a new "ToDo" web app in node. First, boost this prompt with the prompt boost tool and then write the code for the app"

API Documentation

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.5%
  • JavaScript 9.5%
0