Commit Graph

60 Commits

Author SHA1 Message Date
John Lindquist 0dbf5de0e3 chore: bump plugin version to 0.3.3 2026-03-06 10:17:16 -07:00
John Lindquist a5b9f7320a chore: bump plugin version to 0.3.2 2026-03-06 09:48:04 -07:00
John Lindquist 94f96ba82c Add a new agent-browser skill (skills/agent-browser/SKILL.md) that triggers on dev server commands (next dev, npm run dev, pnpm dev, bun run dev, vite, nuxt dev, vercel dev), localhost URLs, curl localhost, open http URLs, and agent-browser/playwright/cypress commands. Include pathPatterns for agent-browser.json, playwright.config, cypress.config, and e2e test directories. Set priority 3. The SKILL.md content covers the core workflow (open, snapshot, interact, re-snapshot), dev server verification, command chaining, essential commands, form submission, auth with state persistence, data extraction, ref lifecycle, annotated screenshots, semantic locators, JS eval, and session management. Bump plugin.json version from 0.3.0 to 0.3.1. 2026-03-06 09:25:19 -07:00
John Lindquist 1d5f084780 Add bodyPath to skill manifest entries, golden fixture tests, fuzz tests for glob and YAML parsers, and vercel-config key routing improvements. Bump version to 0.3.0.
Update build-manifest.ts to include bodyPath in each skill manifest entry pointing to the SKILL.md file. Update all SKILL.md frontmatter across all skills to ensure consistent formatting. Add vercel-config.mjs improvements for key-aware skill routing.

Add tests/build-skill-map.test.ts for skill map construction. Add golden fixture JSON files (golden-bash-cap-collision, golden-bash-next-dev, golden-edit-middleware, golden-read-env-local, golden-read-vercel-json, golden-vercel-json-crons, golden-vercel-json-rewrites) for deterministic match engine validation. Add tests/fuzz-glob.test.ts and tests/fuzz-yaml.test.ts for property-based testing of the glob-to-regex and YAML parsers.

Update snapshot files for injection output. Update validate.ts and validate.test.ts with command convention checks. Update HOOKS.md documentation. Update pretooluse-skill-inject.mjs, skill-map-frontmatter.mjs, and vercel-config.mjs hook modules. Bump plugin.json version from 0.2.0 to 0.3.0.
2026-03-06 08:29:02 -07:00
John Lindquist b6dc63c269 Bump plugin.json version from 0.1.0 to 0.2.0 and remove the version field from package.json since it is a private package and the canonical version lives in .plugin/plugin.json. 2026-03-06 08:09:58 -07:00
John Lindquist f838270eac refactor(hooks): extract shared patterns module and add validation
Extract glob-to-regex and seen-skills file utilities into hooks/patterns.mjs
for reuse across the PreToolUse hook and validation script. Add
validateSkillMap to skill-map-frontmatter.mjs. Expand plugin tags for
chat-sdk/bot variants. Comprehensive tests for all new modules.
2026-03-05 20:45:14 -07:00
John Lindquist 758ae294d9 fix: remove unnecessary skills/commands/agents from plugin.json
These fields are for path overrides per the open-plugin spec, not
inventory lists. Components are discovered from the filesystem
automatically. Removing them fixes Claude Code validation errors.
2026-03-04 11:01:02 -07:00
John Lindquist dbb17d4eeb refactor: move ecosystem graph + conventions to CLAUDE.md, remove rules/
Rules (.mdc files) aren't supported by Claude Code's plugin system — they
were silently ignored. Move the ecosystem knowledge graph and all three
convention sets (Next.js 16, AI SDK v6, Vercel platform) into CLAUDE.md
so they're always loaded into context.

Also updates repo references from anthropics/open-plugin to
vercel-labs/vercel-plugin.
2026-03-04 10:22:29 -07:00
John Lindquist 6a3c0d30e1 docs(manifest): align plugin.json and README with 21 skills
Update plugin.json to enumerate all 21 skills and align README
skill table and counts with the expanded manifest.
2026-03-03 20:18:29 -07:00
John Lindquist 2a56636bbe Initial commit: vercel-plugin project setup 2026-03-03 15:13:06 -07:00