create-provider-package-with-core
Create Provider Package With Core
Build your own provider adapter package on top of @prefactor/core.
Core principle: @prefactor/core handles tracing infrastructure, while your adapter maps provider-specific APIs.
Trigger Phrases
Apply this skill when the request includes patterns like:
- "add a new provider package"
- "instrument provider X using @prefactor/core"
- "my framework does not have a Prefactor adapter"
- "build a custom SDK integration with Prefactor"
Workflow
More from prefactordev/typescript-sdk
instrument-existing-agent-with-prefactor-sdk
Use when an existing agent already works without Prefactor and you need to add tracing for runs, llm calls, tool calls, and failures with minimal behavior changes.
39prefactor-skill-selector
Use when choosing which Prefactor SDK skill to load for agent instrumentation or for building a custom provider integration on top of @prefactor/core.
37bootstrap-existing-agent-with-prefactor-cli
Use when an existing agent needs Prefactor resources created via the Prefactor CLI before SDK instrumentation is added.
32report-agent-risk-data
Use when an agent is already instrumented with Prefactor and you need to populate data_risk fields on its span types to enable compliance tracking and data governance.
5ai-sdk
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".
2caveman
>
1