Files
vercel__vercel-plugin/tests/fixtures/golden-vercel-json-crons.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
873 B
JSON

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