Initial shared Copilot resources scaffold
This commit is contained in:
3
config/copilot-cli/env.example.ps1
Normal file
3
config/copilot-cli/env.example.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
$env:COPILOT_RESOURCES_HOME = if ($env:COPILOT_RESOURCES_HOME) { $env:COPILOT_RESOURCES_HOME } else { Join-Path $HOME '.copilot-resources' }
|
||||
$env:COPILOT_HOME = if ($env:COPILOT_HOME) { $env:COPILOT_HOME } else { Join-Path $HOME '.copilot' }
|
||||
$env:COPILOT_CUSTOM_INSTRUCTIONS_DIRS = Join-Path $env:COPILOT_RESOURCES_HOME 'resources\instructions'
|
||||
3
config/copilot-cli/env.example.sh
Normal file
3
config/copilot-cli/env.example.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
export COPILOT_RESOURCES_HOME="${COPILOT_RESOURCES_HOME:-$HOME/.copilot-resources}"
|
||||
export COPILOT_HOME="${COPILOT_HOME:-$HOME/.copilot}"
|
||||
export COPILOT_CUSTOM_INSTRUCTIONS_DIRS="${COPILOT_RESOURCES_HOME}/resources/instructions"
|
||||
29
config/vscode/settings.template.jsonc
Normal file
29
config/vscode/settings.template.jsonc
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
// Optional feature flags and direct-path discovery fallback.
|
||||
// Most discovery is intended to work through the default paths linked by bootstrap.
|
||||
"github.copilot.chat.cli.customAgents.enabled": true,
|
||||
"chat.useCustomAgentHooks": true,
|
||||
"chat.useAgentsMdFile": true,
|
||||
"chat.useClaudeMdFile": true,
|
||||
"chat.useCustomizationsInParentRepositories": true,
|
||||
|
||||
// Direct-path fallback configuration in case symlinked defaults are not preferred.
|
||||
"chat.instructionsFilesLocations": {
|
||||
"{{COPILOT_RESOURCES_HOME}}/resources/instructions": true,
|
||||
"~/.claude/rules": true
|
||||
},
|
||||
"chat.agentFilesLocations": {
|
||||
"{{COPILOT_RESOURCES_HOME}}/resources/agents": true,
|
||||
"~/.copilot/agents": true
|
||||
},
|
||||
"chat.agentSkillsLocations": {
|
||||
"{{COPILOT_RESOURCES_HOME}}/resources/skills": true
|
||||
},
|
||||
"chat.promptFilesLocations": {
|
||||
"{{COPILOT_RESOURCES_HOME}}/resources/prompts": true
|
||||
},
|
||||
"chat.hookFilesLocations": {
|
||||
"{{COPILOT_RESOURCES_HOME}}/resources/hooks": true,
|
||||
"~/.claude/settings.json": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user