Copilot CLI mastery
Teach GitHub Copilot CLI one module at a time, track progress and XP, and load bundled lesson, quiz, scenario, reference, or final-exam material only when the user's trigger requires it. This remains a UTILITY SKILL; INVOKES are limited to the training workflow, and quiz routing covers quizzes/scenarios..
When to invoke
- "cliexpert"
- "Teach me the GitHub Copilot CLI."
- "Quiz me on slash commands."
- "Give me a Copilot CLI scenario challenge."
- "Show me a CLI cheat sheet or final exam."
Prerequisites and context
- This is a utility skill for interactive Copilot CLI training, not general coding help or IDE-only features.
- Use
ask_user with choices for all quizzes and scenarios when an interactive user is available.
- Use
sql to persist progress in the session database.
- Use
view to read bundled references/ modules on demand.
Routing and content
| Trigger |
Action |
cliexpert, teach me |
Read the next references/module-N-*.md and teach one concept. |
quiz me, test me |
Read the current module and ask at least 5 questions via ask_user. |
scenario, challenge |
Read references/scenarios.md and run one scenario with choices. |
reference |
Read the relevant module and summarize directly. |
final exam |
Read references/final-exam.md and administer the exam. |
Answer specific GitHub Copilot CLI questions directly when the answer does not require loading a full module.
Progress model
Initialize progress on first interaction:
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');
| Event |
XP |
| Lesson completed |
+20 |
| Correct answer |
+15 |
| Perfect quiz |
+50 |
| Scenario completed |
+30 |
| Final exam |
up to 200 |
| XP |
Level |
| 0 |
Newcomer |
| 100 |
Apprentice |
| 250 |
Navigator |
| 400 |
Practitioner |
| 550 |
Specialist |
| 700 |
Expert |
| 850 |
Virtuoso |
| 1000 |
Architect |
| 1150 |
Grandmaster |
| 1500 |
Wizard |
Maximum XP from all content is 1600: 8 modules × 145, 8 scenarios × 30, and final exam 200.
Teaching behavior
- Teach one concept at a time, then offer quiz, review, or next lesson.
- Show XP after each correct answer.
- When the module counter exceeds 8 and the user says
cliexpert, offer scenarios, final exam, or review any module.
- Keep module progress aligned with completion records in
mastery_completed.
- Do not use this skill for general coding, non-CLI questions, or IDE-only features.
Progressive disclosure and bundled resources
references/module-1-slash-commands.md
references/module-2-keyboard-shortcuts.md
references/module-3-modes.md
references/module-4-agents.md
references/module-5-skills.md
references/module-6-mcp.md
references/module-7-advanced.md
references/module-8-configuration.md
references/scenarios.md
references/final-exam.md
Read only the module or exercise file needed for the current trigger.
Output template
## Copilot CLI mastery session
**Status:** lesson | quiz | scenario | reference | final exam | complete
**Module:** `<number and title>`
**Level:** `<level>`
**XP:** `<current>/<next threshold or max>`
### Content
<one concept, quiz question with choices, scenario, or reference answer>
### Next choices
- `<continue lesson>`
- `<quiz me>`
- `<review module>`
- `<scenario/final exam when eligible>`
Quality gate
1---2name: cli-mastery3description: Interactive training for the GitHub Copilot CLI through guided lessons, quizzes, scenario challenges, a final exam, and on-demand reference for slash commands, shortcuts, modes, agents, skills, MCP, and configuration. Use when the user says "cliexpert", asks to learn the Copilot CLI, wants a quiz, scenario, challenge, cheat sheet, or final exam.4license: MIT5---67<!-- Generated from harness/github-copilot/skills/cli-mastery/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->89# Copilot CLI mastery1011Teach GitHub Copilot CLI one module at a time, track progress and XP, and load bundled lesson, quiz, scenario, reference, or final-exam material only when the user's trigger requires it. This remains a UTILITY SKILL; INVOKES are limited to the training workflow, and quiz routing covers `quizzes/scenarios.`.1213## When to invoke1415- "cliexpert"16- "Teach me the GitHub Copilot CLI."17- "Quiz me on slash commands."18- "Give me a Copilot CLI scenario challenge."19- "Show me a CLI cheat sheet or final exam."2021## Prerequisites and context2223- This is a utility skill for interactive Copilot CLI training, not general coding help or IDE-only features.24- Use `ask_user` with `choices` for all quizzes and scenarios when an interactive user is available.25- Use `sql` to persist progress in the session database.26- Use `view` to read bundled `references/` modules on demand.2728## Routing and content2930| Trigger | Action |31| --- | --- |32| `cliexpert`, `teach me` | Read the next `references/module-N-*.md` and teach one concept. |33| `quiz me`, `test me` | Read the current module and ask at least 5 questions via `ask_user`. |34| `scenario`, `challenge` | Read `references/scenarios.md` and run one scenario with choices. |35| `reference` | Read the relevant module and summarize directly. |36| `final exam` | Read `references/final-exam.md` and administer the exam. |3738Answer specific GitHub Copilot CLI questions directly when the answer does not require loading a full module.3940## Progress model4142Initialize progress on first interaction:4344```sql45CREATE TABLE IF NOT EXISTS mastery_progress (key TEXT PRIMARY KEY, value TEXT);46CREATE TABLE IF NOT EXISTS mastery_completed (module TEXT PRIMARY KEY, completed_at TEXT DEFAULT (datetime('now')));47INSERT OR IGNORE INTO mastery_progress (key,value) VALUES ('xp','0'),('level','Newcomer'),('module','0');48```4950| Event | XP |51| --- | --- |52| Lesson completed | +20 |53| Correct answer | +15 |54| Perfect quiz | +50 |55| Scenario completed | +30 |56| Final exam | up to 200 |5758| XP | Level |59| --- | --- |60| 0 | Newcomer |61| 100 | Apprentice |62| 250 | Navigator |63| 400 | Practitioner |64| 550 | Specialist |65| 700 | Expert |66| 850 | Virtuoso |67| 1000 | Architect |68| 1150 | Grandmaster |69| 1500 | Wizard |7071Maximum XP from all content is 1600: 8 modules × 145, 8 scenarios × 30, and final exam 200.7273## Teaching behavior7475- Teach one concept at a time, then offer quiz, review, or next lesson.76- Show XP after each correct answer.77- When the module counter exceeds 8 and the user says `cliexpert`, offer scenarios, final exam, or review any module.78- Keep module progress aligned with completion records in `mastery_completed`.79- Do not use this skill for general coding, non-CLI questions, or IDE-only features.8081## Progressive disclosure and bundled resources8283- `references/module-1-slash-commands.md`84- `references/module-2-keyboard-shortcuts.md`85- `references/module-3-modes.md`86- `references/module-4-agents.md`87- `references/module-5-skills.md`88- `references/module-6-mcp.md`89- `references/module-7-advanced.md`90- `references/module-8-configuration.md`91- `references/scenarios.md`92- `references/final-exam.md`9394Read only the module or exercise file needed for the current trigger.9596## Output template9798```markdown99## Copilot CLI mastery session100101**Status:** lesson | quiz | scenario | reference | final exam | complete102**Module:** `<number and title>`103**Level:** `<level>`104**XP:** `<current>/<next threshold or max>`105106### Content107<one concept, quiz question with choices, scenario, or reference answer>108109### Next choices110- `<continue lesson>`111- `<quiz me>`112- `<review module>`113- `<scenario/final exam when eligible>`114```115116## Quality gate117118- [ ] The trigger was routed to the correct reference file or answered directly for a specific CLI question.119- [ ] Progress tables exist before XP or module state is read or written.120- [ ] Quizzes and scenarios use `ask_user` with `choices` when interaction is available.121- [ ] XP changes follow the defined values and the level is recalculated correctly.122- [ ] Only one concept, question, or scenario step is presented at a time.123- [ ] The response offers the next learner action after each lesson or assessment step.