Claude API Builder#
Use this skill when the task is specifically about Anthropic or Claude API integration.
Trigger Signals#
- Imports like
anthropic, @anthropic-ai/sdk, or Agent SDK packages
- Requests about streaming, tool use, prompt caching, file uploads, or Claude batch jobs
- Questions about choosing Anthropic API patterns for an app
Workflow#
- Detect the project language and SDK surface.
- Choose the smallest fitting pattern: simple messages, streaming, tools, batches, or files.
- Prefer official docs and SDK-native examples.
- Keep model names, error handling, and retries explicit.
- Explain when to browse live docs for fast-moving API details.
Guardrails#
- Do not pivot to non-Anthropic SDKs unless the user asks.
- Prefer primary documentation over memory for model/API specifics.
- Separate one-shot prompts from stateful agent workflows.
Example Requests#
- Add Anthropic streaming support to this TypeScript app.
- Help me implement tool use with the Python Anthropic SDK.
- Project language
- Anthropic API feature needed
- Performance or UX constraints
Outputs#
- Recommended API pattern
- Implementation guidance
- SDK-specific caveats
Success Criteria#
- The guidance 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 design by default
Source Provenance#
Derived from src/skills/bundled/claudeApi.ts and the bundled Claude API references.