Chuyển đến nội dung
Skillpedia
Agent40k · #7292

microsoft-skill-creator

Skill này làm gì

Công cụ này giúp tạo 'skill' (bộ hướng dẫn) cho agent AI về các công nghệ của Microsoft. Nó lưu kiến thức cốt lõi trên máy và lấy thêm chi tiết khi cần.

Khi nào nên dùng

  • ✓Khi bạn muốn dạy một agent AI về một công nghệ cụ thể của Microsoft.
  • ✓Khi bạn muốn tạo một hướng dẫn tham khảo nhanh cho một dịch vụ hoặc công cụ của Microsoft.
  • ✓Khi bạn phát triển một agent AI cần tương tác với API hoặc thư viện của Microsoft.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/microsoft-skill-creator/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/microsoft-skill-creator/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

“Tạo một skill cho agent AI về cách dùng Azure Functions bằng Python.”

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

Cách hoạt động

Công cụ dùng các 'Learn MCP' để tìm kiếm và thu thập thông tin về công nghệ đó. Nó quyết định phần nào sẽ lưu cục bộ và phần nào sẽ lấy động khi cần để trả lời câu hỏi.

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.

Microsoft Skill Creator

Create hybrid skills for Microsoft technologies that store essential knowledge locally while enabling dynamic Learn MCP lookups for deeper details.

About Skills

Skills are modular packages that extend agent capabilities with specialized knowledge and workflows. A skill transforms a general-purpose agent into a specialized one for a specific domain.

Skill Structure

skill-name/
├── SKILL.md (required)     # Frontmatter (name, description) + instructions
├── references/             # Documentation loaded into context as needed
├── sample_codes/           # Working code examples
└── assets/                 # Files used in output (templates, etc.)

Key Principles

  • Frontmatter is critical: name and description determine when the skill triggers—be clear and comprehensive
  • Concise is key: Only include what agents don't already know; context window is shared
  • No duplication: Information lives in SKILL.md OR reference files, not both

Learn MCP Tools

Tool Purpose When to Use
microsoft_docs_search Search official docs First pass discovery, finding topics
microsoft_docs_fetch Get full page content Deep dive into important pages
microsoft_code_sample_search Find code examples Get implementation patterns

CLI Alternative

If the Learn MCP server is not available, use the mslearn CLI from a terminal or shell (for example, Bash, PowerShell, or cmd) instead:

# Run directly (no install needed)
npx @microsoft/learn-cli search "semantic kernel overview"

# Or install globally, then run
npm install -g @microsoft/learn-cli
mslearn search "semantic kernel overview"
MCP Tool CLI Command
microsoft_docs_search(query: "...") mslearn search "..."
microsoft_code_sample_search(query: "...", language: "...") mslearn code-search "..." --language ...
microsoft_docs_fetch(url: "...") mslearn fetch "..."

Generated skills should include this same CLI fallback table so agents can use either path.

Creation Process

Step 1: Investigate the Topic

Build deep understanding using Learn MCP tools in three phases:

Phase 1 - Scope Discovery:

microsoft_docs_search(query="{technology} overview what is")
microsoft_docs_search(query="{technology} concepts architecture")
microsoft_docs_search(query="{technology} getting started tutorial")

Phase 2 - Core Content:

microsoft_docs_fetch(url="...")  # Fetch pages from Phase 1
microsoft_code_sample_search(query="{technology}", language="{lang}")

Phase 3 - Depth:

microsoft_docs_search(query="{technology} best practices")
microsoft_docs_search(query="{technology} troubleshooting errors")

Investigation Checklist

After investigating, verify:

  • Can explain what the technology does in one paragraph
  • Identified 3-5 key concepts
  • Have working code for basic usage
  • Know the most common API patterns
  • Have search queries for deeper topics

Step 2: Clarify with User

Present findings and ask:

  1. "I found these key areas: [list]. Which are most important?"
  2. "What tasks will agents primarily perform with this skill?"
  3. "Which programming language should code samples prioritize?"

Step 3: Generate the Skill

Use the appropriate template from skill-templates.md:

Technology Type Template
Client library, NuGet/npm package SDK/Library
Azure resource Azure Service
App development framework Framework/Platform
REST API, protocol API/Protocol

Generated Skill Structure

{skill-name}/
├── SKILL.md                    # Core knowledge + Learn MCP guidance
├── references/                 # Detailed local documentation (if needed)
└── sample_codes/               # Working code examples
    ├── getting-started/
    └── common-patterns/

Step 4: Balance Local vs Dynamic Content

Store locally when:

  • Foundational (needed for any task)
  • Frequently accessed
  • Stable (won't change)
  • Hard to find via search

Keep dynamic when:

  • Exhaustive reference (too large)
  • Version-specific
  • Situational (specific tasks only)
  • Well-indexed (easy to search)

Content Guidelines

Content Type Local Dynamic
Core concepts (3-5) ✅ Full
Hello world code ✅ Full

…

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

“Skill” là gì?

Skill giống như các mô-đun cung cấp kiến thức chuyên biệt cho một agent AI, biến nó từ chung chung thành chuyên sâu trong một lĩnh vực.

“Learn MCP” là gì?

Đây là các công cụ của Microsoft để tìm kiếm và thu thập thông tin từ tài liệu chính thức, ví dụ mã và các nguồn khác, dùng để xây dựng kiến thức cho skill.

Skill biết khi nào cần tìm thêm thông tin bằng cách nào?

Skill được cấu hình để lưu thông tin cơ bản trên máy và dùng các công cụ 'Learn MCP' để tìm chi tiết cụ thể hơn hoặc cập nhật hơn khi một câu hỏi cần.

Chi tiết

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

Create agent skills for Microsoft technologies using Learn MCP tools. Use when users want to create a skill that teaches agents about any Microsoft technology, library, framework, or service (Azure, .NET, M365, VS Code, Bicep, etc.). Investigates topics deeply, then generates a hybrid skill storing essential knowledge locally while enabling dynamic deeper investigation.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7292
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ự