Skip to content

Enhance slash command expansion to include prompt type in message#299305

Merged
joshspicer merged 2 commits intomainfrom
josh/copilot/worktree-2026-03-04T21-57-30
Mar 4, 2026
Merged

Enhance slash command expansion to include prompt type in message#299305
joshspicer merged 2 commits intomainfrom
josh/copilot/worktree-2026-03-04T21-57-30

Conversation

@joshspicer
Copy link
Member

No description provided.

Copilot AI review requested due to automatic review settings March 4, 2026 22:32
@vs-code-engineering vs-code-engineering bot added this to the 1.111.0 milestone Mar 4, 2026
Copy link
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

Updates the Sessions window chat slash-command expansion so that when a prompt/skill slash command is expanded into a markdown file reference, the generated message includes the underlying prompt type (e.g. skill vs prompt).

Changes:

  • Import PromptsType and use it to derive a human-readable type label for expanded prompt slash commands.
  • Update the expanded markdown message to include the computed type label.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@joshspicer joshspicer enabled auto-merge (squash) March 4, 2026 22:36
@joshspicer joshspicer merged commit 01fea9a into main Mar 4, 2026
20 checks passed
@joshspicer joshspicer deleted the josh/copilot/worktree-2026-03-04T21-57-30 branch March 4, 2026 23:33
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