AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

cli-mastery

Interactive training for the GitHub Copilot CLI. Guided lessons, quizzes, scenario challenges, and a full reference covering slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Say "cliexpert" to start.

Original source
github
License
MIT
Pinned revision
5269f7ea2d6c3a9bfda5ed878b6726cf509121fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read github--cli-mastery at revision 5269f7ea2d6c3a9bfda5ed878b6726cf509121fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 11

references/scenarios.md

Scenario Challenges

Present these as real-world situations. Ask the user what commands/shortcuts they'd use. Use ask_user with choices for each step.

Scenario 1: Hotfix Review Under Pressure

A production bug fix is ready. You need to inspect the diff, run code review, and keep sensitive data hidden because you're on a livestream.

Answer: /streamer-mode → /diff → /review @src/payment.ts

Scenario 2: Context Window Rescue

Your session is huge and model quality is dropping. Keep continuity while shrinking noise.

Answer: /context → /compact → /resume (or restart with --continue)

Scenario 3: Autonomous Refactor Sprint

You want an agent to execute a refactor with minimal prompts, but only after reviewing a plan and setting permissions.

Answer: Shift+Tab (Plan mode) → validate plan → /allow-all → execute in Autopilot mode

Scenario 4: Enterprise Onboarding

Set up custom agents, repo instructions, and MCP integration for a new team repository.

Answer: Add agent profiles to .github/agents/, verify /instructions, then /mcp add

Scenario 5: Power Editing Session

You're crafting a long prompt and need to edit quickly without losing context.

Answer: Ctrl+G (open in editor), Ctrl+A (jump to start), Ctrl+K (trim)

Scenario 6: Agent Orchestration

You're leading a complex project: understand code, run tests, refactor, then review.

Answer: explore agent (understand) → task agent (tests) → general-purpose (refactor) → code-review (verify)

Scenario 7: New Project Setup

You cloned a new repo and need to set up Copilot CLI for max productivity.

Answer: /init → /model → /mcp add (if needed) → Shift+Tab to Plan mode for first task

Scenario 8: Production Safety

Switching from boilerplate work to production deployment scripts.

Answer: /reset-allowed-tools → Plan mode → /review before every commit