Chuyển đến nội dung
Skillpedia
Tài liệu kỹ thuật40k · #7311

onboard-context-matic

Skill này làm gì

Agent này giúp bạn hiểu và sử dụng một máy chủ lập trình tên là ContextMatic. Nó hướng dẫn bạn qua các tính năng, cho thấy các công cụ có sẵn và giải thích cách dùng bằng ví dụ thực tế.

Khi nào nên dùng

  • ✓Khi bạn thiết lập một dự án mới lần đầu.
  • ✓Khi bạn muốn biết một máy chủ lập trình có thể làm gì.
  • ✓Khi bạn cần xem danh sách tất cả công cụ lập trình có sẵn.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/onboard-context-matic/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cho tôi xem các API có sẵn cho Python.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent giải thích máy chủ làm gì và giúp lấy thông tin lập trình cập nhật như thế nào. Sau đó, nó minh họa các công cụ có sẵn, giải thích từng công cụ làm gì và khi nào nên dùng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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_api Returns an exact match for an API key/identifier and language, or lists all APIs for a given language. The key is the machine-readable identifier returned by fetch_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
ask Answers 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_search Looks 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_search Looks 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/.tsx files → typescript
  • Look for *.csproj or *.sln → csharp
  • Look for requirements.txt, pyproject.toml, or *.py → python
  • Look for pom.xml or build.gradle → java
  • Look for go.mod → go
  • Look for Gemfile or *.rb → ruby
  • Look for composer.json or *.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

…

Câu hỏi thường gặp

“MCP server” là gì?

Đó là máy chủ cung cấp thông tin lập trình cập nhật, đúng theo dự án, giúp tránh các lỗi thường gặp do dữ liệu cũ.

Agent biết dùng ngôn ngữ lập trình nào bằng cách nào?

Nó kiểm tra các file của dự án để xác định ngôn ngữ chính (như Python, TypeScript, v.v.) rồi dùng thông tin đó để tìm công cụ phù hợp.

“API” là gì?

API (Application Programming Interface) là bộ quy tắc và công cụ cho phép các chương trình khác nhau giao tiếp. Máy chủ ContextMatic giúp bạn tìm và hiểu các API phù hợp với dự án.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7311
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự