Complete guide to using the Logient-Nventive Shared Prompt Bank and VS Code extension.
The Logient-Nventive Shared Prompt Bank provides three types of prompts to enhance your GitHub Copilot experience:
- Instructions (
.instructions.md): Global coding guidelines applied to all files - Prompts (
.prompt.md): Task-specific prompts for agent mode interactions - Chat Modes (
.chatmode.md): Custom chat behaviors with specific tools and focus areas
- Download the latest
prompts-sync-extension-{version}.vsixfrom thetools/vscode-extension/directory - In VS Code, open the Command Palette (
Ctrl+Shift+PorCmd+Shift+P) - Type "Extensions: Install from VSIX" and select it
- Browse to the downloaded
.vsixfile and install - Restart VS Code when prompted
After installation, you should see:
- A status bar item showing sync status (bottom of VS Code)
- Prompts automatically synced to your local prompts directory
- Extension settings available in VS Code Settings
- Status Bar: Look for the sync indicator in the bottom status bar
- Manual Check: Use
Ctrl+Shift+P→ "Prompts Sync: Show Status" - Force Sync: Use
Ctrl+Shift+P→ "Prompts Sync: Sync Now"
Instructions provide global coding guidelines that apply to all files in your projects.
Format:
---
applyTo: "**" # Glob pattern for file targeting
---
Your coding guidelines and instructions here.Example Use Cases:
- Company coding standards
- Security guidelines
- Framework-specific conventions
- Architecture patterns
How to Use:
- Instructions are automatically applied when you interact with Copilot
- They influence code generation, suggestions, and responses
- Use specific
applyTopatterns to target certain file types
Prompts are task-specific templates for agent mode interactions.
Format:
---
mode: agent # Specifies this is for agent mode
---
Define your specific task, requirements, and success criteria here.Example Use Cases:
- Code review checklists
- Testing strategies
- Documentation generation
- Refactoring guidelines
How to Use:
- Access through VS Code's prompt picker
- Select the appropriate prompt for your task
- Customize the prompt content as needed
- Execute with GitHub Copilot agent mode
Chat modes define custom AI behaviors with specific tools and focus areas.
Format:
---
description: "Brief description of this chat mode"
tools: ["tool1", "tool2"] # Available tools for this mode
---
Define the AI behavior, response style, and interaction patterns.Example Use Cases:
- Code review focused conversations
- Architecture planning sessions
- Debugging assistance
- Documentation writing
How to Use:
- Select from available chat modes in Copilot Chat
- The AI will adopt the specified behavior and focus
- Use the defined tools and constraints for the session
Access via File > Preferences > Settings → Search "Prompts Sync":
| Setting | Default | Description |
|---|---|---|
promptsSync.enabled |
true |
Enable/disable automatic syncing |
promptsSync.frequency |
"daily" |
How often to sync (startup, hourly, daily, weekly, manual) |
promptsSync.syncOnStartup |
true |
Sync when VS Code starts |
promptsSync.showNotifications |
true |
Show sync status notifications |
promptsSync.customPath |
"" |
Custom prompts directory (leave empty for default) |
The extension syncs prompts to your OS-specific VS Code user directory:
- macOS:
~/Library/Application Support/Code/User/prompts/ - Windows:
%APPDATA%\Code\User\prompts\ - Linux:
~/.config/Code/User/prompts/
startup: Only when VS Code startshourly: Every hour while VS Code is runningdaily: Once per day (recommended)weekly: Once per weekmanual: Only when manually triggered
- Open a pull request or code file
- Open Copilot Chat
- Select the "Code Review" prompt
- The AI will follow the code review guidelines defined in the prompt
- Select the code you want to test
- Use the "Test Generation" prompt
- The AI will generate tests following your organization's testing patterns
- Open the file you want to document
- Use the "Documentation" chat mode
- The AI will focus on creating comprehensive, standardized documentation
- Start a new project or feature
- Use the "Architecture" chat mode
- The AI will help plan the technical architecture using company patterns
Symptoms: No new prompts appear, status shows error Solutions:
- Check GitHub authentication in VS Code
- Verify repository access permissions
- Try manual sync:
Ctrl+Shift+P→ "Prompts Sync: Sync Now" - Check the output panel for detailed error messages
Symptoms: Prompts synced but not appearing in Copilot Solutions:
- Restart VS Code to refresh Copilot's prompt cache
- Verify prompts are in the correct format with proper frontmatter
- Check that the prompt files are in the correct directories
Symptoms: Extension not appearing in VS Code Solutions:
- Verify the extension is installed:
View > Extensions - Check if the extension is enabled
- Look for errors in the Developer Console:
Help > Toggle Developer Tools
Symptoms: Sync operation appears stuck Solutions:
- Check internet connection
- Verify repository availability
- Try with a smaller sync frequency
- Enable debug mode for detailed logging
Enable detailed logging:
- Open VS Code Settings
- Search for "promptsSync.debug"
- Enable debug mode
- Open Output panel (
View > Output) - Select "Prompts Sync" from the dropdown
- Review detailed sync logs
If automatic sync isn't working, you can manually manage prompts:
- Find your prompts directory (see locations above)
- Clone the repository manually:
git clone https://github.com/MounirAbdousNventive/prompts-logient-nventive.git temp-repo cp -r temp-repo/prompts/* /path/to/your/prompts/directory/ rm -rf temp-repo - Update manually by repeating the clone and copy process
The extension provides several ways to monitor sync status:
-
Status Bar: Shows current sync state with icons
- ✅ Successfully synced
- 🔄 Sync in progress
- ❌ Sync error
- ⏸️ Sync disabled
-
Last Sync Time: Hover over status bar to see last successful sync
-
Detailed Status: Use "Prompts Sync: Show Status" command for full details
The extension maintains a local sync history showing:
- Sync timestamps
- Success/failure status
- Error messages
- Number of files updated
- Keep Extension Updated: Regularly update to get new features and bug fixes
- Monitor Sync Status: Check that prompts are syncing regularly
- Restart After Major Updates: Restart VS Code after significant prompt updates
- Report Issues: Submit issues for broken or unclear prompts
- Set Consistent Frequency: Use daily sync for active development teams
- Monitor Usage: Track which prompts are most effective
- Provide Training: Ensure teams understand how to use different prompt types
- Encourage Feedback: Create channels for prompt improvement suggestions
- Contribution Guide - How to add new prompts
- Best Practices - Writing effective prompts
- Technical Architecture - Implementation details
- Templates - Prompt format templates
For help with using the prompt bank:
- Check this guide for common solutions
- Review troubleshooting section above
- Check existing issues in the repository
- Create a new issue with detailed information about your problem
- Contact the DevOps team for urgent issues
Questions or suggestions for improving this guide? Please create an issue or submit a pull request.