运行时依赖
安装命令
点击复制技能文档
Claude API 构建器
Use this 技能 when the task is specifically about Anthropic or Claude API integration.
Trigger 签名als 导入s like anthropic, @anthropic-AI/sdk, or 代理 SDK packages 请求s about 流ing, 工具 use, prompt caching, file 上传s, or Claude batch jobs Questions about choosing Anthropic API patterns for an 应用 工作流 检测 the project language and SDK surface. Choose the smallest fitting pattern: simple messages, 流ing, 工具s, batches, or files. Prefer official docs and SDK-native examples. Keep 模型 names, error handling, and retries explicit. ExplAIn when to browse live docs for fast-moving API detAIls. 防护rAIls Do not pivot to non-Anthropic SDKs unless the user asks. Prefer primary documentation over memory for 模型/API specifics. Separate one-shot prompts from 状态ful 代理 工作流s. Example 请求s 添加 Anthropic 流ing support to this TypeScript 应用. Help me implement 工具 use with the Python Anthropic SDK. 输入s Project language Anthropic API feature needed Performance or UX constrAInts 输出s Recommended API pattern Implementation 图形界面dance SDK-specific caveats 成功 Criteria The 图形界面dance matches Anthropic APIs specifically. The selected pattern fits the use case and language. Fast-moving API detAIls are called out clearly. Non-Goals General LLM vendor-neutral advice Non-Anthropic SDK de签名 by default Source Provenance
Derived from src/技能s/bundled/claudeAPI.ts and the bundled Claude API references.