claude-api
Builds or debugs Anthropic Claude integrations using @anthropic-ai/sdk — messages, tool use, extended thinking, prompt caching, streaming. Use when editing src/lib/ai/clients/anthropic.ts or adding Cl
SKILL.mdcursor/claude-api/SKILL.md
GitHubClaude API (Cursor)
Canonical source
.claude/skills/claude-api/SKILL.md contains model IDs, message format notes, tool-use loops, caching, and a table of authoritative docs.anthropic.com URLs.
In Cursor
- Read the canonical skill section for your task (tool use, streaming, caching, etc.).
- Use WebFetch or WebSearch on the listed Anthropic URLs when model names or API fields may have changed.
- Keep client access through
anthropicClientfromsrc/lib/ai/clients/anthropic.tsandenvfrom@/lib/env.