Installation
Follow these steps to install and configure Copilot Collections for use across all your VS Code workspaces.
1. Clone the Repository
cd ~/projects
git clone https://github.com/TheSoftwareHouse/copilot-collections.git copilot-collections
The important part is that VS Code can see the .github/prompts, .github/agents, and .github/skills folders from this repository.
2. Configure Global Copilot Locations (User Settings)
You can configure this once at the user level and reuse it across all workspaces.
- Open the Command Palette:
CMD+Shift+P(macOS) orCtrl+Shift+P(Windows/Linux). - Select "Preferences: Open User Settings (JSON)".
- Add or merge the following configuration:
{
"chat.promptFilesLocations": {
"~/projects/copilot-collections/.github/prompts": true
},
"chat.agentFilesLocations": {
"~/projects/copilot-collections/.github/agents": true
},
"chat.agentSkillsLocations": {
"~/projects/copilot-collections/.github/skills": true
},
"chat.useAgentSkills": true,
"github.copilot.chat.searchSubagent.enabled": true,
"chat.experimental.useSkillAdherencePrompt": true,
"chat.customAgentInSubagent.enabled": true,
"github.copilot.chat.agentCustomizationSkill.enabled": true
}
tip
Adjust the path (~/projects/copilot-collections/...) if your folder layout differs. Once set, these locations are available in all VS Code workspaces.
3. Enable Copilot Experimental Features (UI)
If you prefer the UI instead of editing JSON directly:
- Open Settings (
CMD+,on macOS orCtrl+,on Windows/Linux). - Search for "promptFilesLocations" and add an entry pointing to
~/projects/copilot-collections/.github/prompts. - Search for "agentFilesLocations" and add an entry pointing to
~/projects/copilot-collections/.github/agents. - Search for "agentSkillsLocations" and add an entry pointing to
~/projects/copilot-collections/.github/skills. - Search for "chat.useAgentSkills" and enable it — allows Copilot to use Skills.
- Search for "chat.customAgentInSubagent.enabled" and enable it — allows custom agents in subagents.
- Search for "github.copilot.chat.searchSubagent.enabled" and enable it — enables the search subagent for better codebase analysis.
- Search for "chat.experimental.useSkillAdherencePrompt" and enable it — forces Copilot to use Skills more often.
- Search for "github.copilot.chat.agentCustomizationSkill.enabled" and enable it — enables the agent customization skill.
Using in Your Projects
Once the repo is cloned and VS Code User Settings are configured:
- Open your project in VS Code.
- Open GitHub Copilot Chat.
- Switch to one of the configured agents (Architect, Business Analyst, Software Engineer, Code Reviewer).
- Use the workflow prompts:
/tsh-research <JIRA_ID or task description>/tsh-plan <JIRA_ID or task description>/tsh-implement <JIRA_ID or task description>/tsh-review <JIRA_ID or task description>
All of these will leverage the shared configuration from Copilot Collections while still respecting your project's own code and context.