Aller au contenu
Skillpedia
API et serveurs (backend)40k · #7251

integrate-context-matic

Ce qu’il fait

Cet outil vous aide à relier votre code à des services externes (API). Il découvre quels services sont disponibles et comment les utiliser en recherchant des informations à leur sujet.

Quand l’utiliser

  • ✓Lorsque vous voulez utiliser un service en ligne dans votre code (par exemple, envoyer un SMS avec Twilio).
  • ✓Lorsque vous ajoutez une nouvelle fonctionnalité qui dépend d'un service externe.
  • ✓Lorsque vous devez comprendre comment un service spécifique fonctionne avec votre code.

Lien du skill

https://github.com/github/awesome-copilot/blob/main/skills/integrate-context-matic/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/github/awesome-copilot/blob/main/skills/integrate-context-matic/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Comment intégrer l'API PayPal pour traiter des paiements ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Il détecte d'abord le langage de programmation de votre projet et recherche les API disponibles. Il utilise ensuite des outils pour trouver les détails de connexion et d'utilisation de l'API souhaitée, et vous demande des précisions si nécessaire.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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}-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).

…

Questions fréquentes

Que se passe-t-il si l'API que je souhaite n'est pas répertoriée ?

Si l'API n'est pas trouvée, l'outil vous en informera et vous demandera comment procéder.

Que sont les « API » ?

Les API (Application Programming Interfaces, ou interfaces de programmation) sont des ponts qui permettent à différents logiciels de communiquer entre eux et de partager des informations ou des fonctionnalités.

Que sont les « SDK » ?

Les SDK (Software Development Kits, ou kits de développement logiciel) sont des ensembles d'outils, de bibliothèques et de documentation qui facilitent l'intégration d'un service externe dans votre code.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
40k
Position au classement
#7251
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires