К основному содержанию
скилл GitHub Copilot официальный · GitHub

onboard-context-matic — скилл для GitHub Copilot: обзор и запуск

Интерактивный онбординг по MCP-серверу context-matic. Показывает список API под стек проекта, объясняет контроллеры и запускает живой поиск моделей и методов.

Установить в GitHub Copilot · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add github/awesome-copilot --skill onboard-context-matic
Открыть на GitHub

Что делает onboard-context-matic

Скилл проводит интерактивный тур по MCP-серверу context-matic. Сначала агент определяет стек по файлам вроде package.json, go.mod или pyproject.toml. Если файлов нет, по умолчанию выбирается TypeScript. Затем через инструмент fetch_api выводится каталог доступных API под найденный язык.

После выбора API скилл вызывает ask для разбора аутентификации и имен пакетов. Далее агент демонстрирует работу model_search и endpoint_search с живыми примерами методов и полей. Перед каждым вызовом инструмента агент предупреждает пользователя.

Скилл подходит для первого знакомства с возможностями сервера. Если нужна сквозная интеграция API в проект, авторы советуют брать скилл integrate-context-matic.

Какие задачи решает

  • Разобраться в возможностях MCP-сервера context-matic
  • Определить стек проекта и вывести подходящие API
  • Посмотреть структуру моделей данных через model_search
  • Найти сигнатуры методов и примеры вызовов через endpoint_search

Примеры запросов агенту

  • what can this MCP do?
  • show me the available APIs
  • give me a tour of context-matic

Как установить onboard-context-matic

1Через Skills CLI (Vercel)

npx skills add github/awesome-copilot --skill onboard-context-matic

2GitHub CLI

gh skill install github/awesome-copilot onboard-context-matic

3Вручную: положить файлы

.github/skills/onboard-context-matic/SKILL.md

Из того же набора554

Весь набор →
git-commit официальный github Скилл разбирает изменения Git, выбирает связанные файлы и создаёт коммит в формате Conventional Commits. Пригодится, когда нужно закоммитить одну или несколько логических частей изменений. GitHub Copilot 47 165установок excalidraw-diagram-generator официальный github Скилл превращает описание на обычном языке в диаграмму Excalidraw. Подойдёт, когда нужно показать процесс, связи между объектами или устройство системы. GitHub Copilot 31 639установок multi-stage-dockerfile официальный github Скилл помогает создавать многоэтапные Dockerfile для разных языков и фреймворков. Пригодится, когда важны размер и состав runtime-образа. GitHub Copilot 29 688установок documentation-writer официальный github Скилл для создания технической документации по фреймворку Diátaxis: туториалы, гайды, справки и объяснения. Предлагает структуру перед написанием. GitHub Copilot 27 757установок prd официальный github Собирает из идеи структурированный PRD с пользовательскими историями, техническими требованиями и рисками. Подходит для планирования новых функций, в том числе с AI. GitHub Copilot 24 035установок refactor официальный github Скилл помогает менять структуру кода без изменения внешнего поведения. Подойдёт для постепенной уборки сложных функций, дублирования и кодовых запахов. GitHub Copilot 22 321установок java-springboot официальный github Задаёт практики разработки Spring Boot-приложений: от структуры проекта до тестов и безопасности. Пригодится, когда Copilot пишет или проверяет Java-код. GitHub Copilot 21 272установок create-readme официальный github Скилл изучает проект и создаёт структурированный README.md. Подойдёт, когда документацию нужно собрать по коду и файлам проекта. GitHub Copilot 19 081установок

Похожие

recsys-pipeline-architect Seth Hobson Проектирует пайплайны рекомендаций, ранжирования и лент из шести этапов. Нужен, когда система выбирает top K элементов для пользователя и контекста. Claude Code CX Codex Cursor 4 200установок hermes-tweet Xquik Скилл подключает инструменты X/Twitter к Hermes Agent для чтения ленты, анализа аккаунтов и контролируемой публикации постов. Claude Code CX Codex Cursor 2 600установок sign-in-with-google-web официальный google Помогает настроить вход через Google Identity Services на вебе. Защищает токены и закрывает уязвимости авторизации по стандартам IETF. Claude Code Gemini CLI CX Codex 743установок mcp-builder официальный anthropics Скилл проводит через создание MCP-сервера на TypeScript или Python: от изучения протокола до тестов и оценки качества. Claude Code Claude.ai 130 949установок google-agents-cli-adk-code официальный Google Скилл даёт примеры и справку по Agent Development Kit: агентам, инструментам, колбэкам, состоянию и графовым workflow. Нужен при написании кода. Claude Code CX Codex Cursor +1 511 400установок lark-im larksuite Скилл подключает Lark IM к агенту: он отправляет сообщения, ищет историю, управляет чатами и файлами. Подойдёт для задач вокруг командных коммуникаций. Claude Code CX Codex Cursor +1 472 300установок lark-event larksuite Слушает события Lark/Feishu и отдаёт их потоком NDJSON. Подходит для ботов, обработчиков сообщений и долгих подписчиков. Claude Code CX Codex Cursor +1 466 200установок caveman-discover JuliusBrussee Находит точки вызова LLM в репозитории и размечает их воркфлоу для Caveman Cloud, чтобы расходы на токены не сливались в одну общую кучу. Claude Code CX Codex Cursor +1 103 500установок

