mirror of
https://github.com/vercel/vercel-plugin.git
synced 2026-09-14 15:39:47 +08:00
d5b5ef47f7
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.
19 lines
596 B
JSON
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": []
|
|
}
|
|
}
|
|
}
|