cli-mastery

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Copilot CLI Mastery

Copilot CLI 精通指南

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
实用Skill —— 交互式Copilot CLI培训工具。 调用指令:
ask_user
,
sql
,
view
适用场景:输入“cliexpert”、“教我Copilot CLI”、“测试我关于斜杠命令的知识”、“CLI速查表”、“Copilot CLI最终考核” 不适用场景:通用编码、非CLI相关问题、仅IDE专属功能

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
.
触发词操作
"cliexpert"、"教我"读取下一个
references/module-N-*.md
文件,进行教学
"测试我"、"考核我"读取当前模块内容,通过
ask_user
提出5道以上问题
"场景"、"挑战"读取
references/scenarios.md
文件
"参考资料"读取相关模块内容并总结
"最终考核"读取
references/final-exam.md
文件
针对特定CLI问题直接给出答案,无需加载参考资料。参考文件存放在
references/
目录下,通过
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.
首次交互时,初始化进度追踪:
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”时,提供以下选项:场景挑战、最终考核,或复习任意模块。
规则:所有测验/场景挑战均需通过
ask_user
指令提供选项。答对题目后显示获得的XP。每次讲解一个概念;每节课结束后提供测验或复习选项。