onboard-context-matic
它能做什么
这个代理可以帮你了解并使用一个名为 ContextMatic 的编程服务器。它会带你熟悉各项功能,展示可用的工具,并通过实际例子讲解如何使用它们。
适用场景
- ✓当你第一次设置新项目时。
- ✓当你想了解一个编程服务器能做什么时。
- ✓当你需要查看所有可用编程工具的列表时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/onboard-context-matic/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“给我看看 Python 有哪些可用的 API。”
每周 5 个新技能,1 分钟读完。
工作原理
代理会先解释这个服务器的作用,以及它如何帮你获取最新的编程信息。然后它会演示各个可用工具,说明每个工具的用途以及何时使用。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Onboarding: ContextMatic MCP
This skill delivers a guided, interactive tour of the context-matic MCP server. Follow every
phase in order. Stop after each interaction point and wait for the user's reply before continuing.
Agent conduct rules — follow throughout the entire skill:
- Never narrate the skill structure. Do not say phase names, step numbers, or anything that sounds like you are reading instructions (e.g., "In Phase 1 I will…", "Step 1a:", "As per the skill…"). Deliver the tour as a natural conversation.
- Announce every tool call before making it. One short sentence is enough — tell the user what you are about to look up and why, then call the tool. Example: "Let me pull up the list of available APIs for your project language." This keeps the user informed and prevents silent, unexplained pauses.
Phase 0 — Opening statement and tool walkthrough
Begin with a brief, plain-language explanation of what the server does. Say it in your own words based on the following facts:
The context-matic MCP server solves a fundamental problem with AI-assisted coding: general models are trained on public code that is often outdated, incorrect, or missing entirely for newer SDK versions. This server acts as a live, version-aware grounding layer. Instead of the agent guessing at SDK usage from training data, it queries the server for the exact SDK models, endpoints, auth patterns, and runnable code samples that match the current API version and the project's programming language.
After explaining the problem the server solves, walk through each of the four tools as if introducing them to someone using the server for the first time. For each tool, explain:
- What it is — give it a memorable one-line description
- When you would use it — a concrete, relatable scenario
- What it gives back — the kind of output the user will see
Use the following facts as your source, but say it conversationally — do not present a raw table:
Tool What it does When to use it What you get back fetch_apiReturns an exact match for an API key/identifier and language, or lists all APIs for a given language. Thekeyis the machine-readable identifier returned byfetch_api(for example,paypal), not the human-readable display name (for example, "PayPal Server SDK")."What APIs can I use?" / Starting a new project / "Do you have the PayPal SDK?" A named list of available APIs with short descriptions (full catalog), or one exact API match when you provide its identifier/key and language askAnswers integration questions with version-accurate guidance and code samples "How do I authenticate?", "Show me the quickstart", "What's the right way to do X?" Step-by-step guidance and runnable code samples grounded in the actual SDK version model_searchLooks up an SDK model/object definition and its typed properties "What fields does an Order have?", "Is this property required?" The model's name, description, and a full typed property list (required vs. optional, nested types) endpoint_searchLooks up an endpoint method, its parameters, response type, and a runnable code sample "Show me how to call createOrder", "What does getTrack return?" Method signature, parameter types, response type, and a copy-paste-ready code sample
End this section by telling the user that you'll demonstrate the four core discovery and
integration tools live during the tour, starting with fetch_api right now. Make it clear that
this tour is focused on those core ContextMatic server tools rather than every possible helper the
broader workflow might use.
Phase 1 — Show available APIs
1a. Detect the project language
Before calling fetch_api, determine the project's primary language by inspecting workspace files:
- Look for
package.json+.ts/.tsxfiles →typescript - Look for
*.csprojor*.sln→csharp - Look for
requirements.txt,pyproject.toml, or*.py→python - Look for
pom.xmlorbuild.gradle→java - Look for
go.mod→go - Look for
Gemfileor*.rb→ruby - Look for
composer.jsonor*.php→php - If no project files are found, silently fall back to
typescript.
Store the detected language — you will pass it to every subsequent tool call.
1b. Fetch available APIs
…
常见问题
什么是“MCP 服务器”?
它是一种提供最新、与项目相关的编程信息的服务器,有助于避免因数据过时而导致的常见错误。
代理怎么知道该使用哪种编程语言?
它会检查你项目中的文件,找出主要使用的语言(比如 Python、TypeScript 等),并据此找到合适的工具。
什么是“API”?
API(应用程序编程接口)就像一套规则和工具,让不同的计算机程序之间能够相互通信。ContextMatic 服务器可以帮你找到并理解适合你项目的 API。
详情
作者的原始描述
Interactive onboarding tour for the context-matic MCP server. Walks the user through what the server does, shows all available APIs, lets them pick one to explore, explains it in their project language, demonstrates model_search and endpoint_search live, and ends with a menu of things the user can ask the agent to do. USE FOR: first-time setup; "what can this MCP do?"; "show me the available APIs"
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7311
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。