Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Prompt Library MCP Plugin ATTNew to Visual Studio Code? Get it now.
Prompt Library MCP Plugin ATT

Prompt Library MCP Plugin ATT

Prompt Library Plugin

| (0) | Free
A generic prompt library for GitHub Copilot Chat
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Prompt Library VS Code Extension

A minimal VS Code extension that provides a generic prompt library for GitHub Copilot Chat. The extension reads prompts from markdown files in a prompts/ folder and makes them available as chat commands.

Features

  • Generic prompt library system that reads from markdown files
  • Easy to extend with new prompts
  • Integration with GitHub Copilot Chat

Available Commands

/generate-singleton

Generates a Java 8 Singleton class using the Bill Pugh Singleton Design pattern.

Project Structure

.
├── src/
│   └── extension.ts          # Main extension code
├── prompts/
│   └── generate-singleton.md # Sample prompt for generating singleton
├── package.json              # Extension manifest
├── tsconfig.json            # TypeScript configuration
└── README.md

How to Use

  1. Install dependencies:

    npm install
    
  2. Compile the extension:

    npm run compile
    
  3. Press F5 in VS Code to launch the extension in a new Extension Development Host window

  4. Open GitHub Copilot Chat and use @prompt-library /generate-singleton to generate a Java Singleton class

Adding New Prompts

To add a new prompt:

  1. Create a new markdown file in the prompts/ folder (e.g., prompts/my-prompt.md)
  2. Write your prompt content in the markdown file
  3. Add a new command in package.json under contributes.chatParticipants[0].commands
  4. Add an entry to the COMMAND_PROMPT_MAP in src/extension.ts mapping the command name to the prompt file

Development

  • Compile: npm run compile
  • Watch mode: npm run watch

Requirements

  • VS Code 1.85.0 or higher
  • GitHub Copilot extension
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft