Skip to content

Support substitution variables in prompt files #279367

@burkeholland

Description

@burkeholland

Describe the feature you'd like

Allow custom prompt files in VS Code to use substitution variables, so that arguments can be passed by position when invoking a prompt.

Example usage:

/review-pr 456 high alice

And in the prompt source:

Review PR #$1 with priority $2 and assign to $3

Source inspiration: u/El-Paul on Reddit

Somewhat Related: #271125

Metadata

Metadata

Assignees

Labels

chat-promptsPrompt and Instruction files related issuesfeature-requestRequest for new features or functionality

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions