integrate-context-matic
Что он делает
Этот инструмент помогает подключить ваш код к внешним сервисам (API). Он находит доступные сервисы и выясняет, как их использовать, ища информацию о них.
Когда использовать
- ✓Когда вы хотите использовать онлайн-сервис в коде (например, отправлять SMS через Twilio).
- ✓Когда добавляете новую функцию, которая зависит от внешнего сервиса.
- ✓Когда нужно понять, как конкретный сервис работает с вашим кодом.
Ссылка на скилл
https://github.com/github/awesome-copilot/blob/main/skills/integrate-context-matic/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Как подключить API PayPal для обработки платежей?”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Сначала инструмент определяет язык программирования вашего проекта и ищет доступные API. Затем он использует инструменты, чтобы найти подробную информацию о том, как подключиться к нужному API и как его использовать, и при необходимости запрашивает у вас дополнительные данные.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
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}-conventionsis the skill produced by add_skills.{language}-security-guidelines.mdand{language}-test-guidelines.mdare language-specific guideline files produced by add_guidelines.update-activity-workflow.mdis 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}-conventionsis missing for the project's language: Call add_skills. - If all required guideline files and
{language}-conventionsalready 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
languageparameter using the language detected in step 1a. - Always provide the
keyparameter: 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_apiwith 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
keyfor 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
askwith:language,key(from step 2), and yourquery. - 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 asquery(e.g.availableBalance,TransactionId).
- Provide:
- endpoint_search — look up an endpoint method's details.
- Provide:
language,key, and an exact or partial case-sensitive method name asquery(e.g.createUser,get_account_balance).
- Provide:
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). |
…
Частые вопросы
Что делать, если нужного API нет в списке?
Если API не найден, инструмент сообщит, что он пока недоступен, и попросит вас подсказать, как действовать дальше.
Что такое API?
API (интерфейс прикладного программирования) это как мосты, которые позволяют разным программам обмениваться данными и функциями.
Что такое SDK?
SDK (комплект разработки ПО) это наборы инструментов, библиотек и документации, которые упрощают подключение внешнего сервиса к вашему коду.
Подробности
Оригинальное описание автора
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.
repo: github/awesome-copilot
Популярность
- Звёзды на GitHub
- 40k
- Место в рейтинге
- #7251
- Лицензия
- MIT
- Обновлён
- 15.10.2026
Комментарии
- …
Другие скиллы из этого репозитория
acquire-codebase-knowledge
40kПомогает агенту понять и задокументировать существующий проект.
acreadiness-assess
40kАгент оценивает готовность проекта к работе с ИИ и составляет отчёт.
acreadiness-generate-instructions
40kПомогает агенту создать инструкции для ИИ-инструментов по итогам оценки.
acreadiness-policy
40kАгент помогает задавать политики оценки ИИ-готовности проектов.
Похожие скиллы
api-connector-builder
280kАгент создаёт новые подключения к API по существующему шаблону. Используйте, когда нужна ещё одна интеграция без нового способа делать то же самое.
api-design
280kПомогает агенту проектировать REST API по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.