convert built-in prompt files to skills#308472
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates several built-in Copilot “prompt file” slash commands to the newer skill mechanism by moving their contributions from chatPromptFiles to chatSkills and updating SKILL frontmatter to control invocation behavior.
Changes:
- Remove legacy built-in
.prompt.mdcontributions (exceptplan.prompt.md) fromchatPromptFiles. - Contribute new built-in
SKILL.mdentries for/initand the create-* workflows viachatSkills. - Update skill frontmatter to prevent automatic model-triggered invocation where appropriate, and hide the
agent-customizationworkflow skill from the/menu.
Show a summary per file
| File | Description |
|---|---|
| extensions/copilot/package.json | Moves built-in “init/create-*” entries from chatPromptFiles to chatSkills contributions. |
| extensions/copilot/assets/prompts/skills/init/SKILL.md | Replaces agent: agent with disable-model-invocation: true for slash-only usage. |
| extensions/copilot/assets/prompts/skills/create-prompt/SKILL.md | Same frontmatter change to prevent automatic model-triggered invocation. |
| extensions/copilot/assets/prompts/skills/create-instructions/SKILL.md | Same frontmatter change to prevent automatic model-triggered invocation. |
| extensions/copilot/assets/prompts/skills/create-skill/SKILL.md | Same frontmatter change to prevent automatic model-triggered invocation. |
| extensions/copilot/assets/prompts/skills/create-agent/SKILL.md | Same frontmatter change to prevent automatic model-triggered invocation. |
| extensions/copilot/assets/prompts/skills/create-hook/SKILL.md | Same frontmatter change to prevent automatic model-triggered invocation. |
| extensions/copilot/assets/prompts/skills/agent-customization/SKILL.md | Hides the workflow skill from the / menu via user-invocable: false (comment needs minor fixes). |
Copilot's findings
- Files reviewed: 8/8 changed files
- Comments generated: 2
| @@ -1,5 +1,6 @@ | |||
| --- | |||
| name: agent-customization | |||
| user-invocable: false # don't show as slash command, we have sepcialized create-agent, create-instructions, create-hook prompts for that | |||
There was a problem hiding this comment.
Typo in the inline comment: "sepcialized" should be "specialized".
Suggested change
| user-invocable: false # don't show as slash command, we have sepcialized create-agent, create-instructions, create-hook prompts for that | |
| user-invocable: false # don't show as slash command, we have specialized create-agent, create-instructions, create-hook prompts for that |
| @@ -1,5 +1,6 @@ | |||
| --- | |||
| name: agent-customization | |||
| user-invocable: false # don't show as slash command, we have sepcialized create-agent, create-instructions, create-hook prompts for that | |||
There was a problem hiding this comment.
The inline rationale comment refers to "create-agent/create-instructions/create-hook prompts", but those have been converted to skills in this PR. Update the wording so it matches the new skill-based contributions (and avoids implying these are still .prompt.md files).
Suggested change
| user-invocable: false # don't show as slash command, we have sepcialized create-agent, create-instructions, create-hook prompts for that | |
| user-invocable: false # don't show as slash command, we have specialized create-agent, create-instructions, and create-hook skills for that |
alexdima
approved these changes
Apr 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.