vercel avatar

Plugin Audit

Audit vercel-plugin skill injection on real Claude Code logs for pattern gaps and cache staleness.

skills.sh installs
198
GitHub stars
345
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers locating project JSONL conversation logs, extracting tool_use calls, and testing hook matching against them
  • Includes a batch matcher using exported loadSkills and matchSkills functions, with reports on coverage gaps and dedup
  • Checks installed plugin cache versions and SKILL.md contents against the dev copy for staleness
  • Designed for maintainers investigating skill injection behavior on a specific real-world project

Install

$ npx -y skills add vercel/vercel-plugin --skill plugin-audit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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:

ls -lt ~/.claude/projects/-Users-*-<project-name>/*.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:

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

Details

Repository
github.com/vercel/vercel-plugin
Categories
Skill & Plugin Building, Debugging
First seen
Jun 3, 2026

More from vercel/vercel-plugin

All 25

Similar to Plugin Audit

More Skill & Plugin Building