stitch::upload-to-stitch
将本地资源(图片、设计稿、提取的HTML、设计Markdown)上传到Stitch项目。当需要将视觉资源、HTML页面或设计文档上传到Stitch时,务必使用此技能,尤其是在直接调用MCP工具因base64令牌限制而失败或被截断时。
机器翻译查看英文原文
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project. ALWAYS use this skill when you need to upload visual assets, HTML pages, or design docs to Stitch, particularly when direct MCP tool calls fail or truncate due to base64 token limits.
适用对象:设计与内容创作。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Upload-to-Stitch
- Steps
- 1. Identify Target Project
- 2. Get the API Key
- 3. Run Upload Script
- Supported File Types
- Script Options
Upload local assets (images, mockups, HTML, and markdown files) to a Stitch project using the provided upload script, which bypasses the MCP tool's base64 output token limits. [!NOTE] The AI model cannot upload files via MCP tools directly because the base64 encoding of even a small file exceeds the model's output token limit (16K tokens). This script reads the file and sends it directly over HTTP. Use listprojects to find the correct projectId. Locate your active MCP server configuration file and extract the API key: Antigravity: .gemini/antigravity/mcpconfig.json or .gemini/jetski/mcpconfig.json Gemini CLI: /.gemini/settings.json or /.gemini/extensions/Stitch/gemini-extension.json Claude Code: /.claude.json Extract: API Key: From the X-Goog-Api-Key header or auth argument MCP URL (optional): From the httpUrl or endpoint argument (defaults to https://stitch.googleapis.com) [!IMPORTANT] If you cannot find the API key in any of these locations, or if you cannot access these files, you MUST ask the user to provide the Stitch API key. Do not proceed without a valid API key. [!WARNING] Checkpoint — User Confirmation Required. Before running the upload script, you MUST pause and present
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- google-labs-code/stitch-skills
- 源文件
- plugins/stitch-design/skills/upload-to-stitch/SKILL.md
- 固定版本
- 0337446dadde6f8c94210444e2aa9d546126480f
准备条件
- 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。
第一件可以尝试的小事
先阅读原作者说明,再决定是否在自己的 AI 工具中使用。
对应 AI 工具说明
作者有说明不等于本站实机验证。没有证据时,不自动标为兼容、安全或免费。
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:Google Stitch Skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:41.145Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
Apache-2.0。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。