Files
vercel__vercel-plugin/tests/fixtures/golden-vercel-json-rewrites.json
John Lindquist d5b5ef47f7 Replace skill body injection with Skill tool invocation instructions
Instead of injecting the full SKILL.md body as additionalContext, inject
"You must run the Skill(<name>) tool." — a more conventional way of
telling the agent to use the Skill tool for context loading.
2026-03-10 12:46:11 -06:00

41 lines
916 B
JSON

{
"description": "Golden snapshot: Read vercel.json with rewrites key — routing-middleware boosted +10, other VERCEL_JSON_SKILLS demoted -10, vercel-cli unaffected",
"input": {
"tool_name": "Read",
"tool_input": {
"file_path": "__TEMP_VERCEL_JSON__"
}
},
"vercelJson": {
"rewrites": [
{
"source": "/api/:path*",
"destination": "https://api.example.com/:path*"
}
]
},
"expected": {
"skillInjection": {
"version": 1,
"toolName": "Read",
"matchedSkills": [
"routing-middleware",
"deployments-cicd",
"vercel-cli",
"cron-jobs",
"vercel-functions"
],
"injectedSkills": [
"routing-middleware",
"vercel-cli",
"vercel-functions"
],
"droppedByCap": [
"cron-jobs",
"deployments-cicd"
],
"droppedByBudget": []
}
}
}