Cheat sheet
GitHub Copilot CLI#
Describe the outcome, let Copilot plan it, steer while it works, and make it prove the result. Everything you need to keep a coding agent on track, in one place.
on your laptop
Vibe coding is a style of software development where you describe what you want in natural language and let an AI tool generate the code, focusing on the outcome rather than reading, writing, or fully understanding the code itself.
The toolkit
What you actually need at the keyboard#
Each card links into the matching section of the full cheat sheet.
Install, /login, trust the folder, then /init. Five minutes from nothing to an agent that knows your repo.
/init writes copilot-instructions.md so every agent in the repo starts with your build commands, architecture and conventions.
Shift+Tab into plan mode. Copilot asks clarifying questions and waits for approval before touching code.
Just type while it's thinking — mid-turn input lands in the work already in flight. No need to wait for it to finish going the wrong way.
The GitHub MCP server is built in. Add browsers, APIs, databases and docs with /mcp add — live immediately, no restart.
A SKILL.md folder loaded only when relevant, so a playbook doesn't burn context on every turn.
Markdown profiles with their own prompt, tools and model. Describe the specialist you want, /agent writes the profile for you.
Copilot hands work to explore, task, code-review and friends — each with its own context window, so a big search never crowds out your session.
/fleet splits an approved plan across subagents — worth it only when the steps are genuinely independent. Watch them with /tasks.
A critic running on a different model family, so it doesn't share the same blind spots. Read-only: it critiques, it never edits.
/chronicle standup writes your status update. /chronicle improve banks what you learned back into the repo.
Looping on a fix, edits you don't trust, a session that lost the thread — the two-strikes rule and how to get back to a known-good state.
Approval modes, --allow-tool, and why --allow-all-tools belongs in a container.
Take it with you#
A three-page A4 handout — everything above, condensed.
Grounded in the official docs
Every section links back to its source page on
docs.github.com/copilot/how-tos/copilot-cli.
The CLI ships fast — run /help and /changelog summarize if something here
doesn't match what you see.