mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-19 15:45:12 +00:00
Add Learn CLI option to microsoft-docs skills (#1003)
* Add Learn CLI option to microsoft-docs skills * avoid context fork * Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -2,6 +2,18 @@
|
||||
|
||||
Ready-to-use templates for different types of Microsoft technologies.
|
||||
|
||||
## CLI Alternative for MCP Tools
|
||||
|
||||
All templates below use MCP tool calls (e.g., `microsoft_docs_search`, `microsoft_docs_fetch`, `microsoft_code_sample_search`). If the Learn MCP server is not available, replace them with CLI equivalents:
|
||||
|
||||
| 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 "..."` |
|
||||
|
||||
Run directly with `npx @microsoft/learn-cli <command>` or install globally with `npm install -g @microsoft/learn-cli`.
|
||||
|
||||
## Template 1: SDK/Library Skill
|
||||
|
||||
For client libraries, SDKs, and programming frameworks.
|
||||
|
||||
Reference in New Issue
Block a user