mirror of
https://github.com/vercel/vercel-plugin.git
synced 2026-09-14 15:39:47 +08:00
192 lines
6.5 KiB
JSON
192 lines
6.5 KiB
JSON
{
|
|
"$schema": "Pattern fixture dry-run: maps file paths and bash commands to expected skill matches",
|
|
"fixtures": [
|
|
{
|
|
"description": "vercel.json triggers multiple skills (routing, cron, deploy, cli, functions)",
|
|
"type": "path",
|
|
"input": "vercel.json",
|
|
"expectedSkills": ["routing-middleware", "deployments-cicd", "vercel-cli", "cron-jobs", "vercel-functions"]
|
|
},
|
|
{
|
|
"description": "next.config.ts triggers nextjs and turbopack",
|
|
"type": "path",
|
|
"input": "next.config.ts",
|
|
"expectedSkills": ["nextjs", "turbopack"]
|
|
},
|
|
{
|
|
"description": "middleware.ts triggers routing-middleware, auth, and investigation-mode",
|
|
"type": "path",
|
|
"input": "middleware.ts",
|
|
"expectedSkills": ["routing-middleware", "auth", "investigation-mode"]
|
|
},
|
|
{
|
|
"description": ".env.local triggers env-vars",
|
|
"type": "path",
|
|
"input": ".env.local",
|
|
"expectedSkills": ["env-vars"]
|
|
},
|
|
{
|
|
"description": "app/api/chat/route.ts triggers ai-sdk, nextjs, and vercel-functions",
|
|
"type": "path",
|
|
"input": "app/api/chat/route.ts",
|
|
"expectedSkills": ["ai-sdk", "nextjs", "vercel-functions", "chat-sdk"]
|
|
},
|
|
{
|
|
"description": "turbo.json triggers turborepo",
|
|
"type": "path",
|
|
"input": "turbo.json",
|
|
"expectedSkills": ["turborepo"]
|
|
},
|
|
{
|
|
"description": "instrumentation.ts triggers observability and investigation-mode",
|
|
"type": "path",
|
|
"input": "instrumentation.ts",
|
|
"expectedSkills": ["observability", "investigation-mode"]
|
|
},
|
|
{
|
|
"description": "components.json triggers shadcn",
|
|
"type": "path",
|
|
"input": "components.json",
|
|
"expectedSkills": ["shadcn"]
|
|
},
|
|
{
|
|
"description": "prisma/schema.prisma triggers vercel-storage and bootstrap",
|
|
"type": "path",
|
|
"input": "prisma/schema.prisma",
|
|
"expectedSkills": ["vercel-storage", "bootstrap"]
|
|
},
|
|
{
|
|
"description": ".github/workflows/deploy.yml triggers deployments-cicd, vercel-agent, and workflow",
|
|
"type": "path",
|
|
"input": ".github/workflows/deploy.yml",
|
|
"expectedSkills": ["deployments-cicd", "vercel-agent", "workflow"]
|
|
},
|
|
{
|
|
"description": "flags.ts triggers vercel-flags",
|
|
"type": "path",
|
|
"input": "flags.ts",
|
|
"expectedSkills": ["vercel-flags"]
|
|
},
|
|
{
|
|
"description": "vercel deploy command triggers deployments-cicd and vercel-cli",
|
|
"type": "bash",
|
|
"input": "vercel deploy --prod",
|
|
"expectedSkills": ["deployments-cicd", "vercel-cli"]
|
|
},
|
|
{
|
|
"description": "npx shadcn add triggers shadcn",
|
|
"type": "bash",
|
|
"input": "npx shadcn@latest add button",
|
|
"expectedSkills": ["shadcn"]
|
|
},
|
|
{
|
|
"description": "next dev --turbo triggers turbopack, nextjs, and agent-browser",
|
|
"type": "bash",
|
|
"input": "next dev --turbo",
|
|
"expectedSkills": ["turbopack", "nextjs", "agent-browser", "agent-browser-verify", "verification"]
|
|
},
|
|
{
|
|
"description": "vercel env pull triggers env-vars, ai-gateway, and vercel-cli",
|
|
"type": "bash",
|
|
"input": "vercel env pull .env.local",
|
|
"expectedSkills": ["env-vars", "ai-gateway", "vercel-cli"]
|
|
},
|
|
{
|
|
"description": "npm install stripe triggers payments",
|
|
"type": "bash",
|
|
"input": "npm install stripe",
|
|
"expectedSkills": ["payments"]
|
|
},
|
|
{
|
|
"description": "turbo run build triggers turborepo",
|
|
"type": "bash",
|
|
"input": "turbo run build",
|
|
"expectedSkills": ["turborepo"]
|
|
},
|
|
{
|
|
"description": "vercel firewall triggers vercel-firewall and vercel-cli",
|
|
"type": "bash",
|
|
"input": "vercel firewall list",
|
|
"expectedSkills": ["vercel-firewall", "vercel-cli"]
|
|
},
|
|
{
|
|
"description": "src/components/Button.tsx triggers react-best-practices",
|
|
"type": "path",
|
|
"input": "src/components/Button.tsx",
|
|
"expectedSkills": ["react-best-practices"]
|
|
},
|
|
{
|
|
"description": "components/Card.jsx triggers react-best-practices",
|
|
"type": "path",
|
|
"input": "components/Card.jsx",
|
|
"expectedSkills": ["react-best-practices"]
|
|
},
|
|
{
|
|
"description": "app/components/Modal.tsx triggers react-best-practices and nextjs",
|
|
"type": "path",
|
|
"input": "app/components/Modal.tsx",
|
|
"expectedSkills": ["react-best-practices", "nextjs"]
|
|
},
|
|
{
|
|
"description": "npm run dev triggers nextjs, agent-browser, agent-browser-verify, verification",
|
|
"type": "bash",
|
|
"input": "npm run dev",
|
|
"expectedSkills": ["nextjs", "agent-browser", "agent-browser-verify", "verification"]
|
|
},
|
|
{
|
|
"description": "pnpm dev triggers nextjs, agent-browser, agent-browser-verify, verification",
|
|
"type": "bash",
|
|
"input": "pnpm dev",
|
|
"expectedSkills": ["nextjs", "agent-browser", "agent-browser-verify", "verification"]
|
|
},
|
|
{
|
|
"description": "bun run dev triggers nextjs, agent-browser, agent-browser-verify, verification",
|
|
"type": "bash",
|
|
"input": "bun run dev",
|
|
"expectedSkills": ["nextjs", "agent-browser", "agent-browser-verify", "verification"]
|
|
},
|
|
{
|
|
"description": "vite triggers agent-browser, agent-browser-verify, verification",
|
|
"type": "bash",
|
|
"input": "vite",
|
|
"expectedSkills": ["agent-browser", "agent-browser-verify", "verification"]
|
|
},
|
|
{
|
|
"description": "npm install prisma currently triggers no direct skill matches",
|
|
"type": "bash",
|
|
"input": "npm install prisma",
|
|
"expectedSkills": []
|
|
},
|
|
{
|
|
"description": "npm install langchain currently triggers no direct skill matches",
|
|
"type": "bash",
|
|
"input": "npm install langchain",
|
|
"expectedSkills": []
|
|
},
|
|
{
|
|
"description": "npm install @langchain/core currently triggers no direct skill matches",
|
|
"type": "bash",
|
|
"input": "npm install @langchain/core",
|
|
"expectedSkills": []
|
|
},
|
|
{
|
|
"description": "npm install @clerk/nextjs triggers auth",
|
|
"type": "bash",
|
|
"input": "npm install @clerk/nextjs",
|
|
"expectedSkills": ["auth"]
|
|
},
|
|
{
|
|
"description": "yarn add stripe @clerk/nextjs triggers payments and auth",
|
|
"type": "bash",
|
|
"input": "yarn add stripe @clerk/nextjs",
|
|
"expectedSkills": ["payments", "auth"]
|
|
},
|
|
{
|
|
"description": "pnpm add prisma stripe langchain currently triggers payments only",
|
|
"type": "bash",
|
|
"input": "pnpm add prisma stripe langchain",
|
|
"expectedSkills": ["payments"]
|
|
}
|
|
]
|
|
}
|