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

integrate-context-matic — скилл для GitHub Copilot

Скилл помогает находить сторонние API и подключать их SDK через context-matic MCP-сервер. Подойдёт для задач с внешними API.

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

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

Скилл ведёт интеграцию внешнего API по шагам: сначала определяет основной язык проекта и проверяет нужные правила и скиллы, затем ищет API через fetch_api. После этого агент получает советы через ask, а сведения о моделях и методах SDK — через model_search и endpoint_search.

В процессе учитываются реальные этапы интеграции: установка SDK, настройка авторизации и первый вызов API. Для каждого этапа используется update_activity, а ошибки фиксируются отдельно после сбоя и его исправления. Для поиска нужен ключ API или его название, а язык проекта передаётся в инструменты.

Ставьте скилл, если GitHub Copilot должен работать с внешними API и SDK по описанному сценарию. Для обычного кода без сторонних интеграций он не нужен.

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

  • найти подходящий SDK для стороннего API
  • подобрать способ авторизации через API
  • уточнить модели и методы SDK
  • добавить первый вызов внешнего API
  • отследить этапы интеграции и ошибки

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

  • Интегрируй PayPal в этот проект и сначала найди подходящий SDK.
  • Проверь, как авторизоваться в Twilio и создать нужный вызов API.
  • Найди модель `availableBalance` и метод `get_account_balance` для выбранного SDK.

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

1Через Skills CLI (Vercel)

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

2GitHub CLI

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

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

.github/skills/integrate-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установок

Похожие

file-conversion Seth Hobson Конвертирует локальные медиафайлы, документы и таблицы без отправки во внешние API. Работает через FFmpeg, ImageMagick, Pandoc и LibreOffice. Claude Code CX Codex Cursor 3 100установок before-you-build bin1874 Скилл проверяет продуктовую идею или крупную фичу до разработки. Он помогает найти главный риск и выбрать малый шаг для проверки. Claude Code CX Codex Cursor 3 100установок ai-debt-detector Adit Jain Скилл проверяет код после генерации ИИ и ищет скрытые ошибки: пропущенную обработку сбоев, утечки ресурсов, лишние зависимости и архитектурный дрейф. Claude Code CX Codex Cursor 2 900установок visual-edit-precision Adit Jain Скилл для целевых изменений UI, когда вы показываете элементы на скриншоте или указываете их прямо в коде. Меняет только то, что вы выделили, без рефакторинга всего компонента. Claude Code CX Codex Cursor 2 800установок session-guard Adit Jain Скилл следит за длинными сессиями и дрейфом правил агента. Подходит для многошаговых задач и работы после сжатия контекста. Claude Code CX Codex Cursor 2 800установок cloud-trace-querying официальный google Скилл ищет спаны Cloud Trace, связывает трассировки с Cloud Logging и помогает разбирать задержки в сервисах Google Cloud. Claude Code Gemini CLI CX Codex 835установок find-skills vercel-labs Ищет и устанавливает готовые скиллы для ИИ-агентов через каталог skills.sh. Пригодится, когда для рабочей задачи нужен специализированный воркфлоу. Claude Code CX Codex Cursor +1 4 000 000установок frontend-design официальный anthropics Скилл задаёт осмысленное визуальное направление для новых интерфейсов и редизайна. Подойдёт, когда стандартный шаблонный UI не устраивает. Claude Code Claude.ai 1 025 790установок

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

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

Выполните npx skills add github/awesome-copilot --skill integrate-context-matic. Файл скилла появится по пути .github/skills/integrate-context-matic/SKILL.md.

Что делает integrate-context-matic?

Он помогает GitHub Copilot найти сторонний API, получить рекомендации по интеграции и изучить модели и методы его SDK через context-matic MCP-сервер.

Какие инструменты использует integrate-context-matic?

Для поиска API используется fetch_api, для рекомендаций — ask, для сведений о моделях и методах — model_search и endpoint_search. Этапы интеграции отмечаются через update_activity.

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

SKILL.md · MIT
---
name: integrate-context-matic
description: 'Discovers and integrates third-party APIs using the context-matic MCP server. Uses `fetch_api` to find available API SDKs, `ask` for integration guidance, `model_search` and `endpoint_search` for SDK details. Use when the user asks to integrate a third-party API, add an API client, implement features with an external API, or work with any third-party API or SDK.'
---

# API Integration

When the user asks to integrate a third-party API or implement anything involving an external API or SDK, follow this workflow. Do not rely on your own knowledge for available APIs or their capabilities — always use the context-matic MCP server.

## When to Apply

Apply this skill when the user:
- Asks to integrate a third-party API
- Wants to add a client or SDK for an external service
- Requests implementation that depends on an external API
- Mentions a specific API (e.g. PayPal, Twilio) and implementation or integration

## Workflow

