Files
John Lindquist 3a8a8b2bea feat: fix on-demand skill install pipeline, add 7 new engine rules, sync registries
- Fix skill store cross-root slug lookup: installed skills under registrySlug
  names (e.g., next-best-practices) now resolve when queried by engine name
  (e.g., nextjs). Full-body injection rate went from 5% to 78% in evals.

- Fix on-demand install: remove dead hooks.json registrations (library module
  with no entry point), keep inline calls from pretooluse/user-prompt-submit.
  Non-registry skills now dedup normally instead of wastefully reinjectiing
  summary-only content that can never upgrade.

- Add suppressWhenProjectFacts to engine rules: next-upgrade and turbopack
  suppressed in greenfield mode (was 12 useless injections per session).

- Add deriveRegistryInstallSet to orchestrator-install-plan (was missing
  export that crashed on-demand-skill-install on every invocation).

- Sync all engine rule registries from skills.sh API via build-registry.ts.
  22 skills now have registry backing across 11 official Vercel repos.
  Exclude vercel-labs/vercel-plugin and vercel/vercel-plugin self-references.

- Add build:registry to the build pipeline (hooks → registry → manifest).

- Create 7 new engine rules: electron, vercel-composition-patterns,
  vercel-react-native-skills, web-design-guidelines, deploy-to-vercel,
  vercel-react-view-transitions, workflow-init.

- Add .claude/skills/ to .gitignore (installed skill caches).

- Add Verification Checklist to CLAUDE.md.
2026-04-08 22:54:49 -06:00

32 lines
1.1 KiB
JSON

{
"name": "vercel-plugin",
"version": "0.24.0",
"private": true,
"bin": {
"vercel-plugin": "src/cli/index.ts"
},
"scripts": {
"build:hooks": "tsup --config hooks/tsup.config.ts",
"build:manifest": "bun run scripts/build-manifest.ts",
"build:registry": "bun run scripts/build-registry.ts",
"build": "bun run build:hooks && bun run build:registry && bun run build:manifest",
"doctor": "bun run src/cli/index.ts doctor",
"typecheck": "tsc -p hooks/tsconfig.json --noEmit",
"test": "export VERCEL_PLUGIN_SYNC_INSTALL=0 && bun run typecheck && bun test",
"test:smoke": "bun test smoke-tests/",
"test:all": "bun run typecheck && bun test tests/ hooks/ smoke-tests/",
"test:update-snapshots": "UPDATE_SNAPSHOTS=1 bun test tests/snapshot-runner.test.ts",
"playground:generate": "bun run .playground/generate-all.ts"
},
"devDependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.2.70",
"@types/node": "^25.3.5",
"@vercel/sandbox": "^1.8.0",
"tsup": "^8.5.1",
"typescript": "^5.9.3"
},
"dependencies": {
"minisearch": "^7.2.0"
}
}