You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Navigate to any project you want to work on, then:
33
-
34
-
```bash
35
-
claude --plugin-dir /path/to/vercel-plugin
36
-
```
37
-
38
-
That's it. The plugin activates automatically — no setup, no commands to learn.
28
+
Then point your AI agent at the plugin directory (e.g. `claude --plugin-dir /path/to/vercel-plugin` for Claude Code). The plugin activates automatically — no setup, no commands to learn.
39
29
40
30
#### Updating
41
31
@@ -52,7 +42,7 @@ This plugin pre-loads AI agents with a **relational knowledge graph** of the ent
52
42
53
43
## How Do I Use This?
54
44
55
-
After installing, there's nothing to learn — all Vercel guidance happens automatically. The plugin detects what you're working on from your tool calls, file paths, and project config, then injects the right expertise at the right time. Just use Claude Code as you normally would and the plugin handles the rest.
45
+
After installing, there's nothing to learn — all Vercel guidance happens automatically. The plugin detects what you're working on from your tool calls, file paths, and project config, then injects the right expertise at the right time. Just use your AI agent as you normally would and the plugin handles the rest.
56
46
57
47
## Components
58
48
@@ -123,23 +113,25 @@ A text-form relational graph covering:
123
113
124
114
### Hooks
125
115
126
-
-**SessionStart context injection** — Injects `vercel.md` (ecosystem graph + conventions) into every session via a `SessionStart` hook
127
-
-**SessionStart repo profiler** — Scans config files and dependencies to pre-prime `VERCEL_PLUGIN_LIKELY_SKILLS` for faster first tool call matching
128
-
-**PreToolUse skill injection** — Matches tool calls to skills and injects SKILL.md content with dedup via `VERCEL_PLUGIN_SEEN_SKILLS` env var
116
+
Currently implemented as [Claude Code hooks](https://docs.anthropic.com/en/docs/claude-code/hooks). We're actively working on making all hooks available to other major AI coding platforms.
117
+
118
+
-**SessionStart context injection** — Injects `vercel.md` (ecosystem graph + conventions) into every session
119
+
-**SessionStart repo profiler** — Scans config files and dependencies to pre-prime skill matching for faster first tool call
120
+
-**PreToolUse skill injection** — Matches tool calls to skills and injects relevant guidance with dedup
129
121
-**Pre-write/edit validation** — Catches deprecated patterns before they're written (sunset packages, old API names, renamed files)
130
122
131
123
## Usage
132
124
133
125
```bash
134
-
#Load directly for development
126
+
#Claude Code example
135
127
claude --plugin-dir ./vercel-plugin
136
128
137
-
# Invoke skills
129
+
# Invoke skills via slash commands
138
130
/vercel-plugin:nextjs
139
131
/vercel-plugin:ai-sdk
140
132
/vercel-plugin:deploy prod
141
133
142
-
# vercel.md is injected via SessionStart hook,
134
+
# vercel.md is injected at session start,
143
135
# giving the agent full Vercel context automatically.
0 commit comments