@@ -51,6 +51,10 @@ Detailed instructions, guidelines, and examples...
5151| ` argument-hint ` | No | Hint text shown in chat input when invoked as a slash command |
5252| ` user-invocable ` | No | Controls ` / ` slash command visibility (default: ` true ` ). Set to ` false ` for background skills |
5353| ` disable-model-invocation ` | No | Controls auto-loading by Copilot (default: ` false ` ). Set to ` true ` for manual-only skills |
54+ | ` license ` | No | License name or reference to a bundled license file (from [ agentskills.io] ( https://agentskills.io/ ) spec) |
55+ | ` compatibility ` | No | Environment requirements — intended product, system packages, network access. Max 500 chars |
56+ | ` metadata ` | No | Arbitrary key-value mapping for additional metadata (e.g., ` author ` , ` version ` ) |
57+ | ` allowed-tools ` | No | Space-delimited list of pre-approved tools the skill may use (experimental) |
5458
5559### Body content
5660
@@ -126,14 +130,36 @@ The description determines when Copilot loads your skill. Be specific:
126130```
127131.github/skills/
128132└── webapp-testing/
129- ├── SKILL.md # Main skill file
130- ├── test-template.js # Reusable test template
131- ├── playwright.config.ts # Example config
133+ ├── SKILL.md # Main skill file (required)
134+ ├── scripts/ # Executable code agents can run
135+ │ └── test-template.js
136+ ├── references/ # Additional documentation
137+ │ └── REFERENCE.md
138+ ├── assets/ # Static resources (templates, schemas)
139+ │ └── config-template.json
132140 └── examples/
133141 ├── login-test.js
134142 └── api-test.js
135143```
136144
145+ ### Recommended directories (from agentskills.io spec)
146+
147+ | Directory | Purpose |
148+ | -----------| ---------|
149+ | ` scripts/ ` | Executable code (Python, Bash, JavaScript). Should be self-contained with helpful error messages |
150+ | ` references/ ` | Additional documentation loaded on demand (keep files focused for efficient context use) |
151+ | ` assets/ ` | Static resources: templates, images, data files, schemas |
152+
153+ ### Progressive disclosure guidelines
154+
155+ Skills load progressively to minimize context usage:
156+
157+ 1 . ** Metadata** (~ 100 tokens): ` name ` and ` description ` loaded at startup for all skills
158+ 2 . ** Instructions** (< 5000 tokens recommended): Full SKILL.md body loaded when activated
159+ 3 . ** Resources** (as needed): Files in ` scripts/ ` , ` references/ ` , ` assets/ ` loaded only when required
160+
161+ Keep your main SKILL.md under ** 500 lines** . Move detailed reference material to separate files.
162+
137163## Reference documentation
138164
139165- [ Agent Skills in VS Code] ( https://code.visualstudio.com/docs/copilot/customization/agent-skills )
0 commit comments