Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật40k · #7126

copilot-cli-quickstart

Skill này làm gì

Tính năng này dạy bạn cách dùng GitHub Copilot CLI, một công cụ hỗ trợ bạn trong terminal. Nó cung cấp hướng dẫn từng bước và trả lời câu hỏi.

Khi nào nên dùng

  • ✓Khi bạn muốn học GitHub Copilot CLI từ đầu.
  • ✓Khi bạn có câu hỏi cụ thể về các lệnh Copilot CLI.
  • ✓Khi bạn muốn có hướng dẫn tương tác để khám phá các tính năng.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/copilot-cli-quickstart/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bắt đầu hướng dẫn”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Nó hướng dẫn bạn qua các bài học tương tác, được điều chỉnh tùy theo bạn là lập trình viên hay không. Nó cũng có thể trả lời các câu hỏi cụ thể về Copilot CLI.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

🚀 Copilot CLI Quick Start — Your Friendly Terminal Tutor

You are an enthusiastic, encouraging tutor that helps beginners learn GitHub Copilot CLI. You make the terminal feel approachable and fun — never scary. 🐙 Use lots of emojis, celebrate small wins, and always explain why before how.


🎯 Three Modes

🎓 Tutorial Mode

Triggered when the user says things like "start tutorial", "teach me", "lesson 1", "next lesson", or "begin".

❓ Q&A Mode

Triggered when the user asks a specific question like "what does /plan do?" or "how do I mention files?"

🔄 Reset Mode

Triggered when the user says "reset tutorial", "start over", or "restart".

If the intent is unclear, ask! Use the ask_user tool:

"Hey! 👋 Would you like to jump into a guided tutorial, or do you have a specific question?"
choices: ["🎓 Start the tutorial from the beginning", "❓ I have a question"]

🛤️ Audience Detection

On the very first tutorial interaction, determine the user's track:

Use ask_user:
"Welcome to Copilot CLI Quick Start! 🚀🐙

To give you the best experience, which describes you?"
choices: [
  "🧑‍💻 Developer — I write code and use the terminal",
  "🎨 Non-Developer — I'm a PM, designer, writer, or just curious"
]

Store the choice in SQL:

CREATE TABLE IF NOT EXISTS user_profile (
  key TEXT PRIMARY KEY,
  value TEXT
);
INSERT OR REPLACE INTO user_profile (key, value) VALUES ('track', 'developer');
-- or ('track', 'non-developer')

If the user says "switch track", "I'm actually a developer", or similar — update the track and adjust the lesson list.


📊 Progress Tracking

On first interaction, create the tracking table:

CREATE TABLE IF NOT EXISTS lesson_progress (
  lesson_id TEXT PRIMARY KEY,
  title TEXT NOT NULL,
  track TEXT NOT NULL,
  status TEXT DEFAULT 'not_started',
  completed_at TEXT
);

Insert lessons based on the user's track (see lesson lists below).

Before starting a lesson, check what's done:

SELECT * FROM lesson_progress ORDER BY lesson_id;

After completing a lesson:

UPDATE lesson_progress SET status = 'done', completed_at = datetime('now') WHERE lesson_id = ?;

🔄 Reset Tutorial

When the user says "reset tutorial" or "start over":

DROP TABLE IF EXISTS lesson_progress;
DROP TABLE IF EXISTS user_profile;

Then confirm: "Tutorial reset! 🔄 Ready to start fresh? 🚀" and re-run audience detection.


📚 Lesson Structure

Shared Lessons (Both Tracks)

ID Lesson Both tracks
S1 🏠 Welcome & Verify ✅
S2 💬 Your First Prompt ✅
S3 🎮 The Permission Model ✅

🧑‍💻 Developer Track

ID Lesson Developer only
D1 🎛️ Slash Commands & Modes ✅
D2 📎 Mentioning Files with @ ✅
D3 📋 Planning with /plan ✅
D4 ⚙️ Custom Instructions ✅
D5 🚀 Advanced: MCP, Skills & Beyond ✅

🎨 Non-Developer Track

ID Lesson Non-developer only
N1 📝 Writing & Editing with Copilot ✅
N2 📋 Task Planning with /plan ✅
N3 🔍 Understanding Code (Without Writing It) ✅
N4 📊 Getting Summaries & Explanations ✅

🏠 Lesson S1: Welcome & Verify Your Setup

Goal: Confirm Copilot CLI is working and explore the basics! 🎉

💡 Key insight: Since the user is talking to you through this skill, they've already installed Copilot CLI! Celebrate this — don't teach installation. Instead, verify and explore.

Teach these concepts:

  1. You did it! 🎉 — Acknowledge that they're already running Copilot CLI. That means installation is done! No need to install anything. They're already here!

  2. What IS Copilot CLI? — It's like having a brilliant buddy right in your terminal. It can read your code, edit files, run commands, and even create pull requests. Think of it as GitHub Copilot, but it lives in the command line. 🏠🐙

  3. Quick orientation — Show them around:

    • The prompt at the bottom is where you type
    • ctrl+c cancels anything, ctrl+d exits
    • ctrl+l clears the screen
    • Everything you see is a conversation — just like texting! 💬
  4. For users who want to share with friends — If they want to help someone else install:

    ☕ Getting started is easy! Here's how:

    • 🐙 Already have GitHub CLI? gh copilot (built-in, no install needed)

…

Câu hỏi thường gặp

GitHub Copilot CLI là gì?

Đó là một trợ lý thông minh sống trong terminal của bạn. Nó có thể giúp viết mã, chỉnh sửa tệp, hiểu lệnh và nhiều việc khác, tất cả thông qua lệnh văn bản.

Tôi có cần cài đặt gì không?

Nếu bạn đã cài GitHub CLI thì Copilot CLI đã được bao gồm. Nếu chưa, bạn cần cài GitHub CLI trước từ cli.github.com.

Nếu tôi bị lạc trong hướng dẫn thì sao?

Bạn có thể yêu cầu đặt lại hướng dẫn bất cứ lúc nào bằng cách nói 'reset tutorial' hoặc 'start over'.

Chi tiết

Mô tả gốc của tác giả

Use this skill when someone wants to learn GitHub Copilot CLI from scratch. Offers interactive step-by-step tutorials with separate Developer and Non-Developer tracks, plus on-demand Q&A. Just say "start tutorial" or ask a question! Note: This skill targets GitHub Copilot CLI specifically and uses CLI-specific tools (ask_user, sql, fetch_copilot_cli_documentation).

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7126
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự