Files
awesome-copilot/skills/cli-mastery/references/scenarios.md
Gregg Cochran febaf64d94 feat: add cli-mastery skill — interactive Copilot CLI training (#915)
* feat: add cli-mastery skill — interactive Copilot CLI training

Adds cli-mastery, an interactive training system for the GitHub Copilot CLI.
8 modules covering slash commands, keyboard shortcuts, modes, agents, skills,
MCP, configuration, and advanced techniques. Includes scenario challenges,
a final exam, XP/leveling system, and SQL-based progress tracking.

Source: https://github.com/DUBSOpenHub/copilot-cli-mastery (MIT)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: address review feedback on frontmatter and consistency

- Switch description from folded block scalar (>) to single-quoted string
  per AGENTS.md documented format
- Fix Module 7 heading: backtick-wrap @ separately from 'file mentions'
  to avoid implying '@ file mentions' is a literal command
- Fix Final Exam Q6: change '@ + filename' to '@filename' with example
  to match the @src/auth.ts syntax taught in modules
- Fix Final Exam Q7: add GEMINI.md to match Module 7 precedence list

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: rename curriculum/ to references/ per agentskills.io spec

Addresses review feedback from @aaronpowell on PR #915.
The Agent Skills specification defines references/ as the standard
directory for supplementary documentation that agents read on demand.

- Renamed skills/cli-mastery/curriculum/ → references/
- Updated all path references in SKILL.md
- Updated asset paths in docs/README.skills.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: DUBSOpenHub <DUBSOpenHub@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 15:49:23 +11:00

45 lines
1.9 KiB
Markdown

# 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