Enhance Productivity with Slash Commands in GitHub Copilot

GitHub Blog ·

Enhance Productivity with Slash Commands in GitHub Copilot
Image: taken from the story's original source.

In the GitHub Copilot application, slash commands assist developers in planning, collaborating, and automating their workflows. These commands can be used by typing in the application's chat area and provide an autocomplete menu based on the current context. While some commands may be familiar to users coming from the CLI, the application-specific commands are designed for multi-session workflows.

Slash commands accelerate developers' interactions with Copilot, allowing them to focus and providing quick access to the workflows they need. For instance, the /plan command helps in planning a task before coding, while the /autopilot command enables Copilot to work automatically towards a specific goal. Additionally, the /create-canvas command allows for the creation of interactive experiences.

These commands enable developers to manage their projects more efficiently, streamline their workflows, and tackle complex tasks.