Skip to content

Commit 844ff08

Browse files
authored
Add eve-first build-agents skill (#138)
* Add eve-first build-agents skill * Fix build-agents validation coverage * Refine build-agents guidance
1 parent 12d0770 commit 844ff08

14 files changed

Lines changed: 529 additions & 139 deletions

File tree

CLAUDE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Source lives in `hooks/src/*.mts` (TypeScript) and compiles to `hooks/*.mjs` (ES
3838

3939
**Entry-point hooks** (wired in hooks.json):
4040
- `session-start-seen-skills.mts` — initializes `VERCEL_PLUGIN_SEEN_SKILLS=""` in `CLAUDE_ENV_FILE`
41-
- `session-start-profiler.mts` — activates only for greenfield directories or detected Vercel, Next.js, or Eve projects, then scans config files + package deps → sets `VERCEL_PLUGIN_LIKELY_SKILLS` (+5 priority boost)
41+
- `session-start-profiler.mts` — activates only for greenfield directories or detected Vercel, Next.js, or eve projects, then scans config files + package deps → sets `VERCEL_PLUGIN_LIKELY_SKILLS` (+5 priority boost)
4242
- `inject-claude-md.mts` — outputs the thin session-start Vercel context plus knowledge update guidance for that same activation set
4343
- `session-end-cleanup.mts` — deletes session-scoped temp files
4444

@@ -53,7 +53,7 @@ Source lives in `hooks/src/*.mts` (TypeScript) and compiles to `hooks/*.mjs` (ES
5353

5454
### Skill Injection Flow
5555

56-
1. **SessionStart**: For greenfield directories or detected Vercel, Next.js, or Eve projects, the profiler scans the project → sets `VERCEL_PLUGIN_LIKELY_SKILLS`
56+
1. **SessionStart**: For greenfield directories or detected Vercel, Next.js, or eve projects, the profiler scans the project → sets `VERCEL_PLUGIN_LIKELY_SKILLS`
5757
2. **PreToolUse** (on Read/Edit/Write/Bash): Match file paths (glob), bash commands (regex), imports (regex+flags) → apply vercel.json routing → apply profiler boost → rank by priority → dedup → inject up to 3 skills within 18KB budget
5858
3. **UserPromptSubmit**: Score prompt text against `promptSignals` (phrases/allOf/anyOf/noneOf) → inject up to 2 skills within 8KB budget
5959
- **3b. Lexical fallback** (when `VERCEL_PLUGIN_LEXICAL_PROMPT=on`): If phrase/allOf/anyOf scoring yields no matches above `minScore`, re-score using a lexical stemmer that normalizes prompt tokens before comparison — catches natural phrasing that exact-substring matching misses
@@ -66,7 +66,7 @@ Special triggers in PreToolUse:
6666

6767
### Skill Structure (`skills/<name>/SKILL.md`)
6868

69-
29 skills in `skills/`. Each has a `SKILL.md` with YAML frontmatter:
69+
33 skills in `skills/`. Each has a `SKILL.md` with YAML frontmatter:
7070

7171
```yaml
7272
---

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This plugin gives AI agents a **relational knowledge graph** of the Vercel ecosy
3333

3434
## How Do I Use This?
3535

36-
After installing, the plugin keeps automatic behavior lightweight. Session-start activation now only kicks in for empty directories and detected Vercel, Next.js, or Eve projects, and Vercel skills are no longer auto-injected on every tool call or every prompt by default. The default post-tool path is now observer-only. The skills remain available for direct use, and the repo still keeps the injection engine for targeted or future opt-in workflows.
36+
After installing, the plugin keeps automatic behavior lightweight. Session-start activation now only kicks in for empty directories and detected Vercel, Next.js, or eve projects, and Vercel skills are no longer auto-injected on every tool call or every prompt by default. The default post-tool path is now observer-only. The skills remain available for direct use, and the repo still keeps the injection engine for targeted or future opt-in workflows.
3737

3838
## Components
3939

@@ -46,7 +46,7 @@ A text-form relational graph covering:
4646
- Common cross-product workflows
4747
- Migration awareness for sunset products
4848

49-
### Skills (32 skills)
49+
### Skills (33 skills)
5050

5151
| Skill | Covers |
5252
| ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
@@ -55,6 +55,7 @@ A text-form relational graph covering:
5555
| `ai-sdk` | AI SDK v6 — text/object generation, streaming, tool calling, agents, MCP, providers, embeddings |
5656
| `auth` | Authentication integrations — Clerk, Descope, Auth0 setup for Next.js with Marketplace provisioning |
5757
| `bootstrap` | Project bootstrapping orchestrator — linking, env provisioning, db setup, first-run commands |
58+
| `build-agents` | Default eve-first agent builder — create AI agents, agent apps, tools, channels, schedules, and Slack agents |
5859
| `cdn-caching` | Diagnose cache hit rate, stale content, revalidation behavior, per-request cache reasons, and ISR read/write cost across CDN/ISR/PPR |
5960
| `chat-sdk` | Multi-platform chat bots — Slack, Telegram, Teams, Discord, Google Chat, GitHub, Linear |
6061
| `deployments-cicd` | Deployment and CI/CD — deploy, promote, rollback, --prebuilt, CI workflow files |
@@ -74,7 +75,7 @@ A text-form relational graph covering:
7475
| `turbopack` | Next.js bundler, HMR, configuration, Turbopack vs Webpack |
7576
| `vercel-agent` | AI-powered code review, incident investigation, SDK installation, PR analysis |
7677
| `vercel-cli` | All CLI commands — deploy, env, dev, domains, cache management, MCP integration, marketplace |
77-
| `vercel-connect` | Managed OAuth tokens and third-party connections for apps, MCP servers, and Eve agents |
78+
| `vercel-connect` | Managed OAuth tokens and third-party connections for apps, MCP servers, and eve agents |
7879
| `vercel-firewall` | DDoS protection, WAF rules, rate limiting, bot filtering, and IP controls |
7980
| `vercel-functions` | Serverless, Edge, Fluid Compute, streaming, Cron Jobs, configuration |
8081
| `vercel-sandbox` | Ephemeral Firecracker microVMs for running untrusted/AI-generated code safely |
@@ -104,12 +105,12 @@ A text-form relational graph covering:
104105

105106
Lifecycle hooks that run automatically during your session:
106107

107-
- **Session start context injection** — Injects a thin Vercel session context plus the knowledge-update guidance for empty directories and detected Vercel, Next.js, or Eve projects
108+
- **Session start context injection** — Injects a thin Vercel session context plus the knowledge-update guidance for empty directories and detected Vercel, Next.js, or eve projects
108109
- **Session start repo profiler** — Scans config files and dependencies to set likely-skill hints, but only after that same activation check passes
109110

110111
## Usage
111112

112-
After installing, session context is injected automatically only for empty directories and detected Vercel, Next.js, or Eve projects. Vercel skills are available on demand, and you can invoke them directly via slash commands:
113+
After installing, session context is injected automatically only for empty directories and detected Vercel, Next.js, or eve projects. Vercel skills are available on demand, and you can invoke them directly via slash commands:
113114

114115
```
115116
/vercel-plugin:nextjs
@@ -228,7 +229,7 @@ Exits non-zero if any `SKILL.md` is stale. Add to CI to catch drift.
228229
vercel-plugin/
229230
├── .plugin/plugin.json # Plugin manifest
230231
├── vercel.md # Ecosystem graph + conventions (injected via SessionStart hook)
231-
├── skills/ # 32 skills
232+
├── skills/ # 33 skills
232233
│ ├── ai-sdk/ # Upstream-synced skill example:
233234
│ │ ├── overlay.yaml # Plugin injection metadata
234235
│ │ ├── upstream/ # Pure upstream content

generated/build-from-skills.manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": 1,
3-
"generatedAt": "2026-07-24T23:01:09.007Z",
3+
"generatedAt": "2026-08-12T03:07:25.183Z",
44
"templates": [
55
{
66
"template": "agents/ai-architect.md.tmpl",

generated/skill-catalog.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Skill Catalog
22

33
> Auto-generated by `scripts/generate-catalog.ts` — do not edit manually.
4-
> Generated: 2026-08-06T02:59:07.756Z
5-
> Skills: 32
4+
> Generated: 2026-08-11T14:42:04.764Z
5+
> Skills: 33
66
77
## Table of Contents
88

@@ -15,6 +15,7 @@
1515

1616
| Skill | Priority | Path Patterns | Bash Patterns | Import Patterns |
1717
|-------|----------|---------------|---------------|-----------------|
18+
| `build-agents` | 10 | 0 | 3 | 0 |
1819
| `knowledge-update` | 10 | 1 | 0 | 0 |
1920
| `workflow` | 9 | 6 | 14 | 4 |
2021
| `access-protected-vercel-deployment` | 8 | 0 | 4 | 0 |
@@ -50,6 +51,13 @@
5051

5152
### Skill Details
5253

54+
#### `build-agents` (priority 10)
55+
56+
**Bash patterns:**
57+
- `\bnpx\s+eve(?:@latest)?\s+init\b`
58+
- `\bbunx\s+eve(?:@latest)?\s+init\b`
59+
- `\beve\s+init\b`
60+
5361
#### `knowledge-update` (priority 10)
5462

5563
**Path patterns:**
@@ -978,7 +986,7 @@ Shows which skills compete on shared bash commands.
978986

979987
## Skills by Priority
980988

981-
**Priority 10:** `knowledge-update`
989+
**Priority 10:** `build-agents`, `knowledge-update`
982990

983991
**Priority 9:** `workflow`
984992

0 commit comments

Comments
 (0)