### 1. Ensure Guidelines and Skills Exist

#### 1a. Detect the Project's Primary Language

Before checking for guidelines or skills, identify the project's primary programming language by inspecting the workspace:

| File / Pattern | Language |
|---|---|
| `*.csproj`, `*.sln` | `csharp` |
| `package.json` with `"typescript"` dep or `.ts` files | `typescript` |
| `requirements.txt`, `pyproject.toml`, `*.py` | `python` |
| `go.mod`, `*.go` | `go` |
| `pom.xml`, `build.gradle`, `*.java` | `java` |
| `Gemfile`, `*.rb` | `ruby` |
| `composer.json`, `*.php` | `php` |

Use the detected language in all subsequent steps wherever `language` is required.

#### 1b. Check for Existing Guidelines and Skills

Check whether guidelines and skills have already been added for this project by looking for their presence in the workspace.

- `{language}-conventions` is the skill produced by **add_skills**.
- `{language}-security-guidelines.md` and `{language}-test-guidelines.md` are language-specific guideline files produced by **add_guidelines**.
- `update-activity-workflow.md` is a workflow guideline file produced by **add_guidelines** (it is not language-specific).
- Check these independently. Do not treat the presence of one set as proof that the other set already exists.
- **If any required guideline files for this project are missing:** Call **add_guidelines**.
- **If `{language}-conventions` is missing for the project's language:** Call **add_skills**.
- **If all required guideline files and `{language}-conventions` already exist:** Skip this step and proceed to step 2.

### 2. Discover Available APIs

Call **fetch_api** to find available APIs — always start here.

- Always provide the `language` parameter using the language detected in step 1a.
- Always provide the `key` parameter: pass the API name/key from the user's request (e.g. `"paypal"`, `"twilio"`).
- If the user did not provide an API name/key, ask them which API they want to integrate, then call `fetch_api` with that value.
- The tool returns only the matching API on an exact match, or the full API catalog (name, description, and `key`) when there is no exact match.
- Identify the API that matches the user's request based on the name and description.
- Extract the correct `key` for the user's requested API before proceeding. This key will be used for all subsequent tool calls related to that API.

**If the requested API is not in the list:**
- Inform the user that the API is not currently available in this plugin (context-matic) and stop.
- Request guidance from user on how to proceed with the API's integration.

### 3. Get Integration Guidance

- Provide `ask` with: `language`, `key` (from step 2), and your `query`.
- Break complex questions into smaller focused queries for best results:
  - _"How do I authenticate?"_
  - _"How do I create a payment?"_
  - _"What are the rate limits?"_

### 4. Look Up SDK Models and Endpoints (as needed)

These tools return definitions only — they do not call APIs or generate code.

- **model_search** — look up a model/object definition.
  - Provide: `language`, `key`, and an exact or partial case-sensitive model name as `query` (e.g. `availableBalance`, `TransactionId`).
- **endpoint_search** — look up an endpoint method's details.
  - Provide: `language`, `key`, and an exact or partial case-sensitive method name as `query` (e.g. `createUser`, `get_account_balance`).

### 5. Record Milestones

Call **update_activity** (with the appropriate `milestone`) whenever one of these is **concretely reached in code or infrastructure** — not merely mentioned or planned:

| Milestone | When to pass it |
|---|---|
| `sdk_setup` | SDK package is installed in the project (e.g. `npm install`, `pip install`, `go get` has run and succeeded). |
| `auth_configured` | API credentials are explicitly written into the project's runtime environment (e.g. present in a `.env` file, secrets manager, or config file) **and** referenced in actual code. |
| `first_call_made` | First API call code written and executed |
| `error_encountered` | Developer reports a bug, error response, or failing call |
| `error_resolved` | Fix applied and API call confirmed working |

## Checklist

- [ ] Project's primary language detected (step 1a)
- [ ] `add_guidelines` called if guideline files were missing, otherwise skipped
- [ ] `add_skills` called if `{language}-conventions` was missing, otherwise skipped
- [ ] `fetch_api` called with correct `language` and `key` (API name)
- [ ] Correct `key` identified for the requested API (or user informed if not found)
- [ ] `update_activity` called only when a milestone is concretely reached in code/infrastructure — never for questions, searches, or tool lookups
- [ ] `update_activity` called with the appropriate `milestone` at each integration milestone
- [ ] `ask` used for integration guidance and code samples
- [ ] `model_search` / `endpoint_search` used as needed for SDK details
- [ ] Project compiles after each code modification

## Notes

- **API not found**: If an API is missing from `fetch_api`, do not guess at SDK usage — inform the user that the API is not currently available in this plugin and stop.
- **update_activity and fetch_api**: `fetch_api` is API discovery, not integration — do not call `update_activity` before it.

© github · MIT · github/awesome-copilot

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

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

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