A guide to slash commands in the GitHub Copilot app
GitHub Copilot's desktop app now features powerful slash commands, offering developers quick text-based shortcuts to streamline their coding workflows. These commands are tailored for the app's visual, multi-session environment.
Intelligence analysis by Gemini 2.5 Flash

The GitHub Copilot app introduces new slash commands that enhance developer productivity by providing shortcuts for managing sessions, navigating projects, and customizing AI-assisted workflows. Unlike its CLI counterpart, the app's commands focus on higher-level tasks like planning, challenging ideas, and automating implementation within a graphical interface.
Imagine you have a super smart robot helper for your computer. Instead of clicking many buttons, you can just type a secret word like `/plan` or `/spar` to tell it exactly what you want it to do, like planning your homework or checking if your idea is good. It's like giving it a quick command to make it help you faster and smarter with your projects.
Analysis
The article details the enhanced utility of slash commands within the GitHub Copilot desktop application, distinguishing them from their command-line interface (CLI) counterparts. These new commands are designed to integrate more deeply with the app's visual, multi-session environment, offering developers a streamlined way to interact with the AI assistant. The core idea is to provide quick, context-aware shortcuts that reduce friction and keep developers focused on their tasks, moving beyond simple code generation to more complex workflow management.
Copilot CLI
The article highlights a key distinction between slash commands in the GitHub Copilot CLI and the new app. While the CLI commands, such as /clear and /model, are geared towards a terminal-first workflow, managing directories and terminal access, the app-specific commands are different. The CLI's design reflects its environment, where a visual interface is absent, necessitating commands for context management.
In contrast, the GitHub Copilot app automatically handles project context, rendering file access commands like /add-dir or /cwd unnecessary. This fundamental difference allows the app's slash commands to focus on higher-level workflows. They enable users to navigate between multiple sessions, manage projects, and control the AI agent's behavior more intuitively within a graphical user interface.
Plan mode
One of the standout features introduced is the /plan command, which switches the Copilot session into "Plan mode." This mode is designed to assist developers in the crucial pre-coding phase, helping them break down complex tasks, identify potential challenges, and outline implementation approaches. It encourages a structured thought process before diving into actual code writing.
Examples provided include planning new features, preparing for large refactors, and triaging bugs. For instance, a developer can use /plan to have Copilot identify necessary file changes and dependencies for a new feature like two-factor authentication. Similarly, it can help map out complex changes for a notification system refactor or explore causes and diagnostic steps for a bug in a checkout flow, fostering a more robust and less error-prone development cycle.
Autopilot mode
Following the planning phase, the /autopilot command takes over, transitioning the session into "Autopilot mode." This mode is presented as the next logical step, designed to help developers move from a well-defined plan to working code. Instead of manually managing each individual step of implementation, developers can give Copilot a high-level goal and allow it to orchestrate the necessary actions.
While the article only briefly introduces /autopilot before cutting off, its implied function is to automate the iterative process of coding, making changes, and refining the implementation based on the initial plan. This suggests a significant leap in AI assistance, where Copilot not only suggests code but actively participates in the execution of a development task, potentially accelerating the entire software development lifecycle and freeing developers to focus on higher-level design and problem-solving.
Key points
- GitHub Copilot app introduces new slash commands for enhanced workflow management.
- These commands differ from CLI versions, focusing on the app's visual, multi-session environment.
- `/plan` command helps break down tasks, identify challenges, and outline implementation before coding.
- `/spar` command allows Copilot to challenge assumptions and point out risks in proposed solutions.
- `/autopilot` command aims to automate implementation steps based on a defined plan.
These new slash commands could significantly boost developer productivity by streamlining complex workflows and reducing context switching within the GitHub Copilot app. The ability to quickly plan, challenge ideas, and automate implementation steps could lead to faster development cycles and more robust code, benefiting open-source projects with quicker iterations and higher quality contributions.
Over-reliance on these automated workflows might reduce developers' critical thinking skills or their deep understanding of underlying code structures if not used judiciously. There's also a risk that the AI's suggestions, while efficient, might not always align with best practices or introduce subtle biases, requiring careful oversight to maintain code quality and security.