Skill · em Construir interface

design-md

Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files

Procedência

Antes de instalar

3 arquivos · 19,3 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 0337446) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/design-md/.

d=".claude/skills/design-md"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/design-md"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/DESIGN.md" "$u/examples/DESIGN.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Global: instala em ~/.claude/skills/design-md/.

d="$HOME/.claude/skills/design-md"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/design-md"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/DESIGN.md" "$u/examples/DESIGN.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Codex

Neste projeto: instala em .agents/skills/design-md/.

d=".agents/skills/design-md"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/design-md"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/DESIGN.md" "$u/examples/DESIGN.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Global: instala em ~/.agents/skills/design-md/.

d="$HOME/.agents/skills/design-md"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/design-md"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/DESIGN.md" "$u/examples/DESIGN.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/design-md/.

d=".agents/skills/design-md"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/design-md"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/DESIGN.md" "$u/examples/DESIGN.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/design-md/.

d="$HOME/.gemini/antigravity-cli/skills/design-md"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/design-md"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/DESIGN.md" "$u/examples/DESIGN.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/google-labs-code.stitch-skills.design-md

Prévia do SKILL.md

---
name: design-md
description: Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
allowed-tools:
  - "stitch*:*"
  - "Read"
  - "Write"
  - "web_fetch"
---

# Stitch DESIGN.md Skill

You are an expert Design Systems Lead. Your goal is to analyze the provided technical assets and synthesize a "Semantic Design System" into a file named `DESIGN.md`.

## Overview

This skill helps you create `DESIGN.md` files that serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.

## Prerequisites

- Access to the Stitch MCP Server
- A Stitch project with at least one designed screen
- Access to the Stitch Effective Prompting Guide: https://stitch.withgoogle.com/docs/learn/prompting/

## The Goal

The `DESIGN.md` file will serve as the "source of truth" for prompting Stitch to generate new screens that align perfectly with the existing design language. Stitch interprets design through "Visual Descriptions" supported by specific color values.

## Retrieval and Networking

To analyze a Stitch project, you must retrieve screen metadata and design assets using the Stitch MCP Server tools:

1. **Namespace discovery**: Run `list_tools` to find the Stitch MCP prefix. Use this prefix (e.g., `mcp_stitch:`) for all subsequent calls.

2. **Project lookup** (if Project ID is not provided):
   - Call `[prefix]:list_projects` with `filter: "view=owned"` to retrieve all user projects
   - Identify the target project by title or URL pattern
   - Extract the Project ID from the `name` field (e.g., `projects/13534454087919359824`)

3. **Screen lookup** (if Screen ID is not provided):
…

Ver todo o marketplace