Skip to main content

api-docs

Enriches API queries with multi-language SDK code snippets

跳到安装

来源信息

仓库
ApiliumCode/mayros
最近来源活动
2026年2月26日 12:53
检测到的 SKILL.md 语言
英语
星标
12
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
10 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
api-docs
description
Enriches API queries with multi-language SDK code snippets
type
semantic
user-invocable
true
semantic
{"skillVersion":1,"permissions":{"graph":["read"],"memory":["recall"]},"queries":[{"predicate":"docs:snippet","scope":"agent"}]}
# api-docs Enriches API-related queries with compact, multi-language SDK code snippets for the Anthropic Messages API. ## When to Use Use when working with the Anthropic API, generating SDK examples, or when you need quick reference snippets for common API operations across multiple programming languages. ## Supported Operations - **messages** -- Basic message creation - **streaming** -- Server-sent events streaming - **tool_use** -- Tool/function calling - **vision** -- Image input processing - **batch** -- Batch message processing - **embeddings** -- Text embeddings ## Supported Languages Python, TypeScript, Java, Go, Ruby, PHP, C# ## Instructions 1. Recall any previous API documentation context with `skill_memory_context` 2. Analyze query results for operation keywords (e.g., "stream", "tool", "vision") 3. Detect the target programming language from context 4. Return matching code snippets; defaults to Python and TypeScript if no language is detected
在 GitHub 查看