# Plugin Audit > Audit vercel-plugin performance on real-world projects. Extracts tool calls from Claude Code conversation logs, tests hook matching against actual inputs, identifies pattern coverage gaps, and checks plugin cache staleness. Use when asked to audit, test, or investigate plugin skill injection on a real project. Fuente: https://skillsagentes.com/skills/vercel/vercel-plugin/plugin-audit Markdown: https://skillsagentes.com/skills/vercel/vercel-plugin/plugin-audit.md Repositorio: https://github.com/vercel/vercel-plugin Autor: vercel Licencia: NOASSERTION Actualizado: hace 5 meses Coste de contexto: 78 tok instalada, 739 tok al activarse, 2.8k tok con todos los archivos del bundle Bundle: 3 archivos, 11 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add vercel/vercel-plugin --skill plugin-audit --agent claude-code # Cursor npx -y skills add vercel/vercel-plugin --skill plugin-audit --agent cursor # Codex npx -y skills add vercel/vercel-plugin --skill plugin-audit --agent codex # Gemini CLI npx -y skills add vercel/vercel-plugin --skill plugin-audit --agent gemini # Windsurf npx -y skills add vercel/vercel-plugin --skill plugin-audit --agent windsurf # Cline npx -y skills add vercel/vercel-plugin --skill plugin-audit --agent cline ``` ## Archivos - SKILL.md — 3 KB - references/log-format.md — 2 KB - scripts/batch-match.mjs — 6 KB ## SKILL.md Reproducido tal cual desde vercel/vercel-plugin bajo NOASSERTION. Esta sección es el documento original y está en inglés. # Plugin Audit Audit how well vercel-plugin skill injection performs on real-world Claude Code sessions. ## Workflow ### 1. Locate conversation logs Find JSONL conversation logs for a target project: ```bash ls -lt ~/.claude/projects/-Users-*-/*.jsonl ``` The path uses the project's absolute path with slashes replaced by hyphens and a leading hyphen. ### 2. Extract tool calls Parse the JSONL log to extract all tool_use entries. Each line is a JSON object with `message.content[]` containing `type: "tool_use"` blocks. Extract `name` and `input` fields. Group by tool type (Bash, Read, Write, Edit). ### 3. Test hook matching Use the exported pipeline functions directly — do NOT shell out to the hook script for each test. Import from the hooks directory: ```js import { loadSkills, matchSkills } from "./hooks/pretooluse-skill-inject.mjs"; import { createLogger } from "./hooks/logger.mjs"; ``` Call `loadSkills()` once, then `matchSkills(toolName, toolInput, compiledSkills)` for each tool call. This is fast and gives exact match results. ### 4. Identify gaps Compare matched skills against what SHOULD have matched based on the project's technology stack. Common gap categories: - **Path pattern gaps**: Files that should trigger a skill but don't (e.g., `src/db/schema.ts` not matching `vercel-storage`) - **Bash pattern gaps**: Commands that should trigger but don't (e.g., missing package manager variants) - **Dedup masking**: Skills that matched but were deduped before injection - **Budget/cap drops**: Skills matched but dropped by the 12KB budget or 3-skill ceiling ### 5. Check plugin cache staleness Compare the installed plugin cache against the dev version: ```bash # Cache location ~/.claude/plugins/cache/vercel-labs-vercel-plugin/vercel-plugin// # Compare skill content diff <(grep 'pattern' skills//SKILL.md) <(grep 'pattern' ~/.claude/plugins/cache/.../skills//SKILL.md) ``` Check `~/.claude/plugins/installed_plugins.json` for version and git SHA. ## Report Format Produce a structured report with: 1. **Session summary**: Project, date, tool call count, model 2. **Match matrix**: Table of tool calls × matched skills (with match type) 3. **Coverage gaps**: Unmatched tool calls that should have matched, with suggested pattern additions 4. **Dedup timeline**: Order of skill injections and what got deduped 5. **Cache status**: Whether installed version matches dev, with specific diffs ## References - [Log format details](references/log-format.md) - [Test script for batch matching](scripts/batch-match.mjs) ## Dónde encaja - Categoría: [Testing y QA](https://skillsagentes.com/categorias/testing-qa.md) — Flujos de testing unitario, de integración y end-to-end. - Creador: [vercel](https://skillsagentes.com/creators/vercel.md) — 79 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Knowledge Update](https://skillsagentes.com/skills/vercel/vercel-plugin/knowledge-update.md): Corrects outdated LLM knowledge about the Vercel platform and introduces new products. Injected at session start. - [Vercel Connect](https://skillsagentes.com/skills/vercel/vercel-plugin/vercel-connect.md): 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, accessing GitHub APIs, receiving webhook events from Slack/Linear/GitHub and forwarding them to your agents and apps, or building eve agent connections. - [Vercel Functions](https://skillsagentes.com/skills/vercel/vercel-plugin/vercel-functions.md): Vercel Functions expert guidance — Serverless Functions, Edge Functions, Fluid Compute, streaming, Cron Jobs, and runtime configuration. Use when configuring, debugging, or optimizing server-side code running on Vercel. - [Cdn Caching](https://skillsagentes.com/skills/vercel/vercel-plugin/cdn-caching.md): Debug Vercel CDN caching — cache hit rate, stale content, revalidation behavior, ISR + PPR, per-request cache reasons (cacheReason) and PPR state (ppr_state), and costs. - [Eve](https://skillsagentes.com/skills/vercel/vercel-plugin/eve.md): eve framework guidance for durable AI agents and agent-powered applications. Use when creating, editing, or debugging an eve project, when the user explicitly asks for eve, or when the build-agents skill has selected eve as the default framework. Covers eve's filesystem-first runtime, durable sessions, tools, skills, connections, channels, sandboxes, subagents, schedules, evals, frontend clients, and Agent Runs observability. Do not use for incidental agent mentions, generic agent-building prompts, or established non-eve stacks unless the user asks for comparison or migration. ## Skills relacionadas - [Benchmark Agents](https://skillsagentes.com/skills/vercel/vercel-plugin/benchmark-agents.md): Advanced AI agent benchmark scenarios that push Vercel's cutting-edge platform features — Workflow SDK, AI Gateway, MCP, Chat SDK, Queues, Flags, Sandbox, and multi-agent orchestration. Designed to stress-test skill injection for complex, multi-system builds. - [Benchmark E2e](https://skillsagentes.com/skills/vercel/vercel-plugin/benchmark-e2e.md): End-to-end benchmark suite for vercel-plugin. Runs realistic projects through skill injection, launches dev servers, verifies everything works, analyzes conversation logs, and produces an improvement report for overnight self-improvement loops. - [Vercel Plugin Eval](https://skillsagentes.com/skills/vercel/vercel-plugin/vercel-plugin-eval.md): Run live eval sessions against the vercel-plugin to verify hook behavior, skill injection, dedup correctness, and coverage. Launches real Claude Code sessions via WezTerm, monitors debug logs, and produces a structured coverage report. - [Benchmark Sandbox](https://skillsagentes.com/skills/vercel/vercel-plugin/benchmark-sandbox.md): Run vercel-plugin eval scenarios in Vercel Sandboxes instead of local WezTerm panels. Provisions ephemeral microVMs with Claude Code + plugin pre-installed, runs benchmark prompts, extracts hook artifacts, and produces coverage reports. - [Benchmark Testing](https://skillsagentes.com/skills/vercel/vercel-plugin/benchmark-testing.md): Create and launch benchmark test projects to exercise vercel-plugin skill injection across realistic scenarios. Sets up isolated directories, installs the plugin, and spawns WezTerm panes running Claude Code with crafted prompts. --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)