AI / GitHub Copilot CLI Fundamentals Interview Questions
What are slash commands in GitHub Copilot CLI and what are the most important ones?
Slash commands are special instructions you type inside an interactive Copilot CLI session (prefixed with /) to control behaviour, switch context, or trigger specific actions.
| Command | Purpose |
|---|---|
| /? or /help | List all available slash commands and keyboard shortcuts |
| /login | Authenticate with your GitHub account |
| /logout | Sign out of GitHub |
| /model | View or change the AI model for the current session |
| /model auto | Let Copilot pick the best available model automatically |
| /init | Generate or update a copilot-instructions.md file for the repo |
| /init suppress | Permanently hide the 'no instructions found' startup message for this repo |
| /pr | View, create, and fix pull requests from the terminal |
| /fleet | Spawn subagents to speed up multi-step implementation plans |
| /delegate | Ask Copilot to work autonomously on a task (similar to autopilot) |
| /chronicle | Query session history, get standup reports, usage insights |
| /experimental show | Enable access to experimental/preview features |
| /mcp | Manage MCP (Model Context Protocol) server connections |
# Inside an interactive session: /help # show all commands /model # list available models /model claude-3-7-sonnet # switch to a specific model /model auto # let Copilot auto-select /init # generate copilot-instructions.md /pr # open PR management interface /chronicle # session history insights
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
