integrate-context-matic

작성자: github

Discovers and integrates third-party APIs using the context-matic MCP server. Uses `fetch_api` to find available API SDKs, `ask` for integration guidance,…

npx skills add https://github.com/github/awesome-copilot --skill integrate-context-matic

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 / PatternLanguage
*.csproj, *.slncsharp
package.json with "typescript" dep or .ts filestypescript
requirements.txt, pyproject.toml, *.pypython
go.mod, *.gogo
pom.xml, build.gradle, *.javajava
Gemfile, *.rbruby
composer.json, *.phpphp

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:

MilestoneWhen to pass it
sdk_setupSDK package is installed in the project (e.g. npm install, pip install, go get has run and succeeded).
auth_configuredAPI 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_madeFirst API call code written and executed
error_encounteredDeveloper reports a bug, error response, or failing call
error_resolvedFix 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의 다른 스킬

console-rendering
github
Go에서 struct 태그 기반 콘솔 렌더링 시스템 사용 지침
official
acquire-codebase-knowledge
github
사용자가 기존 코드베이스에 대한 매핑, 문서화, 또는 온보딩을 명시적으로 요청할 때 이 스킬을 사용하세요. "이 코드베이스를 매핑해줘", "문서화해줘"와 같은 프롬프트에서 트리거됩니다.
official
acreadiness-assess
github
현재 리포
official
acreadiness-generate-instructions
github
AgentRC 명령어를 통해 맞춤형 AI 에이전트 지침 파일을 생성합니다. .github/copilot-instructions.md 파일을 생성합니다(기본값, VS Code의 Copilot에 권장됨).
official
acreadiness-policy
github
사용자가 AgentRC 정책을 선택, 작성 또는 적용할 수 있도록 지원합니다. 정책은 관련 없는 검사를 비활성화하고, 영향/수준을 재정의하며, 설정을 통해 준비 상태 점수를 사용자 지정합니다.
official
add-educational-comments
github
코드 파일에 교육용 주석을 추가하여 효과적인 학습 자료로 변환합니다. 설명의 깊이와 어조를 세 가지 설정 가능한 지식 수준(초급, 중급, 고급)에 맞게 조정합니다. 파일이 제공되지 않으면 자동으로 요청하며, 빠른 선택을 위해 번호 목록 매칭을 제공합니다. 교육용 주석만을 사용하여 파일을 최대 125%까지 확장합니다(엄격한 제한: 새 줄 400개, 1,000줄 초과 파일의 경우 300개). 파일 인코딩, 들여쓰기 스타일, 구문 정확성 등을 유지합니다.
official
adobe-illustrator-scripting
github
Adobe Illustrator 자동화 스크립트를 ExtendScript(JavaScript/JSX)로 작성, 디버깅 및 최적화합니다. 스크립트를 생성하거나 수정하여 조작할 때 사용합니다.
official
agent-governance
github
선언적 정책, 의도 분류, AI 에이전트 도구 접근 및 행동 제어를 위한 감사 추적. 구성 가능한 거버넌스 정책은 허용/차단된 도구, 콘텐츠 필터, 속도 제한, 승인 요구 사항을 정의하며, 코드가 아닌 구성으로 저장됨. 의미론적 의도 분류는 패턴 기반 신호를 사용하여 도구 실행 전에 위험한 프롬프트(데이터 유출, 권한 상승, 프롬프트 인젝션)를 탐지함. 도구 수준 거버넌스 데코레이터는 함수에서 정책을 적용함...
official