claude-api

Centralize Claude API implementation patterns across multiple programming languages.

2|1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/huangzida/skills --skill claude-api-huangzida
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-api
Source: https://github.com/huangzida/skills/tree/main/claude-api
Command: npx skills add https://github.com/huangzida/skills --skill claude-api-huangzida

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Claude API integration across languages is complex and error-prone; this skill provides unified patterns, examples, and migration guidance.

Core Features & Use Cases

  • Cross-language SDK guidance for Python, TypeScript, Java, Go, Ruby, PHP, and cURL.
  • Migration and error handling guidance for Opus 4.7/4.6/Sonnet 4.x, including adaptive thinking and prompt caching.
  • Example-driven templates for single-call, streaming, tool use, and Managed Agents workflows.

Quick Start

Ask me for a simple Python example that sends a Claude API request with adaptive thinking and streaming enabled.

Frequently Asked Questions about claude-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate the Claude API across multiple programming languages?

Adaptive thinking and prompt caching are enforced in Claude API integration patterns by default, with guided examples showing how to enable streaming for single-call requests in Python and other supported languages.

How do I migrate my Claude API application to the Opus 4.7 model?

Migration to Claude Opus 4.7 is guided with up-to-date model usage rules, adaptive thinking enforcement, prompt caching, and error handling patterns for transitioning from Opus 4.6 and Sonnet 4.x models.

Does the Claude API support streaming responses and tool use in Go?

Claude API streaming and tool use are supported in Go through cross-language SDK guidance, providing example-driven templates for building single-call, streaming, and managed agents workflows.

What is the best way to handle Claude API errors during model migration?

The best way to handle Claude API errors during model migration is using the provided migration guidance and error handling patterns, which cover adaptive thinking and prompt caching transitions between Opus 4.7, 4.6, and Sonnet 4.x.

Can I use the Claude API with TypeScript for managed agents workflows?

You can use the Claude API with TypeScript for managed agents workflows, utilizing example-driven templates that cover streaming, tool use, and memory integration across the TypeScript SDK.