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.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1
- Forks
- 1
01 前言 Front Matter
- name
- cli-mastery
- license
- MIT
- metadata
- { "version": "1.2.0" }
- description
- 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.
02 资源文件 12
- 参考文档references/final-exam.md1.3 KB
- 参考文档references/module-1-slash-commands.md3.6 KB
- 参考文档references/module-2-keyboard-shortcuts.md1.4 KB
- 参考文档references/module-3-modes.md1.1 KB
- 参考文档references/module-4-agents.md1.4 KB
- 参考文档references/module-5-skills.md1.1 KB
- 参考文档references/module-6-mcp.md1.4 KB
- 参考文档references/module-7-advanced.md1.6 KB
- 参考文档references/module-8-configuration.md1.3 KB
- 参考文档references/scenarios.md1.9 KB
- 脚本scripts/probe_antigravity_models.py7.5 KB
- 脚本scripts/scrape_antigravity_app.py4.7 KB
03 SKILL.md 正文
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.
04 同仓库更多 Skills
refactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
prd
Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.
git-commit
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use when user asks to commit changes, create a git commit, or mentions "/commit". Supports: (1) Auto-detecting type and scope from changes, (2) Generating conventional commit messages from diff, (3) Interactive commit with optional type/scope/description overrides, (4) Intelligent file staging for logical grouping