MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Integrate-Context-Matic

Integrate-Context-Matic是一款code方向的AI技能,核心价值是Discovers and integrates third-party APIs using the context-matic MCP server,可用于解决开发者在code领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

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

Last verified on: 2026-05-30
mkdir -p ./skills/integrate-context-matic && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/integrate-context-matic/SKILL.md -o ./skills/integrate-context-matic/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# 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


🎯 Best For

  • UI designers
  • Product designers
  • Claude users
  • GitHub Copilot users
  • Software engineers

💡 Use Cases

  • Generating component mockups
  • Creating design system tokens
  • Code quality improvement
  • Best practice enforcement

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Integrate-Context-Matic to Your Work

    Open your project in the AI assistant and ask it to apply the skill. Start with a small module to verify the output quality.

  4. 4

    Review and Refine

    Review AI suggestions before committing. Run tests, check for regressions, and iterate on the skill output.

❓ Frequently Asked Questions

Does this work with Figma?

Some design skills integrate with Figma plugins. Check the Works With section for supported tools.

Is Integrate-Context-Matic compatible with Cursor and VS Code?

Yes — this skill works with any AI coding assistant including Cursor, VS Code with Copilot, and JetBrains IDEs.

Do I need specific dependencies for Integrate-Context-Matic?

Check the install command and Works With section. Most code skills only require the AI assistant and your codebase.

How do I install Integrate-Context-Matic?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/integrate-context-matic/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping usability testing

AI-generated designs should be validated with real users before development.

Skipping validation

Always test AI-generated code changes, even for simple refactors.

Missing dependency updates

Check if the skill requires updated dependencies or new packages.

🔗 Related Skills