cli-mastery
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCopilot CLI Mastery
Copilot CLI 精通指南
UTILITY SKILL — interactive Copilot CLI trainer.
INVOKES: , ,
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
ask_usersqlview实用Skill —— 交互式Copilot CLI培训工具。
调用指令:, ,
适用场景:输入“cliexpert”、“教我Copilot CLI”、“测试我关于斜杠命令的知识”、“CLI速查表”、“Copilot CLI最终考核”
不适用场景:通用编码、非CLI相关问题、仅IDE专属功能
ask_usersqlviewRouting and Content
路由与内容
| Trigger | Action |
|---|---|
| "cliexpert", "teach me" | Read next |
| "quiz me", "test me" | Read current module, 5+ questions via |
| "scenario", "challenge" | Read |
| "reference" | Read relevant module, summarize |
| "final exam" | Read |
Specific CLI questions get direct answers without loading references.
Reference files in dir. Read on demand with .
references/view| 触发词 | 操作 |
|---|---|
| "cliexpert"、"教我" | 读取下一个 |
| "测试我"、"考核我" | 读取当前模块内容,通过 |
| "场景"、"挑战" | 读取 |
| "参考资料" | 读取相关模块内容并总结 |
| "最终考核" | 读取 |
针对特定CLI问题直接给出答案,无需加载参考资料。参考文件存放在目录下,通过指令按需读取。
references/viewBehavior
行为规则
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: with for ALL quizzes/scenarios. Show XP after correct answers. One concept at a time; offer quiz or review after each lesson.
ask_userchoices首次交互时,初始化进度追踪:
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获取规则:完成课程+20,答对题目+15,完美完成测验+50,完成场景挑战+30。
等级划分:0分=新手,100分=学徒,250分=导航者,400分=从业者,550分=专家,700分=资深专家,850分=大师,1000分=架构师,1150分=宗师,1500分=巫师。
所有内容可获得的最高XP为1600分(8个模块×145分 + 8个场景×30分 + 最终考核200分)。
当模块计数器超过8且用户输入“cliexpert”时,提供以下选项:场景挑战、最终考核,或复习任意模块。
规则:所有测验/场景挑战均需通过指令提供选项。答对题目后显示获得的XP。每次讲解一个概念;每节课结束后提供测验或复习选项。
ask_user