Вопросы о onboard-context-matic

Как установить onboard-context-matic в GitHub Copilot?

Запустите gh skill install github/awesome-copilot onboard-context-matic или выполните команду npx skills add github/awesome-copilot --skill onboard-context-matic. Также можно скопировать файл в .github/skills/onboard-context-matic/SKILL.md.

Что делает скилл onboard-context-matic?

Он проводит демонстрацию инструментов сервера context-matic: fetch_api, ask, model_search и endpoint_search. Агент находит доступные SDK под язык вашего проекта и объясняет их использование.

Чем onboard-context-matic отличается от integrate-context-matic?

Этот скилл рассчитан только на первое знакомство и выбор API. Для полноценной реализации и внедрения готового кода интеграции авторы рекомендуют запускать integrate-context-matic.

Исходный текст

SKILL.md · MIT
---
name: onboard-context-matic
description: 'Interactive onboarding tour for the context-matic MCP server. Walks the user through what the server does, shows all available APIs, lets them pick one to explore, explains it in their project language, demonstrates model_search and endpoint_search live, and ends with a menu of things the user can ask the agent to do. USE FOR: first-time setup; "what can this MCP do?"; "show me the available APIs"; "onboard me"; "how do I use the context-matic server"; "give me a tour". DO NOT USE FOR: actually integrating an API end-to-end (use integrate-context-matic instead).'
---

# Onboarding: ContextMatic MCP

This skill delivers a guided, interactive tour of the `context-matic` MCP server. Follow every
phase in order. Stop after each interaction point and wait for the user's reply before continuing.

