| title | Git-Ignored Folder Installation | ||||
|---|---|---|---|---|---|
| description | Install HVE Core in a git-ignored folder for devcontainer environments | ||||
| sidebar_position | 3 | ||||
| author | Microsoft | ||||
| ms.date | 2026-10-07 | ||||
| ms.topic | how-to | ||||
| keywords |
|
||||
| estimated_reading_time | 6 |
Git-Ignored Folder installation places HVE Core inside your project in a .hve-core/ folder that's excluded from version control. This is ideal for solo developers using devcontainers who want a self-contained setup.
✅ Use this when:
- You use local devcontainers (Docker Desktop)
- You're working solo
- You want HVE Core auto-updated with container rebuilds
- You want a self-contained project (no external dependencies)
❌ Consider alternatives when:
- Your team needs version control → Submodule
- You use Codespaces → GitHub Codespaces
- You want to share HVE Core across projects → Mounted Directory
- You need paths that work everywhere → Multi-Root Workspace
HVE Core is cloned into a .hve-core/ folder inside your project. The folder is added to .gitignore so it doesn't pollute your repository.
my-project/
├── .devcontainer/
│ └── devcontainer.json # postCreateCommand clones HVE Core
├── .hve-core/ # Git-ignored, contains HVE Core
│ └── .github/
│ ├── agents/
│ ├── instructions/
│ └── skills/
├── .gitignore # Includes .hve-core/
├── .vscode/
│ └── settings.json # Points to .hve-core paths
└── src/
Install the VS Code extension for the fastest setup. For guided installation-method selection, MCP configuration, or selective clone adoption, ask an agent to use the included hve-core-installer skill. Use the manual steps below for direct configuration.
Add the HVE Core folder to your .gitignore:
# HVE Core installation (local only)
.hve-core/
# Create folder and clone
$hveCoreFolder = ".hve-core"
if (-not (Test-Path $hveCoreFolder)) {
git clone https://github.com/microsoft/hve-core.git $hveCoreFolder
Write-Host "✅ Cloned HVE Core to $hveCoreFolder"
}HVE_CORE_FOLDER=".hve-core"
if [ ! -d "$HVE_CORE_FOLDER" ]; then
git clone https://github.com/microsoft/hve-core.git "$HVE_CORE_FOLDER"
echo "✅ Cloned HVE Core to $HVE_CORE_FOLDER"
fiCreate or update .vscode/settings.json:
{
"chat.agentFilesLocations": {
".hve-core/.github/agents/ado": true,
".hve-core/.github/agents/data-science": true,
".hve-core/.github/agents/design-thinking": true,
".hve-core/.github/agents/github": true,
".hve-core/.github/agents/project-planning": true,
".hve-core/.github/agents/hve-core": true,
".hve-core/.github/agents/hve-core/subagents": true,
".hve-core/.github/agents/security": true
},
"chat.instructionsFilesLocations": {
".hve-core/.github/instructions/ado": true,
".hve-core/.github/instructions/coding-standards": true,
".hve-core/.github/instructions/github": true,
".hve-core/.github/instructions/hve-core": true,
".hve-core/.github/instructions/shared": true
},
"chat.agentSkillsLocations": {
".hve-core/.github/skills": true,
".hve-core/.github/skills/accessibility": true,
".hve-core/.github/skills/shared": true,
".hve-core/.github/skills/coding-standards": true,
".hve-core/.github/skills/data-science": true,
".hve-core/.github/skills/design-thinking": true,
".hve-core/.github/skills/hve-core": true,
".hve-core/.github/skills/installer": true,
".hve-core/.github/skills/project-planning": true,
".hve-core/.github/skills/rai": true,
".hve-core/.github/skills/rpi": true,
".hve-core/.github/skills/security": true
}
}Add to .devcontainer/devcontainer.json so HVE Core is cloned on container creation:
- Rebuild your devcontainer (
Ctrl+Shift+P→ "Dev Containers: Rebuild Container") - Open GitHub Copilot Chat (
Ctrl+Alt+I) - Click the agent picker dropdown
- Verify
RPI AgentandDocumentationappear, then confirm/rpi-researchis available
{
"name": "My Project with HVE Core",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"postCreateCommand": "[ -d .hve-core ] || git clone --depth 1 https://github.com/microsoft/hve-core.git .hve-core",
"customizations": {
"vscode": {
"settings": {
"chat.agentFilesLocations": {
".hve-core/.github/agents/ado": true,
".hve-core/.github/agents/data-science": true,
".hve-core/.github/agents/design-thinking": true,
".hve-core/.github/agents/github": true,
".hve-core/.github/agents/project-planning": true,
".hve-core/.github/agents/hve-core": true,
".hve-core/.github/agents/hve-core/subagents": true,
".hve-core/.github/agents/security": true
},
"chat.instructionsFilesLocations": {
".hve-core/.github/instructions/ado": true,
".hve-core/.github/instructions/coding-standards": true,
".hve-core/.github/instructions/github": true,
".hve-core/.github/instructions/hve-core": true,
".hve-core/.github/instructions/shared": true
},
"chat.agentSkillsLocations": {
".hve-core/.github/skills": true,
".hve-core/.github/skills/accessibility": true,
".hve-core/.github/skills/shared": true,
".hve-core/.github/skills/coding-standards": true,
".hve-core/.github/skills/data-science": true,
".hve-core/.github/skills/design-thinking": true,
".hve-core/.github/skills/hve-core": true,
".hve-core/.github/skills/installer": true,
".hve-core/.github/skills/project-planning": true,
".hve-core/.github/skills/rai": true,
".hve-core/.github/skills/rpi": true,
".hve-core/.github/skills/security": true
}
}
}
}
}cd .hve-core
git pullThe postCreateCommand re-clones on each container creation. To update, rebuild the container.
{
"postCreateCommand": {
"clone-or-update": "[ -d .hve-core ] && (cd .hve-core && git pull) || git clone --depth 1 https://github.com/microsoft/hve-core.git .hve-core"
}
}ls .hve-core/.github/agents- Open Command Palette (
Ctrl+Shift+P) - Type "Preferences: Open Workspace Settings (JSON)"
- Verify the paths are correct
Check your .gitignore includes .hve-core/:
cat .gitignore | grep hve-coreIf missing, add it:
echo ".hve-core/" >> .gitignoreIf postCreateCommand fails, check:
- Network connectivity in the container
- Git is available (
git --version) - GitHub is accessible (
curl -I https://github.com)
The clone only happens if the folder doesn't exist. To force update:
{
"postCreateCommand": "rm -rf .hve-core && git clone --depth 1 https://github.com/microsoft/hve-core.git .hve-core"
}Warning: This deletes any local changes to HVE Core on every rebuild.
| Aspect | Status |
|---|---|
| Devcontainers | ✅ Designed for this |
| Codespaces | |
| Team sharing | |
| Portable paths | ✅ Relative paths work |
| Version pinning | |
| Disk usage | |
| Setup complexity | ✅ Simple |
- Your First Workflow - Try HVE Core with a real task
- Multi-Root Workspace - Share across local + Codespaces
- Submodule - Add version control for teams
🤖 Crafted with precision by ✨Copilot following brilliant human instruction, then carefully refined by our team of discerning human reviewers.
{ // ... existing configuration ... "postCreateCommand": "[ -d .hve-core ] || git clone --depth 1 https://github.com/microsoft/hve-core.git .hve-core" }