stitch-skills

Framework

google-labs-code/stitch-skills

A library of Agent Skills for the Stitch MCP server and coding agents.

Overview

A collection of agent skills and plugins following the Agent Skills open standard. Designed to work with coding agents such as Antigravity, Gemini CLI, Claude Code, and Cursor, enabling design, build, and utility workflows for Google Stitch.

README Preview

# Stitch Design Skills\n\nA collection of agent skills and plugins for [Google Stitch](https://stitch.withgoogle.com), following the [Agent Skills](https://agentskills.io) open standard. Compatible with coding agents such as Codex, Antigravity, Gemini CLI, Claude Code, and Cursor.\n\n## Quick Start\n\n### 1. Install Plugins (Recommended)\nThe fastest way to set up the full Stitch plugin suite globally.\n\n#### Codex\n\nAdd the Stitch Skills marketplace, then install the plugins you need.\n\n\nVia CLI (recommended)\n\n```bash\ncodex plugin marketplace add google-labs-code/stitch-skills --ref main \\n  --sparse .agents/plugins \\n  --sparse plugins/stitch-design \\n  --sparse plugins/stitch-build \\n  --sparse plugins/stitch-utilities\n```\n\n> [!TIP]\n> The `--sparse` flags are optional — they limit the checkout to only the\n> listed paths for a faster clone. Omit them to pull the entire repository.\n\n\n\n\nVia the Codex UI\n\nNavigate to **Settings → Plugin Marketplaces → Add** and fill in:\n\n| Field | Value |\n|---|---|\n| **Source** | `https://github.com/google-labs-code/stitch-skills` |\n| **Git ref** | `main` |\n| **Sparse paths** | *(optional)* `.agents/plugins`, `plugins/stitch-design`, `plugins/stitch-build`, `plugins/stitch-utilities` |\n\n\n\nOnce the marketplace is registered, install any combination of:\n\n- **`stitch-design`** — design-focused skills\n- **`stitch-build`** — build and component skills\n- **`stitch-utilities`** — utility and helper skills\n\n#### Claude Code & Cursor\n\n```bash\n# Claude Code — installs into the current project\nnpx plugins add google-labs-code/stitch-skills --scope project --target claude-code\n```\n\n```bash\n# Cursor — installs into the current workspace\nnpx plugins add google-labs-code/stitch-skills --scope workspace --target cursor\n```\n\n### 2. Install Skills Selectively\nChoose only the specific skills you need.\n\n> [!IMPORTANT]\n> Stitch Design Skills often have inter-dependencies. If you choose to install ski

FAQ (5)

Troubleshooting
How do I fix "Unknown target: antigravity" when installing Stitch skills with npx plugins?

The @vercel-labs/plugins CLI does not support antigravity; it only supports claude-code, cursor, and codex. For Antigravity, install Stitch skills using either:

1. Native Antigravity CLI (recommended):

agy plugin install https://github.com/google-labs-code/stitch-skills

2. Skills CLI, which automatically detects Antigravity:

npx skills add google-labs-code/stitch-skills

The second command copies the skills into .agents/skills/ in your project. Replace the documented npx plugins add ... --target antigravity command with one of these working alternatives.

GitHub Issue #76
Troubleshooting
How do I fix the Allstar "Security policy not enabled" SECURITY.md violation?

Add a SECURITY.md file to the repository describing supported versions and how to report vulnerabilities privately, such as GitHub private vulnerability reporting or encrypted email. You can create it directly at https://github.com/<owner>/<repo>/security/policy, or place the file in the repository root, docs/, or .github/. Example content:

# Security Policy

## Supported Versions
| Version | Supported |
| ------- | --------- |
| latest  | Yes       |

## Reporting a Vulnerability
Please report vulnerabilities privately using GitHub's private vulnerability reporting. Do not open a public issue.

Commit the file to the default branch. Allstar will automatically resolve the issue once the repository is compliant.

GitHub Issue #2
Troubleshooting
How to fix the "'add-skill' has been renamed to 'skills'" deprecation warning?

Replace the deprecated npx add-skill command with npx skills add. All existing flags and options remain unchanged.

Before:

npx add-skill google-labs-code/stitch-skills --skill react:components --global

After:

npx skills add google-labs-code/stitch-skills --skill react:components --global

Update any installation scripts or documentation that still use npx add-skill. For example, use npx skills add vercel-labs/agent-skills to add a skill package.

GitHub Issue #12
Troubleshooting
How do I fix Antigravity not appearing when installing Stitch skills?

Do not use npx plugins add google-labs-code/stitch-skills --scope project --target antigravity; the antigravity target is not supported with that command. Instead run:

npx skills add google-labs-code/stitch-skills

Select the related skills when prompted. Antigravity is included by default under the Universal .agents/skills installation, along with Amp, Cline, Cursor, Gemini CLI, GitHub Copilot, and others.

GitHub Issue #53
Troubleshooting
How to fix 'No matching skills found' when adding a skill from stitch-skills with npx skills?

This is caused by a recent change that adds an extra top-level skill, so the default branch only discovers stitch::react-native. Until the fix is merged, install from the refactor branch instead:

npx skills add google-labs-code/stitch-skills#refactor

If needed, specify the skill explicitly:

npx skills add google-labs-code/stitch-skills#refactor --skill taste-design

The v1.0 tag also works as a temporary workaround: https://github.com/google-labs-code/stitch-skills/tree/v1.0.

GitHub Issue #66