MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Cli-Mastery

Cli-Mastery是一款productivity方向的AI技能,核心价值是Interactive training for the GitHub Copilot CLI,可用于解决开发者在productivity领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

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. S

Last verified on: 2026-05-30
mkdir -p ./skills/cli-mastery && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/cli-mastery/SKILL.md -o ./skills/cli-mastery/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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:

sql
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.

🎯 Best For

  • UI designers
  • Product designers
  • Claude users
  • GitHub Copilot users
  • Knowledge workers

💡 Use Cases

  • Generating component mockups
  • Creating design system tokens
  • Using Cli-Mastery in daily workflow
  • Automating repetitive productivity tasks

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Cli-Mastery to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Does this work with Figma?

Some design skills integrate with Figma plugins. Check the Works With section for supported tools.

How do I install Cli-Mastery?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/cli-mastery/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping usability testing

AI-generated designs should be validated with real users before development.

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills