diff --git a/generated/skill-catalog.md b/generated/skill-catalog.md index 2e55dd1..bc3412f 100644 --- a/generated/skill-catalog.md +++ b/generated/skill-catalog.md @@ -1,8 +1,8 @@ # Skill Catalog > Auto-generated by `scripts/generate-catalog.ts` — do not edit manually. -> Generated: 2026-06-04T13:59:26.471Z -> Skills: 27 +> Generated: 2026-06-09T19:40:07.166Z +> Skills: 28 ## Table of Contents @@ -16,7 +16,7 @@ | Skill | Priority | Path Patterns | Bash Patterns | Import Patterns | |-------|----------|---------------|---------------|-----------------| | `knowledge-update` | 10 | 1 | 0 | 0 | -| `workflow` | 9 | 6 | 14 | 4 | +| `workflow` | 9 | 17 | 14 | 4 | | `ai-sdk` | 8 | 27 | 11 | 2 | | `bootstrap` | 8 | 10 | 6 | 8 | | `chat-sdk` | 8 | 45 | 12 | 2 | @@ -36,6 +36,7 @@ | `runtime-cache` | 6 | 4 | 4 | 0 | | `shadcn` | 6 | 7 | 6 | 0 | | `nextjs` | 5 | 15 | 7 | 0 | +| `vercel-connect` | 5 | 0 | 6 | 3 | | `react-best-practices` | 4 | 8 | 0 | 2 | | `turbopack` | 4 | 1 | 2 | 0 | | `vercel-agent` | 4 | 6 | 1 | 0 | @@ -59,6 +60,17 @@ - `src/lib/workflow.*` - `workflow.*` - `*workflow*` +- `**/chain-engine*` +- `**/chain_engine*` +- `**/chainEngine*` +- `**/pipeline-engine*` +- `**/pipeline_engine*` +- `**/pipelineEngine*` +- `**/state-machine*` +- `**/state_machine*` +- `**/stateMachine*` +- `**/orchestrat*` +- `**/escalation*` **Bash patterns:** - `\bnpm\s+(install|i|add)\s+[^\n]*@vercel/workflow\b` @@ -750,6 +762,21 @@ - `bun run dev` (bash) - `npx create-next-app` (bash) +#### `vercel-connect` (priority 5) + +**Bash patterns:** +- `\bvercel\s+connect\b` +- `\bvc\s+connect\b` +- `\bnpm\s+(install|i|add)\s+[^\n]*@vercel/connect\b` +- `\bpnpm\s+(install|i|add)\s+[^\n]*@vercel/connect\b` +- `\bbun\s+(install|i|add)\s+[^\n]*@vercel/connect\b` +- `\byarn\s+add\s+[^\n]*@vercel/connect\b` + +**Import patterns:** +- `@vercel/connect` +- `@vercel/connect/authjs` +- `@vercel/connect/betterauth` + #### `react-best-practices` (priority 4) **Path patterns:** @@ -913,7 +940,7 @@ Shows which skills compete on shared bash commands. **Priority 6:** `auth`, `deployments-cicd`, `next-cache-components`, `next-forge`, `next-upgrade`, `routing-middleware`, `runtime-cache`, `shadcn` -**Priority 5:** `nextjs` +**Priority 5:** `nextjs`, `vercel-connect` **Priority 4:** `react-best-practices`, `turbopack`, `vercel-agent`, `vercel-cli`, `vercel-sandbox` diff --git a/generated/skill-manifest.json b/generated/skill-manifest.json index f718ba8..7631eb4 100644 --- a/generated/skill-manifest.json +++ b/generated/skill-manifest.json @@ -1,5 +1,5 @@ { - "generatedAt": "2026-06-04T14:01:36.676Z", + "generatedAt": "2026-06-09T19:39:41.807Z", "version": 2, "skills": { "vercel-agent": { @@ -1396,6 +1396,141 @@ "examples": [] } }, + "vercel-connect": { + "priority": 5, + "summary": "", + "docs": [ + "https://vercel.com/docs/connect" + ], + "sitemap": "https://vercel.com/sitemap/docs.xml", + "pathPatterns": [], + "bashPatterns": [ + "\\bvercel\\s+connect\\b", + "\\bvc\\s+connect\\b", + "\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/connect\\b", + "\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/connect\\b", + "\\bbun\\s+(install|i|add)\\s+[^\\n]*@vercel/connect\\b", + "\\byarn\\s+add\\s+[^\\n]*@vercel/connect\\b" + ], + "importPatterns": [ + "@vercel/connect", + "@vercel/connect/authjs", + "@vercel/connect/betterauth" + ], + "bodyPath": "skills/vercel-connect/SKILL.md", + "pathRegexSources": [], + "bashRegexSources": [ + "\\bvercel\\s+connect\\b", + "\\bvc\\s+connect\\b", + "\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/connect\\b", + "\\bpnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/connect\\b", + "\\bbun\\s+(install|i|add)\\s+[^\\n]*@vercel/connect\\b", + "\\byarn\\s+add\\s+[^\\n]*@vercel/connect\\b" + ], + "importRegexSources": [ + { + "source": "(?:from\\s+|require\\s*\\(\\s*|import\\s*\\(\\s*)['\"]@vercel\\/connect(?:\\/[^'\"]*)?['\"]", + "flags": "m" + }, + { + "source": "(?:from\\s+|require\\s*\\(\\s*|import\\s*\\(\\s*)['\"]@vercel\\/connect\\/authjs(?:\\/[^'\"]*)?['\"]", + "flags": "m" + }, + { + "source": "(?:from\\s+|require\\s*\\(\\s*|import\\s*\\(\\s*)['\"]@vercel\\/connect\\/betterauth(?:\\/[^'\"]*)?['\"]", + "flags": "m" + } + ], + "promptSignals": { + "phrases": [ + "vercel connect", + "slack token", + "slack bot token", + "post to slack", + "send slack message", + "github oauth token", + "linear oauth", + "oauth token for", + "third-party token", + "connect to slack", + "connect to github", + "connect to mcp", + "mcp connection", + "mcp server", + "snowflake connection" + ], + "allOf": [ + [ + "slack", + "token" + ], + [ + "github", + "token" + ], + [ + "oauth", + "token" + ], + [ + "mcp", + "connect" + ], + [ + "mcp", + "server" + ] + ], + "anyOf": [ + "vercel connect", + "@vercel/connect", + "oauth", + "mcp" + ], + "noneOf": [ + "supabase auth", + "clerk", + "auth0" + ], + "minScore": 6 + }, + "retrieval": { + "aliases": [ + "vercel connect", + "oauth helper", + "third-party tokens", + "connect sdk", + "mcp connector" + ], + "intents": [ + "get slack token", + "get github oauth token", + "wire up third-party oauth", + "connect to oauth provider", + "obtain api credentials", + "connect to mcp server", + "set up mcp connection", + "add snowflake connection" + ], + "entities": [ + "Vercel Connect", + "getToken", + "@vercel/connect", + "OAuth", + "Slack", + "GitHub", + "MCP", + "Snowflake", + "connector" + ], + "examples": [ + "send a slack message from my app", + "get a github oauth token", + "connect my agent to a MCP server", + "add Snowflake credentials to my project" + ] + } + }, "verification": { "priority": 7, "summary": "Verify full user story: browser + server + data flow + env", @@ -1557,7 +1692,18 @@ "lib/workflow.*", "src/lib/workflow.*", "workflow.*", - "*workflow*" + "*workflow*", + "**/chain-engine*", + "**/chain_engine*", + "**/chainEngine*", + "**/pipeline-engine*", + "**/pipeline_engine*", + "**/pipelineEngine*", + "**/state-machine*", + "**/state_machine*", + "**/stateMachine*", + "**/orchestrat*", + "**/escalation*" ], "bashPatterns": [ "\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/workflow\\b", @@ -1588,7 +1734,18 @@ "^lib\\/workflow\\.[^/]*$", "^src\\/lib\\/workflow\\.[^/]*$", "^workflow\\.[^/]*$", - "^[^/]*workflow[^/]*$" + "^[^/]*workflow[^/]*$", + "^(?:[^/]+\\/)*chain-engine[^/]*$", + "^(?:[^/]+\\/)*chain_engine[^/]*$", + "^(?:[^/]+\\/)*chainEngine[^/]*$", + "^(?:[^/]+\\/)*pipeline-engine[^/]*$", + "^(?:[^/]+\\/)*pipeline_engine[^/]*$", + "^(?:[^/]+\\/)*pipelineEngine[^/]*$", + "^(?:[^/]+\\/)*state-machine[^/]*$", + "^(?:[^/]+\\/)*state_machine[^/]*$", + "^(?:[^/]+\\/)*stateMachine[^/]*$", + "^(?:[^/]+\\/)*orchestrat[^/]*$", + "^(?:[^/]+\\/)*escalation[^/]*$" ], "bashRegexSources": [ "\\bnpm\\s+(install|i|add)\\s+[^\\n]*@vercel/workflow\\b", diff --git a/skills/vercel-connect/SKILL.md b/skills/vercel-connect/SKILL.md new file mode 100644 index 0000000..8f121db --- /dev/null +++ b/skills/vercel-connect/SKILL.md @@ -0,0 +1,285 @@ +--- +name: vercel-connect +description: Vercel Connect expert guidance — securely obtain scoped OAuth tokens for third-party services (Slack, GitHub, MCP servers, OAuth, Snowflake) on behalf of apps or users via Vercel OIDC. Use when wiring up third-party API access, connecting to MCP servers, sending Slack messages, or accessing GitHub APIs. +metadata: + priority: 5 + docs: + - "https://vercel.com/docs/connect" + sitemap: "https://vercel.com/sitemap/docs.xml" + importPatterns: + - '@vercel/connect' + - '@vercel/connect/authjs' + - '@vercel/connect/betterauth' + bashPatterns: + - '\bvercel\s+connect\b' + - '\bvc\s+connect\b' + - '\bnpm\s+(install|i|add)\s+[^\n]*@vercel/connect\b' + - '\bpnpm\s+(install|i|add)\s+[^\n]*@vercel/connect\b' + - '\bbun\s+(install|i|add)\s+[^\n]*@vercel/connect\b' + - '\byarn\s+add\s+[^\n]*@vercel/connect\b' + promptSignals: + phrases: + - "vercel connect" + - "slack token" + - "slack bot token" + - "post to slack" + - "send slack message" + - "github oauth token" + - "linear oauth" + - "oauth token for" + - "third-party token" + - "connect to slack" + - "connect to github" + - "connect to mcp" + - "mcp connection" + - "mcp server" + - "snowflake connection" + allOf: + - [slack, token] + - [github, token] + - [oauth, token] + - [mcp, connect] + - [mcp, server] + anyOf: + - "vercel connect" + - "@vercel/connect" + - "oauth" + - "mcp" + noneOf: + - "supabase auth" + - "clerk" + - "auth0" + minScore: 6 +retrieval: + aliases: + - vercel connect + - oauth helper + - third-party tokens + - connect sdk + - mcp connector + intents: + - get slack token + - get github oauth token + - wire up third-party oauth + - connect to oauth provider + - obtain api credentials + - connect to mcp server + - set up mcp connection + - add snowflake connection + entities: + - Vercel Connect + - getToken + - "@vercel/connect" + - OAuth + - Slack + - GitHub + - MCP + - Snowflake + - connector + examples: + - send a slack message from my app + - get a github oauth token + - connect my agent to a MCP server + - add Snowflake credentials to my project +--- + +# Vercel Connect Skill + +## Overview + +Vercel Connect enables to securely obtain scoped tokens for accessing third-party services on behalf of apps or users. It uses Vercel OIDC tokens to authenticate and exchange for Vercel Connect tokens via the Vercel API. + +## When to Use Vercel Connect + +Use Vercel Connect when you need to: + +- Send messages via Slack (as a bot or on behalf of a user) +- Access GitHub repositories or APIs +- Connect to any third-party system that requires OAuth tokens or API credentials +- Obtain tokens for authenticated API calls + +## Modes of tokens + +The SDK supports three subject types — pick based on what's acting: + +- **`user`** — actions performed on behalf of a specific end user (e.g., post a Slack message as the user). Requires a user `id` and optional `issuer`. +- **`app`** — actions performed as the app itself (e.g., post as a Slack bot, app-level GitHub access). No consent flow — fails terminally if the connector is not installed. +- **`jwt-bearer`** — RFC 7523 JWT-bearer exchange for connectors that accept a caller-minted assertion. Pass `sub` (required), plus optional `iss`, `aud`, and `additionalClaims`. Use when the third-party expects you to vouch for the subject via a signed JWT rather than an interactive OAuth grant. + +## Available Tools + +All tools have `--format=json` option for machine-readable output. + +### 1. Vercel Connect CLI (for Bash/Shell) + +Use the `vercel connect` CLI for command-line operations. Use `vercel connect --help` to get available commands. The user needs to be authenticated to the Vercel CLI and the commands work within the scope of the user's currently selected Vercel team. For eg it will create & list Connect connectors created within the currently selected Vercel team. + +Important! Always run `vercel connect` commands from the **project or agent folder** that will consume the connection (the directory containing `package.json` / `vercel.json`). Vercel Connect reads the local project context to auto-configure the connection — for example, picking a sensible connector name and `uid`, setting up project access to the connection, configuring webhooks and triggers. Running from the repo root or an unrelated directory skips this auto-configuration and you'll have to wire things up by hand. If the user invokes a `vc connect` command from elsewhere, `cd` into the closest matching project/agent folder first (or pass `--cwd