[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6K5FZ0T5MF6XA47VDVF7N0K":3,"skill-same:01M6K5FZ0T5MF6XA47VDVF7N0K":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":13,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6K5FZ0T5MF6XA47VDVF7N0K","ai-sdk",null,"Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: \"AI SDK\", \"Vercel AI SDK\", \"generateText\", \"streamText\", \"add AI to my app\", \"build an agent\", \"tool calling\", \"structured output\", \"useChat\".","glows777\u002Fflux","glows777","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F74138412?v=4","01M6K5FSGY91N7ANGRFSXFR8Y7","01M6K5FSMTTJ0DVCJNBW8BT5SH",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fai-sdk\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"sdk","ai sdk","Providers","features","my","add","structured output","app","vercel ai sdk","hooks","ask","text","google","Tools","embeddings","streaming","openai","rag","react","ai agents","2026-11-10 10:12:30",false,"---\nname: ai-sdk\ndescription: 'Answer questions about the AI SDK and help build AI-powered features. Use when developers: (1) Ask about AI SDK functions like generateText, streamText, ToolLoopAgent, embed, or tools, (2) Want to build AI agents, chatbots, RAG systems, or text generation features, (3) Have questions about AI providers (OpenAI, Anthropic, Google, etc.), streaming, tool calling, structured output, or embeddings, (4) Use React hooks like useChat or useCompletion. Triggers on: \"AI SDK\", \"Vercel AI SDK\", \"generateText\", \"streamText\", \"add AI to my app\", \"build an agent\", \"tool calling\", \"structured output\", \"useChat\".'\n---\n\n## Prerequisites\n\nBefore searching docs, check if `node_modules\u002Fai\u002Fdocs\u002F` exists. If not, install **only** the `ai` package using the project's package manager (e.g., `pnpm add ai`).\n\nDo not install other packages at this stage. Provider packages (e.g., `@ai-sdk\u002Fopenai`) and client packages (e.g., `@ai-sdk\u002Freact`) should be installed later when needed based on user requirements.\n\n## Critical: Do Not Trust Internal Knowledge\n\nEverything you know about the AI SDK is outdated or wrong. Your training data contains obsolete APIs, deprecated patterns, and incorrect usage.\n\n**When working with the AI SDK:**\n\n1. Ensure `ai` package is installed (see Prerequisites)\n2. Search `node_modules\u002Fai\u002Fdocs\u002F` and `node_modules\u002Fai\u002Fsrc\u002F` for current APIs\n3. If not found locally, search ai-sdk.dev documentation (instructions below)\n4. Never rely on memory - always verify against source code or docs\n5. **`useChat` has changed significantly** - check [Common Errors](references\u002Fcommon-errors.md) before writing client code\n6. When deciding which model and provider to use (e.g. OpenAI, Anthropic, Gemini), use the Vercel AI Gateway provider unless the user specifies otherwise. See [AI Gateway Reference](references\u002Fai-gateway.md) for usage details.\n7. **Always fetch current model IDs** - Never use model IDs from memory. Before writing code that uses a model, run `curl -s https:\u002F\u002Fai-gateway.vercel.sh\u002Fv1\u002Fmodels | jq -r '[.data[] | select(.id | startswith(\"provider\u002F\")) | .id] | reverse | .[]'` (replacing `provider` with the relevant provider like `anthropic`, `openai`, or `google`) to get the full list with newest models first. Use the model with the highest version number (e.g., `claude-sonnet-4-5` over `claude-sonnet-4` over `claude-3-5-sonnet`).\n8. Run typecheck after changes to ensure code is correct\n9. **Be minimal** - Only specify options that differ from defaults. When unsure of defaults, check docs or source rather than guessing or over-specifying.\n\nIf you cannot find documentation to support your answer, state that explicitly.\n\n## Finding Documentation\n\n### ai@6.0.34+\n\nSearch bundled docs and source in `node_modules\u002Fai\u002F`:\n\n- **Docs**: `grep \"query\" node_modules\u002Fai\u002Fdocs\u002F`\n- **Source**: `grep \"query\" node_modules\u002Fai\u002Fsrc\u002F`\n\nProvider packages include docs at `node_modules\u002F@ai-sdk\u002F\u003Cprovider>\u002Fdocs\u002F`.\n\n### Earlier versions\n\n1. Search: `https:\u002F\u002Fai-sdk.dev\u002Fapi\u002Fsearch-docs?q=your_query`\n2. Fetch `.md` URLs from results (e.g., `https:\u002F\u002Fai-sdk.dev\u002Fdocs\u002Fagents\u002Fbuilding-agents.md`)\n\n## When Typecheck Fails\n\n**Before searching source code**, grep [Common Errors](references\u002Fcommon-errors.md) for the failing property or function name. Many type errors are caused by deprecated APIs documented there.\n\nIf not found in common-errors.md:\n\n1. Search `node_modules\u002Fai\u002Fsrc\u002F` and `node_modules\u002Fai\u002Fdocs\u002F`\n2. Search ai-sdk.dev (for earlier versions or if not found locally)\n\n## Building and Consuming Agents\n\n### Creating Agents\n\nAlways use the `ToolLoopAgent` pattern. Search `node_modules\u002Fai\u002Fdocs\u002F` for current agent creation APIs.\n\n**File conventions**: See [type-safe-agents.md](references\u002Ftype-safe-agents.md) for where to save agents and tools.\n\n**Type Safety**: When consuming agents with `useChat`, always use `InferAgentUIMessage\u003Ctypeof agent>` for type-safe tool results. See [reference](references\u002Ftype-safe-agents.md).\n\n### Consuming Agents (Framework-Specific)\n\nBefore implementing agent consumption:\n\n1. Check `package.json` to detect the project's framework\u002Fstack\n2. Search documentation for the framework's quickstart guide\n3. Follow the framework-specific patterns for streaming, API routes, and client integration\n\n## References\n\n- [Common Errors](references\u002Fcommon-errors.md) - Renamed parameters reference (parameters → inputSchema, etc.)\n- [AI Gateway](references\u002Fai-gateway.md) - Gateway setup and usage\n- [Type-Safe Agents with useChat](references\u002Ftype-safe-agents.md) - End-to-end type safety with InferAgentUIMessage\n- [DevTools](references\u002Fdevtools.md) - Set up local debugging and observability (development only)\n","## Prerequisites\n\nBefore searching docs, check if `node_modules\u002Fai\u002Fdocs\u002F` exists. If not, install **only** the `ai` package using the project's package manager (e.g., `pnpm add ai`).\n\nDo not install other packages at this stage. Provider packages (e.g., `@ai-sdk\u002Fopenai`) and client packages (e.g., `@ai-sdk\u002Freact`) should be installed later when needed based on user requirements.\n\n## Critical: Do Not Trust Internal Knowledge\n\nEverything you know about the AI SDK is outdated or wrong. Your training data contains obsolete APIs, deprecated patterns, and incorrect usage.\n\n**When working with the AI SDK:**\n\n1. Ensure `ai` package is installed (see Prerequisites)\n2. Search `node_modules\u002Fai\u002Fdocs\u002F` and `node_modules\u002Fai\u002Fsrc\u002F` for current APIs\n3. If not found locally, search ai-sdk.dev documentation (instructions below)\n4. Never rely on memory - always verify against source code or docs\n5. **`useChat` has changed significantly** - check [Common Errors](references\u002Fcommon-errors.md) before writing client code\n6. When deciding which model and provider to use (e.g. OpenAI, Anthropic, Gemini), use the Vercel AI Gateway provider unless the user specifies otherwise. See [AI Gateway Reference](references\u002Fai-gateway.md) for usage details.\n7. **Always fetch current model IDs** - Never use model IDs from memory. Before writing code that uses a model, run `curl -s https:\u002F\u002Fai-gateway.vercel.sh\u002Fv1\u002Fmodels | jq -r '[.data[] | select(.id | startswith(\"provider\u002F\")) | .id] | reverse | .[]'` (replacing `provider` with the relevant provider like `anthropic`, `openai`, or `google`) to get the full list with newest models first. Use the model with the highest version number (e.g., `claude-sonnet-4-5` over `claude-sonnet-4` over `claude-3-5-sonnet`).\n8. Run typecheck after changes to ensure code is correct\n9. **Be minimal** - Only specify options that differ from defaults. When unsure of defaults, check docs or source rather than guessing or over-specifying.\n\nIf you cannot find documentation to support your answer, state that explicitly.\n\n## Finding Documentation\n\n### ai@6.0.34+\n\nSearch bundled docs and source in `node_modules\u002Fai\u002F`:\n\n- **Docs**: `grep \"query\" node_modules\u002Fai\u002Fdocs\u002F`\n- **Source**: `grep \"query\" node_modules\u002Fai\u002Fsrc\u002F`\n\nProvider packages include docs at `node_modules\u002F@ai-sdk\u002F\u003Cprovider>\u002Fdocs\u002F`.\n\n### Earlier versions\n\n1. Search: `https:\u002F\u002Fai-sdk.dev\u002Fapi\u002Fsearch-docs?q=your_query`\n2. Fetch `.md` URLs from results (e.g., `https:\u002F\u002Fai-sdk.dev\u002Fdocs\u002Fagents\u002Fbuilding-agents.md`)\n\n## When Typecheck Fails\n\n**Before searching source code**, grep [Common Errors](references\u002Fcommon-errors.md) for the failing property or function name. Many type errors are caused by deprecated APIs documented there.\n\nIf not found in common-errors.md:\n\n1. Search `node_modules\u002Fai\u002Fsrc\u002F` and `node_modules\u002Fai\u002Fdocs\u002F`\n2. Search ai-sdk.dev (for earlier versions or if not found locally)\n\n## Building and Consuming Agents\n\n### Creating Agents\n\nAlways use the `ToolLoopAgent` pattern. Search `node_modules\u002Fai\u002Fdocs\u002F` for current agent creation APIs.\n\n**File conventions**: See [type-safe-agents.md](references\u002Ftype-safe-agents.md) for where to save agents and tools.\n\n**Type Safety**: When consuming agents with `useChat`, always use `InferAgentUIMessage\u003Ctypeof agent>` for type-safe tool results. See [reference](references\u002Ftype-safe-agents.md).\n\n### Consuming Agents (Framework-Specific)\n\nBefore implementing agent consumption:\n\n1. Check `package.json` to detect the project's framework\u002Fstack\n2. Search documentation for the framework's quickstart guide\n3. Follow the framework-specific patterns for streaming, API routes, and client integration\n\n## References\n\n- [Common Errors](references\u002Fcommon-errors.md) - Renamed parameters reference (parameters → inputSchema, etc.)\n- [AI Gateway](references\u002Fai-gateway.md) - Gateway setup and usage\n- [Type-Safe Agents with useChat](references\u002Ftype-safe-agents.md) - End-to-end type safety with InferAgentUIMessage\n- [DevTools](references\u002Fdevtools.md) - Set up local debugging and observability (development only)\n",{"name":5,"description":7},"main","ead41175d8411071f1ff14c63ac96debeab8671e",".agents\u002Fskills\u002Fai-sdk","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux","https:\u002F\u002Fgithub.com\u002Fglows777","学而知不足","2026-05-12 00:18:04",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add glows777\u002Fflux --skill ai-sdk",{"tool":56,"command":57},"bunx","bunx skills add glows777\u002Fflux --skill ai-sdk",{"tool":59,"command":60},"pnpm","pnpm dlx skills add glows777\u002Fflux --skill ai-sdk","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fai-sdk\u002FSKILL.md",true,[64,70,74,78],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fai-gateway.md","REFERENCE","参考文档",2191,"https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fai-sdk\u002Freferences\u002Fai-gateway.md",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fcommon-errors.md",11034,"https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fai-sdk\u002Freferences\u002Fcommon-errors.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fdevtools.md",1199,"https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fai-sdk\u002Freferences\u002Fdevtools.md",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Ftype-safe-agents.md",5323,"https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fai-sdk\u002Freferences\u002Ftype-safe-agents.md",[83,106,139,165,187,213],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":94,"publishedAt":38},"01M6K5H4PFQXGV4HCFSJN14DJM","hello-world","A test skill that greets the user. Use for testing skill infrastructure.","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002Fpackages\u002Fserver\u002Fskills\u002Fhello-world\u002FSKILL.md",[89],{"categoryNo":90,"categoryName":91,"taxonomyType":92,"taxonomyTypeDesc":93},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[95,96,97,98,99,100,101,102,103,104,105],"hello world","hello","world","testing","test","Test Skill","infrastructure","testing skill","user","use","for",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":120,"publishedAt":38},"01M6K5GZVBJQ37NPKCZJ5QXCNQ","web-design-guidelines","Review UI code for Web Interface Guidelines compliance. Use when asked to \"review my UI\", \"check accessibility\", \"audit design\", \"review UX\", or \"check my site against best practices\".","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fweb-design-guidelines\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":92,"taxonomyTypeDesc":93},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[121,122,123,124,125,126,127,128,129,130,131,132,133,134,104,135,136,137,138,105],"design","web","guidelines","web design guidelines","web design","review","accessibility","code","best practices","ux","file","audit","compliance","check","vercel","pattern","web interface guidelines","interface",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":143,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":149,"publishedAt":38},"01M6K5GPC1FYXW0A3QWWJ9VG30","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","MIT","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-react-best-practices\u002FSKILL.md",[146],{"categoryNo":147,"categoryName":148,"taxonomyType":92,"taxonomyTypeDesc":93},"01JBSEEDCAT000000000000009","前端开发",[36,150,129,151,135,152,153,154,155,123,156,128,157,158,159,160,161,162,163,164],"vercel react best practices","react best practices","writing","performance","components","react components","tasks","Optimization","Next.js","refactoring","performance optimization","next","pages","triggers","data fetching",{"skillNo":166,"name":167,"nameZh":6,"description":168,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":143,"licenseFileUrl":6,"sourceHtmlUrl":169,"categories":170,"keywords":172,"publishedAt":38},"01M6K5GG8X0GJBVZXR1D7E536K","vercel-composition-patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fvercel-composition-patterns\u002FSKILL.md",[171],{"categoryNo":147,"categoryName":148,"taxonomyType":92,"taxonomyTypeDesc":93},[173,174,135,175,176,154,36,177,156,178,179,180,181,104,182,163,183,184,185,186],"Composition","vercel composition patterns","patterns","composition patterns","architecture","libraries","component architecture","api","react composition","reusable","react 19","render","with","react composition patterns",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":195,"publishedAt":38},"01M6K5GB57GNNJJ1KV6TAQY8VT","ui-design-system","UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fui-design-system\u002FSKILL.md",[193,194],{"categoryNo":113,"categoryName":114,"taxonomyType":92,"taxonomyTypeDesc":93},{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},[121,196,197,198,199,200,201,202,203,204,205,206,207,104,208,209,210,211,212,105],"design system","ui","ui design system","system","ui design","component","documentation","collaboration","toolkit","design systems","dev","developer handoff","visual","generation","ui designer","consistency","design token",{"skillNo":214,"name":215,"nameZh":6,"description":216,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":217,"categories":218,"keywords":222,"publishedAt":38},"01M6K5G63FJFRN8WTF7ME3ZQY4","tailwind-design-system","Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.","https:\u002F\u002Fgithub.com\u002Fglows777\u002Fflux\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftailwind-design-system\u002FSKILL.md",[219,220,221],{"categoryNo":147,"categoryName":148,"taxonomyType":92,"taxonomyTypeDesc":93},{"categoryNo":113,"categoryName":114,"taxonomyType":92,"taxonomyTypeDesc":93},{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},[121,196,223,224,199,225,201,178,205,197,104,226,227,175,228,229,230,231,185,232],"Tailwind","tailwind design system","css","design tokens","build","responsive","tokens","systems","Scalable","implementing"]