-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconfig.yml
More file actions
194 lines (182 loc) · 6.15 KB
/
Copy pathconfig.yml
File metadata and controls
194 lines (182 loc) · 6.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
# GitHub Copilot Agent Configuration
# Schema: schemas/agent.schema.yml v0.5.0
#
# Synced from .claude/skills/audit-agent/assets/registry/copilot/config.yml
# Last verified: 2026-05-06
#
# Items intentionally NOT included here (not measurable on disk):
# - Copilot Memory: cloud-hosted (GitHub), no local file
# - Copilot Spaces: GitHub web UI, no local file
# - Org instructions: GitHub org settings, web-managed
# - GitHub MCP via web UI: not local file
# - Copilot Extensions: cloud-hosted GitHub Apps
# - chat.* / github.copilot.* settings (covered by `config` file_type at .vscode/settings.json)
agent: copilot
version: "0.5.0"
prefix: COPILOT
name: GitHub Copilot
file_types:
main:
# .github/copilot-instructions.md only — repository-root file.
# AGENTS.md cross-agent read is a separate file_type (`agents_md` below).
source: https://docs.github.com/en/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot
required: true
format: freeform
scope: global
cardinality: singleton
lifecycle: static
loading: session_start
scopes:
project:
patterns: [".github/copilot-instructions.md"]
precedence: project
vcs: committed
maintainer: human
agents_md:
# AGENTS.md cross-agent read — directory tree walking, nearest ancestor wins.
# chat.useAgentsMdFile enables it; chat.useNestedAgentsMdFiles (experimental)
# enables recursive subfolder discovery.
source: https://code.visualstudio.com/docs/copilot/customization/custom-instructions
format: freeform
scope: global
cardinality: chain
lifecycle: static
loading: session_start
scopes:
project:
patterns: ["**/AGENTS.md"]
precedence: project
vcs: committed
maintainer: human
nested_context:
# Per-directory AGENTS.md surfaced when running from a deeper cwd. Path-scoping
# comes from file LOCATION (no frontmatter), captured by scope: nested.
source: https://code.visualstudio.com/docs/copilot/customization/custom-instructions
format: freeform
scope: nested
cardinality: hierarchical
lifecycle: static
loading: on_demand
scopes:
project:
patterns: ["**/AGENTS.md"]
precedence: project
vcs: committed
maintainer: human
rules:
# Path-scoped instructions with applyTo / excludeAgent frontmatter.
# VS Code also reads .claude/rules/ for cross-agent compatibility.
source: https://code.visualstudio.com/docs/copilot/customization/custom-instructions
format: [frontmatter, freeform]
scope: path_scoped
cardinality: collection
lifecycle: static
loading: on_demand
scopes:
project:
patterns: [".github/instructions/**/*.instructions.md", ".claude/rules/**/*.md"]
precedence: project
vcs: committed
maintainer: human
user:
patterns: ["~/.claude/rules/*.md"]
precedence: user
vcs: external
maintainer: human
skills:
# Custom skill discovery paths configurable via chat.agentSkillsLocations.
source: https://code.visualstudio.com/docs/copilot/customization/agent-skills
format: [frontmatter, freeform]
scope: task_scoped
cardinality: hierarchical
lifecycle: static
loading: on_invocation
scopes:
project:
patterns: [".github/skills/**/SKILL.md", ".claude/skills/**/SKILL.md", ".agents/skills/**/SKILL.md"]
precedence: project
vcs: committed
maintainer: human
user:
patterns: ["~/.copilot/skills/**/SKILL.md", "~/.agents/skills/**/SKILL.md"]
precedence: user
vcs: external
maintainer: human
agents:
source: https://code.visualstudio.com/docs/copilot/customization/custom-agents
format: [frontmatter, freeform]
scope: task_scoped
cardinality: collection
lifecycle: static
loading: on_invocation
scopes:
project:
patterns: [".github/agents/*.agent.md", ".claude/agents/*.md"]
precedence: project
vcs: committed
maintainer: human
user:
patterns: ["~/.copilot/agents/*.agent.md"]
precedence: user
vcs: external
maintainer: human
hooks:
# 6 events on GitHub coding agent, 8 events in VS Code.
source: https://docs.github.com/en/copilot/reference/hooks-configuration
format: schema_validated
scope: global
cardinality: collection
lifecycle: static
loading: session_start
scopes:
project:
patterns: [".github/hooks/*.json"]
precedence: project
vcs: committed
maintainer: human
prompts:
# Reusable prompt templates — manually invoked, not auto-applied.
source: https://code.visualstudio.com/docs/copilot/customization/prompt-files
format: [frontmatter, freeform]
scope: global
cardinality: collection
lifecycle: static
loading: on_invocation
scopes:
project:
patterns: [".github/prompts/*.prompt.md"]
precedence: project
vcs: committed
maintainer: human
mcp:
source: https://docs.github.com/en/copilot/customizing-copilot/extending-copilot-coding-agent-with-mcp
format: schema_validated
scope: global
cardinality: singleton
lifecycle: static
loading: session_start
scopes:
project:
patterns: [".vscode/mcp.json"]
precedence: project
vcs: committed
maintainer: human
config:
# VS Code settings (chat.* and github.copilot.* namespaces)
source: https://code.visualstudio.com/docs/copilot/reference/copilot-settings
format: schema_validated
scope: global
cardinality: singleton
lifecycle: static
loading: session_start
scopes:
project:
patterns: [".vscode/settings.json"]
precedence: project
vcs: committed
maintainer: human
excludes:
- CLAUDE:*
- CODEX:*
- CORE:S:0024 # import-targets-resolve — Copilot instruction files have no documented @<path> import syntax (per docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions)
- CORE:S:0033 # import-depth-within-limit — Copilot instructions files do not support chained @import