Skip to content

Commit aee89ae

Browse files
committed
fix: validation errors in prompt and skill files
- Remove invalid code fence from new-skill.prompt.md - Add usage section to compatibility-checker SKILL.md - Fix markdown linting issues in examples
1 parent 0bab21f commit aee89ae

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.github/prompts/new-skill.prompt.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
```prompt
21
---
32
description: Scaffold a new Agent Skill (SKILL.md) for VS Code and GitHub Copilot
43
name: New Skill
@@ -52,4 +51,3 @@ When done, explain:
5251
- Reference skills: https://github.com/anthropics/skills
5352
- Awesome Copilot: https://github.com/github/awesome-copilot
5453

55-
```

.github/skills/compatibility-checker/SKILL.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,27 @@ Enable all experimental features:
205205
| 1.102 | MCP servers, AGENTS.md |
206206
| 1.99 | Prompt files, instructions files |
207207
| 1.95 | copilot-instructions.md |
208+
209+
## Usage
210+
211+
When a user reports a feature not working or asks about compatibility:
212+
213+
1. **Check their VS Code version** - Ask them to run `code --version` or check Help → About
214+
2. **Verify required settings** - Use the settings quick reference above to identify which experimental flags need to be enabled
215+
3. **Check feature availability** - Cross-reference with the version history to see if the feature exists in their version
216+
4. **Provide solution** - Guide them to either update VS Code or enable the necessary settings
217+
218+
### Examples
219+
220+
#### Example 1: Agent Skills not working
221+
222+
- Check: VS Code version ≥ 1.108
223+
- Setting: `"chat.useAgentSkills": true`
224+
- Solution: Update to 1.108+ and enable the setting
225+
226+
#### Example 2: Custom agents not appearing
227+
228+
- Check: VS Code version ≥ 1.106
229+
- Setting: `"chat.useAgentsMdFile": true`
230+
- File: `.github/AGENTS.md` or `.github/agents/*.agent.md` exists
231+
- Solution: Verify setting is enabled and file structure is correct

0 commit comments

Comments
 (0)