跳到正文
Skillpedia
技术文档40k · #7107

cli-mastery

它能做什么

这是 GitHub Copilot CLI 工具的互动式训练工具。它通过课程、测验和挑战,教你如何使用 Copilot 的命令行功能。

适用场景

  • ✓当你想学习如何使用 Copilot CLI 时。
  • ✓当你想检验自己对 Copilot CLI 命令的掌握程度时。
  • ✓当你想通过真实的使用场景进行练习时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/cli-mastery/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/cli-mastery/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“cliexpert”

每周 5 个新技能,1 分钟读完。

工作原理

开始后,它会带你学习课程,并通过提问检查你是否理解。它还会提供实战挑战,以及所有命令的总结。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.

常见问题

什么是 Copilot CLI?

它是一个工具,让你可以直接在电脑的命令行中使用 GitHub Copilot。

什么是“斜杠命令”?

这是以正斜杠(/)开头的特殊命令,你输入它们后,Copilot CLI 就会执行特定的任务。

训练是如何进行的?

它使用经验值(XP)和等级系统来记录你的学习进度,你每完成一节课或一次测验,都会获得相应的积分。

详情

作者的原始描述

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.

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7107
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能