sketch-ai-provider-debug
БесплатноБез исполняемых скриптовНе проверенDebug OpenAI/Gemini image generation failures for Sketch Magic. Use when `/api/convert` returns 500, when models are unsupported, when outputs are empty, or…
от majiayu000★ 31 звезда на GitHubОб этом скилле
Sketch AI Provider Debug
Overview
Provide a consistent debug flow for image generation failures across OpenAI and Gemini providers without leaking secrets.
Workflow
1) Verify configuration
- Confirm
OPENAI_API_KEY/GEMINI_API_KEYexist. - Confirm
DEFAULT_PROVIDER,OPENAI_IMAGE_MODEL,GEMINI_IMAGE_MODELmatch supported models. - Use
/api/healthto confirm defaults.
2) Reproduce with a controlled request
- Use a tiny PNG and short prompt.
- Use
curlto hit/api/convert(multipart form data). - Keep logs visible (server + client).
3) Interpret common failures
- 500: provider error, missing key, quota, or model mismatch.
- 400: invalid image type, size, or prompt.
- Timeout: provider latency or host timeout config.
4) Fix or adjust
- Swap to a known-good model.
- Reduce image size or prompt complexity.
- Confirm provider SDK versions align with supported endpoints.
5) Report safely
- Do not log API keys or raw image bytes.
- Summarize error codes and timing only.
References
references/openai-image-api.mdreferences/gemini-image-api.md
Установить sketch-ai-provider-debug в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл sketch-ai-provider-debug?
Debug OpenAI/Gemini image generation failures for Sketch Magic. Use when `/api/convert` returns 500, when models are unsupported, when outputs are empty, or when provider timeouts/quota errors appear.
Как установить скилл sketch-ai-provider-debug?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл sketch-ai-provider-debug запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic