|
2 | 2 | name: microsoft-skill-creator |
3 | 3 | description: 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. |
4 | 4 | context: fork |
5 | | -compatibility: Requires Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp) |
| 5 | +compatibility: Works best with Microsoft Learn MCP Server (https://learn.microsoft.com/api/mcp). Can also use the mslearn CLI as a fallback. |
6 | 6 | --- |
7 | 7 |
|
8 | 8 | # Microsoft Skill Creator |
@@ -37,6 +37,27 @@ skill-name/ |
37 | 37 | | `microsoft_docs_fetch` | Get full page content | Deep dive into important pages | |
38 | 38 | | `microsoft_code_sample_search` | Find code examples | Get implementation patterns | |
39 | 39 |
|
| 40 | +### CLI Alternative |
| 41 | + |
| 42 | +If the Learn MCP server is not available, use the `mslearn` CLI via Bash instead: |
| 43 | + |
| 44 | +```bash |
| 45 | +# Run directly (no install needed) |
| 46 | +npx @microsoft/learn-cli search "semantic kernel overview" |
| 47 | + |
| 48 | +# Or install globally, then run |
| 49 | +npm install -g @microsoft/learn-cli |
| 50 | +mslearn search "semantic kernel overview" |
| 51 | +``` |
| 52 | + |
| 53 | +| MCP Tool | CLI Command | |
| 54 | +|----------|-------------| |
| 55 | +| `microsoft_docs_search(query: "...")` | `mslearn search "..."` | |
| 56 | +| `microsoft_code_sample_search(query: "...", language: "...")` | `mslearn code-search "..." --language ...` | |
| 57 | +| `microsoft_docs_fetch(url: "...")` | `mslearn fetch "..."` | |
| 58 | + |
| 59 | +Generated skills should include this same CLI fallback table so agents can use either path. |
| 60 | + |
40 | 61 | ## Creation Process |
41 | 62 |
|
42 | 63 | ### Step 1: Investigate the Topic |
@@ -214,4 +235,16 @@ See [getting-started/hello-kernel.cs](sample_codes/getting-started/hello-kernel. |
214 | 235 | | Plugin development | `microsoft_docs_search(query="semantic kernel plugins custom functions")` | |
215 | 236 | | Planners | `microsoft_docs_search(query="semantic kernel planner")` | |
216 | 237 | | Memory | `microsoft_docs_fetch(url="https://learn.microsoft.com/en-us/semantic-kernel/frameworks/agent/agent-memory")` | |
| 238 | + |
| 239 | +## CLI Alternative |
| 240 | + |
| 241 | +If the Learn MCP server is not available, use the `mslearn` CLI instead: |
| 242 | + |
| 243 | +| MCP Tool | CLI Command | |
| 244 | +|----------|-------------| |
| 245 | +| `microsoft_docs_search(query: "...")` | `mslearn search "..."` | |
| 246 | +| `microsoft_code_sample_search(query: "...", language: "...")` | `mslearn code-search "..." --language ...` | |
| 247 | +| `microsoft_docs_fetch(url: "...")` | `mslearn fetch "..."` | |
| 248 | + |
| 249 | +Run directly with `npx @microsoft/learn-cli <command>` or install globally with `npm install -g @microsoft/learn-cli`. |
217 | 250 | ``` |
0 commit comments