Prompt files turn repeated GitHub Copilot chat requests into slash commands. You write the instructions once in a Markdown file, save it in your Visual Studio Code profile, and run it from any repository with /command-name.
The example below builds a /commit command. It checks your Git changes, decides whether to commit staged changes or stage everything, writes a conventional commits message, creates the commit, and stops before pushing.
Docs: VS Code - Prompt Files
Examples: github/awesome-copilot
Why Use a Prompt File?







