Files
vercel__vercel-plugin/tests/fixtures/golden-edit-ai-sdk-route.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

19 lines
596 B
JSON

{
"description": "Golden snapshot: Edit app/api/chat/route.ts triggers 4 skills, cap 3 drops nextjs (5)",
"input": {
"tool_name": "Edit",
"tool_input": { "file_path": "/Users/me/project/app/api/chat/route.ts" }
},
"expected": {
"skillInjection": {
"version": 1,
"toolName": "Edit",
"toolTarget": "/Users/me/project/app/api/chat/route.ts",
"matchedSkills": ["ai-sdk", "chat-sdk", "nextjs", "vercel-functions"],
"injectedSkills": ["ai-sdk", "chat-sdk", "vercel-functions"],
"droppedByCap": ["nextjs"],
"droppedByBudget": []
}
}
}