Integrate Context Matic
GitHubOfficialFirst committed by mohammadali2549Distributed by GitHub
- Skill
- Tool integration
- Automation and integrations
- MIT
- Low risk
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
This skill provides a standardized procedure for integrating external APIs and SDKs into a project. It ensures that developers first verify project-specific guidelines and conventions, then use the context-matic MCP server to discover, research, and implement API integrations. The workflow emphasizes using specialized tools for API discovery, guidance, and model/endpoint lookups, while requiring explicit milestone tracking to monitor the progress of the integration process.
What it does
- Detects the project's primary programming language to ensure context-aware integration.
- Verifies the presence of necessary project guidelines and conventions before starting.
- Discovers available APIs and SDKs using the context-matic MCP server.
- Retrieves specific integration guidance, model definitions, and endpoint details.
- Tracks integration progress through defined milestones like SDK setup and authentication configuration.
When to use it
- When you need to integrate a third-party API into your project.
- When you are adding a new client or SDK for an external service.
- When implementing features that depend on external API functionality.
- When you need to look up specific API models or endpoint methods.
Advantages
- Ensures consistent integration practices across different projects.
- Prevents reliance on potentially outdated internal knowledge by using live API discovery.
- Provides a clear path for tracking integration milestones in code and infrastructure.
- Reduces errors by enforcing prerequisite checks for guidelines and conventions.
Usage examples
- “Integrate the Twilio API into my Python project.”
- The agent will detect the Python environment, verify guidelines, fetch Twilio SDK details via context-matic, and guide you through the setup and authentication process.
- “How do I authenticate with the PayPal API in my Node.js app?”
- The agent will use the context-matic server to retrieve specific authentication guidance for the PayPal SDK and provide the necessary implementation steps.
Install
Download the skill as a ZIP:
https://mp-staging.autogineer.com/agent-skills/github/integrate-context-matic/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip integrate-context-matic.zip -d .agents/skills
Documentation by mohammadali2549
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).
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).
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
[ ] Project's primary language detected (step 1a)
[ ]
add_guidelinescalled if guideline files were missing, otherwise skipped[ ]
add_skillscalled if{language}-conventionswas missing, otherwise skipped[ ]
fetch_apicalled with correctlanguageandkey(API name)[ ] Correct
keyidentified for the requested API (or user informed if not found)[ ]
update_activitycalled only when a milestone is concretely reached in code/infrastructure — never for questions, searches, or tool lookups[ ]
update_activitycalled with the appropriatemilestoneat each integration milestone[ ]
askused for integration guidance and code samples[ ]
model_search/endpoint_searchused 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_apiis API discovery, not integration — do not callupdate_activitybefore it.
Files
- ATTRIBUTION.mdAdded by AutoGineer893 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md6.2 KiB
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs an MCP server, Needs Python, Needs Node.js
Security
What our scanner noticed· Low risk
- Instructions that use the network
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
mohammadali2549
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/integrate-context-matic · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- Alishahzad1903, mohammadali2549
AutoGineer is not affiliated with or endorsed by mohammadali2549 or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download integrate-context-matic.zip