yangshun2005

Stitch Skills Cn — Development skill for Claude Code

Development community

[中文化] A library of Agent Skills designed to work with the Stitch MCP server.

How to install Stitch Skills Cn

This entry records only its repository, not the path inside it, so there is no exact command to give. Open yangshun2005/stitch-skills-cn and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Stitch Skills Cn does

[中文化] A library of Agent Skills designed to work with the Stitch MCP server. Each skill follows the Agent Skills open standard, for compatibility with coding agents such as Antigravity, Gemini CLI, Claude Code, Cursor.

Alternatives in Development

README

**[中文化] stitch-skills**

此项目是 [google-labs-code/stitch-skills](https://github.com/google-labs-code/stitch-skills) 的中文翻译版本。

  • 原项目 Stars: 11045
  • 主语言: TypeScript
  • 许可证: Apache-2.0
  • 翻译日期: 2026-11-21
  • 原始 README: README_en.md

说明:下方 README 正文为**原项目文档的中文翻译**,力求忠于原文;本页顶部的「中文快速上手」为**面向中文用户的补充导读**(非原文内容),目的是让你不用读完整篇 README 就能先把项目跑起来。

如有翻译不准确之处,欢迎提 Issue 或 PR。


🚀 中文快速上手(补充导读,非原文)

这是什么 / 解决什么问题

Stitch Design Skills 是 Google Stitch 的一套 agent skills 与插件集合,遵循 Agent Skills 开放标准,可配合 Codex、Antigravity、Gemini CLI、Claude Code、Cursor、OpenCode 等编码 agent 使用。它把「设计稿生成、代码转设计、设计系统管理、设计转 React 组件」等流程封装成可被 agent 调用的技能,解决在 Stitch 中做设计到代码转换时缺少标准化操作入口的问题。

快速上手(最短路径)

  1. 先完成 Stitch MCP 的配置:按原文链接(https://stitch.withgoogle.com/docs/mcp/setup/)注册 Stitch MCP server,并设置好相应的环境变量与凭据。原文强调这些技能依赖 Stitch MCP 已配置并在 agent 环境中运行。
  2. 按你使用的 agent 选择安装方式(推荐插件方式):
    • Codex(CLI):
      codex plugin marketplace add google-labs-code/stitch-skills --ref main \
        --sparse .agents/plugins \
        --sparse plugins/stitch-design \
        --sparse plugins/stitch-build \
        --sparse plugins/stitch-utilities
    • Claude Code:
      npx plugins add google-labs-code/stitch-skills --scope project --target claude-code
    • Cursor:
      npx plugins add google-labs-code/stitch-skills --scope workspace --target cursor
  3. 注册 marketplace 后,按需安装 stitch-design、stitch-build、stitch-utilities 中的任意组合。
  4. 若只想装部分技能,可用:
    npx skills add google-labs-code/stitch-skills
    原文提醒:这些技能常有相互依赖,选择性安装时需包含所有必需依赖。
  5. OpenCode 用户需手动安装:把所需技能文件夹复制到 .opencode/skills/(例如 cp -R plugins/stitch-design/skills/generate-design .opencode/skills/generate-design),并在 opencode.json 或 ~/.config/opencode/opencode.json 中添加 Stitch MCP 远程条目(url 填 Stitch MCP 设置流程给出的端点)。

环境要求

  • 操作系统:原文未说明。
  • 硬件:原文未说明。
  • 依赖:需要配置并运行 Stitch MCP server,并设置相应环境变量与凭据;使用插件安装方式需要能运行 codex、npx 等命令。
  • 版本要求:原文未说明。
  • 国内网络环境可能