Onboard Context-Matic

Onboard Context-Matic

Runs an interactive tour of the context-matic MCP server: explains what it does, lists its APIs, demonstrates searches live and ends with a menu of next tasks.

Skill files1 file
SKILL.md294 lines
1
---
2
name: onboard-context-matic
3
description: '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"; "onboard me"; "how do I use the context-matic server"; "give me a tour". DO NOT USE FOR: actually integrating an API end-to-end (use integrate-context-matic instead).'
4
---
5
6
# Onboarding: ContextMatic MCP
7
8
This skill delivers a guided, interactive tour of the `context-matic` MCP server. Follow every
9
phase in order. Stop after each interaction point and wait for the user's reply before continuing.
10
11
> **Agent conduct rules — follow throughout the entire skill:**
12
> - **Never narrate the skill structure.** Do not say phase names, step numbers, or anything that
13
> sounds like you are reading instructions (e.g., "In Phase 1 I will…", "Step 1a:", "As per the
14
> skill…"). Deliver the tour as a natural conversation.
15
> - **Announce every tool call before making it.** One short sentence is enough — tell the user
16
> what you are about to look up and why, then call the tool. Example: *"Let me pull up the list
17
> of available APIs for your project language."* This keeps the user informed and prevents
18
> silent, unexplained pauses.
19
20
---
21
22
## Phase 0 — Opening statement and tool walkthrough
23
24
Begin with a brief, plain-language explanation of what the server does. Say it in your own words
25
based on the following facts:
26
27
> The **context-matic** MCP server solves a fundamental problem with AI-assisted coding: general
28
> models are trained on public code that is often outdated, incorrect, or missing entirely for newer
29
> SDK versions. This server acts as a **live, version-aware grounding layer**. Instead of the agent
30
> guessing at SDK usage from training data, it queries the server for the *exact* SDK models,
31
> endpoints, auth patterns, and runnable code samples that match the current API version and the
32
> project's programming language.
33
34
After explaining the problem the server solves, walk through each of the four tools as if
35
introducing them to someone using the server for the first time. For each tool, explain:
36
- **What it is** — give it a memorable one-line description
37
- **When you would use it** — a concrete, relatable scenario
38
- **What it gives back** — the kind of output the user will see
39
40
Use the following facts as your source, but say it conversationally — do not present a raw table:
41
42
> | Tool | What it does | When to use it | What you get back |
43
> |---|---|---|---|
44
> | `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 |
45
> | `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 |
46
> | `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) |
47
> | `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 |
48
49
End this section by telling the user that you'll demonstrate the four core discovery and
50
integration tools live during the tour, starting with `fetch_api` right now. Make it clear that
51
this tour is focused on those core ContextMatic server tools rather than every possible helper the
52
broader workflow might use.
53
54
55
---
56
57
## Phase 1 — Show available APIs
58
59
### 1a. Detect the project language
60
61
Before calling `fetch_api`, determine the project's primary language by inspecting workspace files:
62
63
- Look for `package.json` + `.ts`/`.tsx` files → `typescript`
64
- Look for `*.csproj` or `*.sln` → `csharp`
65
- Look for `requirements.txt`, `pyproject.toml`, or `*.py` → `python`
66
- Look for `pom.xml` or `build.gradle` → `java`
67
- Look for `go.mod` → `go`
68
- Look for `Gemfile` or `*.rb` → `ruby`
69
- Look for `composer.json` or `*.php` → `php`
70
- If no project files are found, silently fall back to `typescript`.
71
72
Store the detected language — you will pass it to every subsequent tool call.
73
74
### 1b. Fetch available APIs
75
76
Tell the user which language you detected and that you are fetching the available APIs — for
77
example: *"I can see this is a TypeScript project. Let me fetch the APIs available for TypeScript."*
78
79
Call **`fetch_api`** with `language` = the detected language and `key` = "" so the tool returns the full list of available APIs.
80
81
Display the results as a formatted list, showing each API's **name** and a one-sentence summary of
82
its **description**. Do not truncate or skip any entry.
83
84
Example display format (adapt to actual results):
85
86
```
87
Here are the APIs currently available through this server:
88
89
1. PayPal Server SDK — Payments, orders, subscriptions, and vault via PayPal REST APIs.
90
2. Spotify Web API — Music/podcast discovery, playback control, and library management.
91
....
92
```
93
94
---
95
96
## Phase 2 — API selection (interaction)
97
98
Ask the user:
99
100
> "Which of these APIs would you like to explore? Just say the name or the number."
101
102
**Wait for the user's reply before continuing.**
103
104
Store the chosen API's `key` value from the `fetch_api` response — you will pass it to all
105
subsequent tool calls. Also note the API's name for use in explanatory text.
106
107
---
108
109
## Phase 3 — Explain the chosen API
110
111
Before calling, say something like: *"Great choice — let me get an overview of [API name] for you."*
112
113
Call **`ask`** with:
114
- `key` = chosen API's key
115
- `language` = detected language
116
- `query` = `"Give me a high-level overview of this API: what it does, what the main controllers or
117
modules are, how authentication works, and what the first step to start using it is."`
118
119
Present the response conversationally. Highlight:
120
- What the API can do (use cases)
121
- How authentication works (credentials, OAuth flows, etc.)
122
- The main SDK controllers or namespaces
123
- The NPM/pip/NuGet/etc. package name to install
124
125
---
126
127
## Phase 4 — Integration in the project language (interaction)
128
129
Ask the user:
130
131
> "Is there a specific part of the [API name] you want to learn how to use — for example,
132
> creating an order, searching tracks, or managing subscriptions? Or should I show you
133
> the complete integration quickstart?"
134
135
**Wait for the user's reply.**
136
137
Before calling, say something like: *"On it — let me look that up."* or *"Sure, let me pull up the quickstart."*
138
139
Call **`ask`** with:
140
- `key` = chosen API's key
141
- `language` = detected language
142
- `query` = the user's stated goal, or `"Show me a complete integration quickstart: install the
143
SDK, configure credentials, and make the first API call."` if they asked for the full guide.
144
145
Present the response, including any code samples exactly as returned.
146
147
---
148
149
## Phase 5 — Demonstrate `model_search`
150
151
Tell the user:
152
153
> "Now let me show you how `model_search` works. This tool lets you look up any SDK model or
154
> object definition — its typed properties, which are required vs. optional, and what types they use.
155
> It works with partial, case-sensitive names."
156
157
Before calling, say something like: *"Let me search for the `[model name]` model so you can see what the result looks like."*
158
159
Pick a **representative model** from the chosen API (examples below) and call **`model_search`** with:
160
- `key` = the previously chosen API key (for example, `paypal` or `spotify`)
161
- `language` = the detected project language
162
- `query` = the representative model name you picked
163
164
| API key | Good demo query |
165
|---|---|
166
| `paypal` | `Order` |
167
| `spotify` | `TrackObject` |
168
169
Display the result, pointing out:
170
- The exact model name and its description
171
- A few interesting typed properties (highlight optional vs. required)
172
- Any nested model references (e.g., `PurchaseUnit[] | undefined`)
173
174
Tell the user:
175
176
> "You can search any model by name — partial matches work too. Try asking me to look up a
177
> specific model from [API name] whenever you need to know its shape."
178
179
---
180
181
## Phase 6 — Demonstrate `endpoint_search`
182
183
Tell the user:
184
185
> "Similarly, `endpoint_search` looks up any SDK method — the exact parameters, their types,
186
> the response type, and a fully runnable code sample you can drop straight into your project."
187
188
Before calling, say something like: *"Let me fetch the `[endpoint name]` endpoint so you can see the parameters and a live code sample."*
189
190
Pick a **representative endpoint** for the chosen API and call **`endpoint_search`** with an explicit argument object:
191
192
- `key` = the API key you are demonstrating (for example, `paypal` or `spotify`)
193
- `query` = the endpoint / SDK method name you want to look up (for example, `createOrder` or `getTrack`)
194
- `language` = the user's project language (for example, `"typescript"` or `"python"`)
195
196
For example:
197
198
| API key (`key`) | Endpoint name (`query`) | Example `language` |
199
|---|---|---|
200
| `paypal` | `createOrder` | user's project language |
201
| `spotify` | `getTrack` | user's project language |
202
Display the result, pointing out:
203
- The method name and description
204
- The request parameters and their types
205
- The response type
206
- The full code sample (present exactly as returned)
207
208
Tell the user:
209
210
> "Notice that the code sample is ready to use — it imports from the correct SDK, initialises
211
> the client, calls the endpoint, and handles errors. You can search for any endpoint by its
212
> method name or a partial case-sensitive fragment."
213
214
---
215
216
## Phase 7 — Closing: what you can ask
217
218
End the tour with a summary list of things the user can now ask the agent to do. Present this as
219
a formatted menu:
220
221
---
222
223
### What you can do with this MCP
224
225
**Quickstart: your first API call**
226
```
227
/integrate-context-matic Set up the Spotify TypeScript SDK and fetch my top 5 tracks.
228
Show me the complete client initialization and the API call.
229
```
230
```
231
/integrate-context-matic How do I authenticate with the Twilio API and send an SMS?
232
Give me the full PHP setup including the SDK client and the send call.
233
```
234
```
235
/integrate-context-matic Walk me through initializing the Slack API client in a Python script and posting a message to a channel.
236
```
237
238
**Framework-specific integration**
239
```
240
/integrate-context-matic I'm building a Next.js app. Integrate the Google Maps Places API
241
to search for nearby restaurants and display them on a page. Use the TypeScript SDK.
242
```
243
```
244
/integrate-context-matic I'm using Laravel. Show me how to send a Twilio SMS when a user
245
registers. Include the PHP SDK setup, client initialization, and the controller code.
246
```
247
```
248
/integrate-context-matic I have an ASP.NET Core app. Add Twilio webhook handling so I can receive delivery status callbacks when an SMS is sent.
249
```
250
251
**Chaining tools for full integrations**
252
```
253
/integrate-context-matic I want to add real-time order shipping notifications to my
254
Next.js store. Use Twilio to send an SMS when the order status changes to "shipped". Show me
255
the full integration: SDK setup, the correct endpoint and its parameters, and the TypeScript code.
256
```
257
```
258
/integrate-context-matic I need to post a Slack message every time a Spotify track changes
259
in my playlist monitoring app. Walk me through integrating both APIs in TypeScript — start by
260
discovering what's available, then show me the auth setup and the exact API calls.
261
```
262
```
263
/integrate-context-matic In my ASP.NET Core app, I want to geocode user addresses using
264
Google Maps and cache the results. Look up the geocode endpoint and response model, then
265
generate the C# code including error handling.
266
```
267
268
**Debugging and error handling**
269
```
270
/integrate-context-matic My Spotify API call is returning 401. What OAuth flow should I
271
be using and how does the TypeScript SDK handle token refresh automatically?
272
```
273
```
274
/integrate-context-matic My Slack message posts are failing intermittently with rate limit
275
errors. How does the Python SDK expose rate limit information and what's the recommended retry
276
pattern?
277
```
278
279
---
280
281
> "That's the tour! Ask me any of the above or just tell me what you want to build — I'll
282
> use this server to give you accurate, version-specific guidance."
283
284
---
285
286
## Notes for the agent
287
288
- If the user picks an API that is not in the `fetch_api` results, tell them it is not currently
289
available and offer to continue the tour with one that is.
290
- All tool calls in this skill are **read-only** — they do not modify the project, install packages,
291
or write files unless the user explicitly asks you to proceed with integration.
292
- When showing code samples from `endpoint_search` or `ask`, present them in fenced code blocks
293
with the correct language tag.
294

© GitHub, Inc. · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…