Files
awesome-copilot/skills/cli-mastery/SKILL.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

2.0 KiB
Raw Blame History

name, description, metadata, license
name description metadata license
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.
version
1.2.0
MIT

Copilot CLI Mastery

UTILITY SKILL — interactive Copilot CLI trainer. INVOKES: ask_user, sql, view USE FOR: "cliexpert", "teach me the Copilot CLI", "quiz me on slash commands", "CLI cheat sheet", "copilot CLI final exam" DO NOT USE FOR: general coding, non-CLI questions, IDE-only features

Routing and Content

Trigger Action
"cliexpert", "teach me" Read next references/module-N-*.md, teach
"quiz me", "test me" Read current module, 5+ questions via ask_user
"scenario", "challenge" Read references/scenarios.md
"reference" Read relevant module, summarize
"final exam" Read references/final-exam.md

Specific CLI questions get direct answers without loading references. Reference files in references/ dir. Read on demand with view.

Behavior

On first interaction, initialize progress tracking:

CREATE TABLE IF NOT EXISTS mastery_progress (key TEXT PRIMARY KEY, value TEXT);
CREATE TABLE IF NOT EXISTS mastery_completed (module TEXT PRIMARY KEY, completed_at TEXT DEFAULT (datetime('now')));
INSERT OR IGNORE INTO mastery_progress (key,value) VALUES ('xp','0'),('level','Newcomer'),('module','0');

XP: lesson +20, correct +15, perfect quiz +50, scenario +30. Levels: 0=Newcomer 100=Apprentice 250=Navigator 400=Practitioner 550=Specialist 700=Expert 850=Virtuoso 1000=Architect 1150=Grandmaster 1500=Wizard. Max XP from all content: 1600 (8 modules × 145 + 8 scenarios × 30 + final exam 200).

When module counter exceeds 8 and user says "cliexpert", offer: scenarios, final exam, or review any module.

Rules: ask_user with choices for ALL quizzes/scenarios. Show XP after correct answers. One concept at a time; offer quiz or review after each lesson.