> **Agent conduct rules — follow throughout the entire skill:**
> - **Never narrate the skill structure.** Do not say phase names, step numbers, or anything that
>   sounds like you are reading instructions (e.g., "In Phase 1 I will…", "Step 1a:", "As per the
>   skill…"). Deliver the tour as a natural conversation.
> - **Announce every tool call before making it.** One short sentence is enough — tell the user
>   what you are about to look up and why, then call the tool. Example: *"Let me pull up the list
>   of available APIs for your project language."* This keeps the user informed and prevents
>   silent, unexplained pauses.

---

## Phase 0 — Opening statement and tool walkthrough

Begin with a brief, plain-language explanation of what the server does. Say it in your own words
based on the following facts:

> The **context-matic** MCP server solves a fundamental problem with AI-assisted coding: general
> models are trained on public code that is often outdated, incorrect, or missing entirely for newer
> SDK versions. This server acts as a **live, version-aware grounding layer**. Instead of the agent
> guessing at SDK usage from training data, it queries the server for the *exact* SDK models,
> endpoints, auth patterns, and runnable code samples that match the current API version and the
> project's programming language.

After explaining the problem the server solves, walk through each of the four tools as if
introducing them to someone using the server for the first time. For each tool, explain:
- **What it is** — give it a memorable one-line description
- **When you would use it** — a concrete, relatable scenario
- **What it gives back** — the kind of output the user will see

Use the following facts as your source, but say it conversationally — do not present a raw table:

> | Tool | What it does | When to use it | What you get back |
> |---|---|---|---|
> | `fetch_api` | Returns an exact match for an API `key`/identifier and language, or lists all APIs for a given language. The `key` is the machine-readable identifier returned by `fetch_api` (for example, `paypal`), not the human-readable display name (for example, "PayPal Server SDK"). | "What APIs can I use?" / Starting a new project / "Do you have the PayPal SDK?" | A named list of available APIs with short descriptions (full catalog), or one exact API match when you provide its identifier/key and language |
> | `ask` | Answers integration questions with version-accurate guidance and code samples | "How do I authenticate?", "Show me the quickstart", "What's the right way to do X?" | Step-by-step guidance and runnable code samples grounded in the actual SDK version |
> | `model_search` | Looks up an SDK model/object definition and its typed properties | "What fields does an Order have?", "Is this property required?" | The model's name, description, and a full typed property list (required vs. optional, nested types) |
> | `endpoint_search` | Looks up an endpoint method, its parameters, response type, and a runnable code sample | "Show me how to call createOrder", "What does getTrack return?" | Method signature, parameter types, response type, and a copy-paste-ready code sample |

End this section by telling the user that you'll demonstrate the four core discovery and
integration tools live during the tour, starting with `fetch_api` right now. Make it clear that
this tour is focused on those core ContextMatic server tools rather than every possible helper the
broader workflow might use.


---

## Phase 1 — Show available APIs

### 1a. Detect the project language

Before calling `fetch_api`, determine the project's primary language by inspecting workspace files:

- Look for `package.json` + `.ts`/`.tsx` files → `typescript`
- Look for `*.csproj` or `*.sln` → `csharp`
- Look for `requirements.txt`, `pyproject.toml`, or `*.py` → `python`
- Look for `pom.xml` or `build.gradle` → `java`
- Look for `go.mod` → `go`
- Look for `Gemfile` or `*.rb` → `ruby`
- Look for `composer.json` or `*.php` → `php`
- If no project files are found, silently fall back to `typescript`.

Store the detected language — you will pass it to every subsequent tool call.

### 1b. Fetch available APIs

Tell the user which language you detected and that you are fetching the available APIs — for
example: *"I can see this is a TypeScript project. Let me fetch the APIs available for TypeScript."*

Call **`fetch_api`** with `language` = the detected language and `key` = "" so the tool returns the full list of available APIs.

Display the results as a formatted list, showing each API's **name** and a one-sentence summary of
its **description**. Do not truncate or skip any entry.

Example display format (adapt to actual results):

```
Here are the APIs currently available through this server:

1. PayPal Server SDK   — Payments, orders, subscriptions, and vault via PayPal REST APIs.
2. Spotify Web API     — Music/podcast discovery, playback control, and library management.
....
```

---

## Phase 2 — API selection (interaction)

Ask the user:

> "Which of these APIs would you like to explore? Just say the name or the number."

**Wait for the user's reply before continuing.**

Store the chosen API's `key` value from the `fetch_api` response — you will pass it to all
subsequent tool calls. Also note the API's name for use in explanatory text.

---

## Phase 3 — Explain the chosen API

Before calling, say something like: *"Great choice — let me get an overview of [API name] for you."*

Call **`ask`** with:
- `key` = chosen API's key
- `language` = detected language
- `query` = `"Give me a high-level overview of this API: what it does, what the main controllers or
  modules are, how authentication works, and what the first step to start using it is."`

Present the response conversationally. Highlight:
- What the API can do (use cases)
- How authentication works (credentials, OAuth flows, etc.)
- The main SDK controllers or namespaces
- The NPM/pip/NuGet/etc. package name to install

---

## Phase 4 — Integration in the project language (interaction)

Ask the user:

> "Is there a specific part of the [API name] you want to learn how to use — for example,
> creating an order, searching tracks, or managing subscriptions? Or should I show you
> the complete integration quickstart?"

**Wait for the user's reply.**

Before calling, say something like: *"On it — let me look that up."* or *"Sure, let me pull up the quickstart."*

Call **`ask`** with:
- `key` = chosen API's key
- `language` = detected language
- `query` = the user's stated goal, or `"Show me a complete integration quickstart: install the
  SDK, configure credentials, and make the first API call."` if they asked for the full guide.

Present the response, including any code samples exactly as returned.

---

## Phase 5 — Demonstrate `model_search`

Tell the user:

> "Now let me show you how `model_search` works. This tool lets you look up any SDK model or
> object definition — its typed properties, which are required vs. optional, and what types they use.
> It works with partial, case-sensitive names."

Before calling, say something like: *"Let me search for the `[model name]` model so you can see what the result looks like."*

Pick a **representative model** from the chosen API (examples below) and call **`model_search`** with:
- `key` = the previously chosen API key (for example, `paypal` or `spotify`)
- `language` = the detected project language
- `query` = the representative model name you picked

| API key | Good demo query |
|---|---|
| `paypal` | `Order` |
| `spotify` | `TrackObject` |

Display the result, pointing out:
- The exact model name and its description
- A few interesting typed properties (highlight optional vs. required)
- Any nested model references (e.g., `PurchaseUnit[] | undefined`)

Tell the user:

> "You can search any model by name — partial matches work too. Try asking me to look up a
> specific model from [API name] whenever you need to know its shape."

---

## Phase 6 — Demonstrate `endpoint_search`

Tell the user:

> "Similarly, `endpoint_search` looks up any SDK method — the exact parameters, their types,
> the response type, and a fully runnable code sample you can drop straight into your project."

Before calling, say something like: *"Let me fetch the `[endpoint name]` endpoint so you can see the parameters and a live code sample."*

Pick a **representative endpoint** for the chosen API and call **`endpoint_search`** with an explicit argument object:

- `key` = the API key you are demonstrating (for example, `paypal` or `spotify`)
- `query` = the endpoint / SDK method name you want to look up (for example, `createOrder` or `getTrack`)
- `language` = the user's project language (for example, `"typescript"` or `"python"`)

For example:

| API key (`key`) | Endpoint name (`query`) | Example `language` |
|---|---|---|
| `paypal` | `createOrder` | user's project language |
| `spotify` | `getTrack`   | user's project language |
Display the result, pointing out:
- The method name and description
- The request parameters and their types
- The response type
- The full code sample (present exactly as returned)

Tell the user:

> "Notice that the code sample is ready to use — it imports from the correct SDK, initialises
> the client, calls the endpoint, and handles errors. You can search for any endpoint by its
> method name or a partial case-sensitive fragment."

---

## Phase 7 — Closing: what you can ask

End the tour with a summary list of things the user can now ask the agent to do. Present this as
a formatted menu:

---

### What you can do with this MCP

**Quickstart: your first API call**
```
/integrate-context-matic Set up the Spotify TypeScript SDK and fetch my top 5 tracks.
Show me the complete client initialization and the API call.
```
```
/integrate-context-matic How do I authenticate with the Twilio API and send an SMS?
Give me the full PHP setup including the SDK client and the send call.
```
```
/integrate-context-matic Walk me through initializing the Slack API client in a Python script and posting a message to a channel.
```

**Framework-specific integration**
```
/integrate-context-matic I'm building a Next.js app. Integrate the Google Maps Places API
to search for nearby restaurants and display them on a page. Use the TypeScript SDK.
```
```
/integrate-context-matic I'm using Laravel. Show me how to send a Twilio SMS when a user
registers. Include the PHP SDK setup, client initialization, and the controller code.
```
```
/integrate-context-matic I have an ASP.NET Core app. Add Twilio webhook handling so I can receive delivery status callbacks when an SMS is sent.
```

**Chaining tools for full integrations**
```
/integrate-context-matic I want to add real-time order shipping notifications to my
Next.js store. Use Twilio to send an SMS when the order status changes to "shipped". Show me
the full integration: SDK setup, the correct endpoint and its parameters, and the TypeScript code.
```
```
/integrate-context-matic I need to post a Slack message every time a Spotify track changes
in my playlist monitoring app. Walk me through integrating both APIs in TypeScript — start by
discovering what's available, then show me the auth setup and the exact API calls.
```
```
/integrate-context-matic In my ASP.NET Core app, I want to geocode user addresses using
Google Maps and cache the results. Look up the geocode endpoint and response model, then
generate the C# code including error handling.
```

**Debugging and error handling**
```
/integrate-context-matic My Spotify API call is returning 401. What OAuth flow should I
be using and how does the TypeScript SDK handle token refresh automatically?
```
```
/integrate-context-matic My Slack message posts are failing intermittently with rate limit
errors. How does the Python SDK expose rate limit information and what's the recommended retry
pattern?
```

---

> "That's the tour! Ask me any of the above or just tell me what you want to build — I'll
> use this server to give you accurate, version-specific guidance."

---

## Notes for the agent

- If the user picks an API that is not in the `fetch_api` results, tell them it is not currently
  available and offer to continue the tour with one that is.
- All tool calls in this skill are **read-only** — they do not modify the project, install packages,
  or write files unless the user explicitly asks you to proceed with integration.
- When showing code samples from `endpoint_search` or `ask`, present them in fenced code blocks
  with the correct language tag.

© github · MIT · github/awesome-copilot

Смотрите также

Спонсоры проекта

Компании, которые помогают держать аналитику открытой