claude-api
Claude APIおよびAnthropic SDKアプリの構築、デバッグ、最適化を行います。このスキルで構築するアプリはプロンプトキャッシング機能を含める必要があります。また、既存のClaude APIコードをClaude モデルのバージョン間(4.5 → 4.6、4.6 → 4.7、廃止モデルの置き換え)で移行することもできます。以下の場合に起動します:コードが`anthropic`/`@anthropic-ai/sdk`をインポートしている場合、ユーザーがClaude API、Anthropic SDK、またはManaged Agentsについて質問する場合、ファイル内のClaude機能(キャッシング、thinking、compaction、ツール使用、batch、ファイル、引用、メモリ)またはモデル(Opus/Sonnet/Haiku)を追加・修正・調整する場合、Anthropic SDKプロジェクトのプロンプトキャッシングとキャッシュヒット率に関する質問がある場合です。以下の場合はスキップします:ファイルが`openai`/その他プロバイダーのSDKをインポートしている場合、`*-openai.py`/`*-generic.py`のようなファイル名の場合、プロバイダー中立的なコード、一般的なプログラミング/ML関連。
description の原文を見る
Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.
SKILL.md 本文
Building LLM-Powered Applications with Claude
This skill helps you build LLM-powered applications with Claude. Choose the right surface based on your needs, detect the project language, then read the relevant language-specific documentation.
Before You Start
Scan the target file (or, if no target file, the prompt and project) for non-Anthropic provider markers — import openai, from openai, langchain_openai, OpenAI(, gpt-4, gpt-5, file names like agent-openai.py or *-generic.py, or any explicit instruction to keep the code provider-neutral. If you find any, stop and tell
...
詳細情報
- 作者
- anthropics
- リポジトリ
- anthropics/skills
- ライセンス
- 不明
- 最終更新
- 2026/5/9
Source: https://github.com/anthropics/skills / ライセンス: 未指定