Skip to content

convert built-in prompt files to skills#308472

Merged
aeschli merged 1 commit intomainfrom
aeschli/extra-tiglon-939
Apr 8, 2026
Merged

convert built-in prompt files to skills#308472
aeschli merged 1 commit intomainfrom
aeschli/extra-tiglon-939

Conversation

@aeschli
Copy link
Copy Markdown
Contributor

@aeschli aeschli commented Apr 8, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 8, 2026 09:55
@aeschli aeschli enabled auto-merge (squash) April 8, 2026 09:55
@aeschli aeschli self-assigned this Apr 8, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.md contributions (except plan.prompt.md) from chatPromptFiles.
  • Contribute new built-in SKILL.md entries for /init and the create-* workflows via chatSkills.
  • Update skill frontmatter to prevent automatic model-triggered invocation where appropriate, and hide the agent-customization workflow 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
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copilot uses AI. Check for mistakes.
@@ -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
Copy link

Copilot AI Apr 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copilot uses AI. Check for mistakes.
@aeschli aeschli merged commit f006960 into main Apr 8, 2026
27 checks passed
@aeschli aeschli deleted the aeschli/extra-tiglon-939 branch April 8, 2026 10:59
@vs-code-engineering vs-code-engineering Bot added this to the 1.116.0 milestone Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants