Files
vercel__vercel-plugin/tests/fixtures/golden-read-env-local.json
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

19 lines
449 B
JSON

{
"description": "Golden snapshot: Read .env.local triggers env-vars skill",
"input": {
"tool_name": "Read",
"tool_input": { "file_path": "/project/.env.local" }
},
"expected": {
"skillInjection": {
"version": 1,
"toolName": "Read",
"toolTarget": "/project/.env.local",
"matchedSkills": ["env-vars"],
"injectedSkills": ["env-vars"],
"droppedByCap": [],
"droppedByBudget": []
}
}
}