✨

Claude API Builder

Claude API Builder · v1.0.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(BAD_NAME)。我们仍保留下载,方便你自行查看内容。
安全 unknown 级 作者 wimi321 公开目录收录
617 下载 0 安装 2.4k 收藏 2 浏览

简介

Claude API Builder

原始描述

Use when code imports Anthropic SDKs or the user asks to build with the Claude API, Agent SDK, tool use, streaming, files, or batches.

通过你的 Agent 添加

安装目录:claude-api-builder/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/claude-api-builder/
Codex CLI~/.codex/skills/claude-api-builder/
DeepSeek Harness~/.agents/skills/claude-api-builder/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: "claude_api_builder" description: "Use when code imports Anthropic SDKs or the user asks to build with the Claude API, Agent SDK, tool use, streaming, files, or batches."

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

  1. Detect the project language and SDK surface.
  2. Choose the smallest fitting pattern: simple messages, streaming, tools, batches, or files.
  3. Prefer official docs and SDK-native examples.
  4. Keep model names, error handling, and retries explicit.
  5. 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.

Inputs

  • 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.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill