mcpField
C
cli-mastery

cli-mastery

github.com/githubAgent workflows40.5k2.1k installsUpdated 1d ago
Repository

About cli-mastery

An interactive learning skill for Copilot CLI users, with modular lessons, quizzes, and scenario challenges. It tracks progress and XP as learners study CLI commands and slash commands.

Key features

  1. 01Teaches CLI modules
  2. 02Offers quizzes and scenario challenges
  3. 03Provides on-demand reference summaries
  4. 04Tracks XP and module progress

Use cases

  1. 01Learn Copilot CLI commands
  2. 02Practice knowledge of slash commands
  3. 03Review with scenarios or the final exam

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/github/awesome-copilot --skill cli-mastery

After installing, type/cli-masteryin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
module-4-agents.md
module-8-configuration.md
module-1-slash-commands.md
module-5-skills.md
module-3-modes.md
module-2-keyboard-shortcuts.md
module-7-advanced.md
scenarios.md
final-exam.md
module-6-mcp.md

Details

From the project README

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

TriggerAction
"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.

Comments

Markdown supported