Integrate context matic

From github/awesome-copilot · View interactive version

Integrate context matic is an AI agent skill from the GitHub repository github/awesome-copilot. 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 feature

How to use this skill

Skill file

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:

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.

2. Discover Available APIs

Call fetch_api to find available APIs — always start here.

If the requested API is not in the list:

3. Get Integration Guidance

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

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

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

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.