Command Palette

Search for a command to run...

Output Schema Guard(结构化输出校验护栏) vs claude-api

Сравнение двух Agent Skills бок о бок. Выбери подходящий для Claude Code или Claude Desktop.

№ 23664Output Schema Guard(结构化输出校验护栏)

Treat model output as untrusted input: validate JSON against a schema for required fields, types and allowed values, then return a fix hint instead of a raw…

№ 36730claude-api

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…

Сравнение

ПараметрOutput Schema Guard(结构化输出校验护栏)claude-api
Скриптынетнет
Разрешённые инструменты3любые
Тип установкиpersonalpersonal
Категорияcodingcoding
Проверен—
ЛицензияMITComplete terms in LICENSE.txt
Авторzhaoxinghua09-cellAnthropic
Repo—anthropics/skills

Когда брать Output Schema Guard(结构化输出校验护栏)

Treat model output as untrusted input: validate JSON against a schema for required fields, types and allowed values, then return a fix hint instead of a raw parse error. 当用户说『模型返回的JSON又崩了』『字段缺失对不上』『下游解析失败』『怎么强制LLM输出合规结构』,或要把 LLM 的 JSON/结构化输出接进代码(API/数据库/表单)时使用。把模型输出当『不可信外部输入』:用 schema 校验必填字段·类型·枚举,缺则给可执行的修复提示而非裸报错。理论根基:LGD 三律(有籍·有证·有门禁)。触发词:结构化输出、JSON校验、schema guard、输出格式、字段缺失、模型输出解析、function calling、tool output。

Когда брать claude-api

Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any form (Claude, Anthropic, Fable, Opus, Sonnet, Haiku, `anthropic`, `@anthropic-ai`, `claude-*`, `us.anthropic.*`, `[1m]`); the user asks about an LLM (pricing/model choice/limits/caching) — never answer from memory; OR the task is LLM-shaped with provider unstated (agent/MCP/tool-definition/multi-agent/RAG/LLM-judge/computer-use; generate/summarize/extract/classify/rewrite/converse over NL; debugging refusals/cutoffs/streaming/tool-calls/tokens). SKIP only when another provider is being worked on (overrides all triggers): OpenAI/GPT/Gemini/Llama/Mistral/Cohere/Ollama named in the query; OR `grep -rE 'openai|langchain_openai|google.generativeai|genai|mistralai|cohere|ollama'` over the project hits (run this grep FIRST if no provider named — don't Read the file).

Ищешь другое? Все скиллы.