Agent skill

Common Stitch Design

by HoangNguyen0403 in HoangNguyen0403/agent-skills-standard

Drive Google Stitch over MCP safely - read screens, write and lint DESIGN.md, create design systems, and fix designs through variants instead of overwriting.

MITAuto-check passedFrontend & Design

Install Common Stitch Design

skills CLI
$ npx skills add HoangNguyen0403/agent-skills-standard --skill common-stitch-design -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HoangNguyen0403/agent-skills-standard common-stitch-design --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/common/common-stitch-design .claude/skills/common-stitch-design && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
common-stitch-design
GitHub stars
572
Token cost
~686 tokens
SKILL.md length
261 words
Files
7 (incl. scripts, references)
Skills in repo
211
Repo updated
First seen
Licence
MIT

At a glance

Drive Google Stitch over MCP safely - read screens, write and lint DESIGN.md, create design systems, and fix designs through variants instead of overwriting.

  • Generating Stitch screens
  • SKILL.md covers Priority: P1 (HIGH), Preflight, Read and Write Safely, plus 3 more sections
  • Runs JavaScript scripts from its folder; calls node and npx; reaches stitch.googleapis.com
  • DESIGN.md files

What it does

Common Stitch Design is an agent skill from HoangNguyen0403/agent-skills-standard. Drive Google Stitch over MCP safely - read screens, write and lint DESIGN.md, create design systems, and fix designs through variants instead of overwriting. Use when reviewing, editing, or generating Stitch screens or DESIGN.md files.

Its SKILL.md is about 690 tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts and reference files (for example `evals/evals.json`, `references/design-md.md` and `references/prompting.md`).

It sits in Frontend & Design, covering Design tokens, Design systems and Linting and formatting. It works with Google Stitch and Model Context Protocol. The repository describes itself as: A collection of Agent Skills Standard and Best Practice for Programming Languages, Frameworks that help our AI Agent follow best practies on frameworks and programming laguages. The licence is MIT.

When your agent uses it

  • Generating Stitch screens
  • DESIGN.md files

Example prompts

  • “/common-stitch-design”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit b529c2d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • npx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • stitch.googleapis.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Common Stitch Design loads about 686 tokens when it runs, and up to ~2.1k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 261 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~686
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from HoangNguyen0403/agent-skills-standard at commit b529c2d, republished under its MIT licence (© HoangNguyen0403). 261 words, ~686 tokens.

Download SKILL.mdSave it as .claude/skills/common-stitch-design/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
common-stitch-design
description
Drive Google Stitch over MCP safely - read screens, write and lint DESIGN.md, create design systems, and fix designs through variants instead of overwriting. Use when reviewing, editing, or generating Stitch screens or DESIGN.md files.

Stitch Design

Priority: P1 (HIGH)

Preflight

  • Stitch tools (list_projects, list_screens, get_screen) must be in the tool list. Missing → BLOCKED (stitch-mcp).
  • Endpoint https://stitch.googleapis.com/mcp, header X-Goog-Api-Key. Config added mid-session loads only after restart. Setup: Stitch MCP.

Read

  • list_screens, then group by title: many versions share one title. Confirm the current one with the author; default most recent.
  • Screenshot screenshot.downloadUrl + =w390 (phone) or =w1280 (tablet); HTML htmlCode.downloadUrl. Save to .stitch/review/<YYYY-MM-DD>/.
  • Run node scripts/audit_html.js <dir>. Audit output is evidence; screenshots confirm visual judgement.

Write Safely

  • Never overwrite originals. Fix through generate_variants (creativeRange: REFINE, variantCount: 1) or a new design system.
  • Explicit approval before delete_project, update_design_system on an existing asset, or apply_design_system to original screens.
  • New design system: create_design_system with theme.designMd, then update_design_system on that new asset.
  • apply_design_system takes screen instance ids from get_project, not screen ids.
  • Generation takes minutes. On timeout do not retry; poll get_screen every 30 s, max 10.
  • Variant output includes illustration image screens with null deviceType: skip them. Check device class on the screenshot; a TABLET request can return DESKTOP.

DESIGN.md

  • Google design.md format. npx @google/design.md lint DESIGN.md must report 0 errors and 0 warnings before upload.
  • Every component backgroundColor/textColor pair must pass contrast. Rules: DESIGN.md.

Prompting

  • Generation prompts: layout and content only. Edit and variant prompts may carry hex values.
  • One shared fix block plus per-screen specifics; re-audit after each pass; max 2 edit_screens passes on variants only. See Prompting.

Anti-Patterns

  • No in-place fixes: editing originals destroys the baseline.
  • No trusting labels: titles and device labels drift; check screenshots.
  • No unlinted DESIGN.md: one bad colour pair ships to every screen.

© HoangNguyen0403, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references) in skills/common/common-stitch-design of HoangNguyen0403/agent-skills-standard.

  • SKILL.md
  • evals/evals.json
  • references/design-md.md
  • references/prompting.md
  • references/stitch-mcp.md
  • scripts/audit_html.js
  • scripts/audit_html.test.js

Open the folder on GitHubat commit b529c2d

Compare with similar skills

Common Stitch Design next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Common Stitch Design compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Common Stitch Design this skillHoangNguyen0403/agent-skills-standard572—~686Automated safety check: PassMIT
Omk StitchKaimingWan/oh-my-kiro107—~2.2kAutomated safety check: PassMIT
AI UI Generationyonatangross/orchestkit292—~2.7kAutomated safety check: PassMIT
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Stitch Taste Design Systemgoogle-labs-code/stitch-skills8.5k15 repos~3.1kAutomated safety check: PassApache-2.0
Figma Screen Generatorwarpdotdev/warp65k2 repos~5kAutomated safety check: PassAGPL-3.0

Similar skills

  • Omk Stitch

    KaimingWan/oh-my-kiro

    Google Stitch design-to-code workflow with design system management.

    107 GitHub stars~2.2k tokensUpdated 6 mo ago
    Frontend & DesignAuto-check passed
  • AI UI Generation

    yonatangross/orchestkit

    AI-assisted UI generation patterns for json-render, v0.app, Google Stitch, Bolt Cloud, and Cursor workflows.

    292 GitHub stars~2.7k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Stitch Taste Design System

    google-labs-code/stitch-skills

    Official

    Generates a DESIGN.md design-language file for Google Stitch that encodes color, typography, layout, component behavior and motion rules to avoid generic AI-looking UI.

    8.5k GitHub starsUsed in 15 repos~3.1k tokens
    Frontend & DesignAuto-check passed
  • Figma Screen Generator

    warpdotdev/warp

    Builds or updates full Figma screens from code or a description by reusing the file's published design system components, variables and styles.

    65k GitHub starsUsed in 2 repos~5k tokens
    Frontend & DesignAuto-check passed
  • Extract Design System

    arvindrk/extract-design-system

    Extract design primitives from a public website and generate starter token files for your project.

    237 GitHub starsUsed in 1 repo~514 tokens
    Frontend & DesignAuto-check passed

More from HoangNguyen0403/agent-skills-standard

All 211 skills in this repo
  • Subagent-Driven Development

    HoangNguyen0403/agent-skills-standard

    Runs a multi-task implementation plan by sending each task to a fresh implementer subagent, reviewing it independently, then reviewing the whole branch.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • draw.io Architecture Diagramming

    HoangNguyen0403/agent-skills-standard

    Draws architecture diagrams as editable draw.io files from a JSON spec, with a fixed house style, one C4 level per diagram and evidence-tagged shapes.

    572 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Android Navigation 3 Guide

    HoangNguyen0403/agent-skills-standard

    Implements and migrates to Jetpack Navigation 3 in Compose: NavDisplay, typed route objects, a state-list back stack, deep links, multiple back stacks and dialog scenes.

    572 GitHub stars~687 tokensUpdated yesterday
    Auto-check passed
  • Angular HttpClient Standards

    HoangNguyen0403/agent-skills-standard

    Sets rules for Angular HTTP code: functional interceptors, typed requests, services that own every call, and httpResource for reactive data loading in Angular 17+.

    572 GitHub stars~652 tokensUpdated yesterday
    Auto-check passed
  • Angular Tooling

    HoangNguyen0403/agent-skills-standard

    Angular CLI usage, code generation, build configuration, and bundle optimization.

    572 GitHub stars~743 tokensUpdated yesterday
    Auto-check passed
  • Common Code Review

    HoangNguyen0403/agent-skills-standard

    Conduct high-quality, persona-driven code reviews. An agent skill from HoangNguyen0403/agent-skills-standard.

    572 GitHub stars~772 tokensUpdated yesterday
    Auto-check passed

Questions about Common Stitch Design

What does Common Stitch Design do?

Drive Google Stitch over MCP safely - read screens, write and lint DESIGN.md, create design systems, and fix designs through variants instead of overwriting. Common Stitch Design is an agent skill from HoangNguyen0403/agent-skills-standard.md, create design systems, and fix designs through variants instead of overwriting.

When should I use Common Stitch Design?

Common Stitch Design fits situations like: generating Stitch screens; DESIGN.md files.

How do I install Common Stitch Design in Claude Code?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill common-stitch-design -a claude-code`. Or copy the skill folder (skills/common/common-stitch-design in HoangNguyen0403/agent-skills-standard) into .claude/skills/common-stitch-design in your project. Claude Code loads it when a task matches its description.

How do I install Common Stitch Design in Codex?

Run `npx skills add HoangNguyen0403/agent-skills-standard --skill common-stitch-design -a codex`. Or copy the skill folder (skills/common/common-stitch-design in HoangNguyen0403/agent-skills-standard) into .agents/skills/common-stitch-design in your project. Codex loads it when a task matches its description.

Can I use Common Stitch Design in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HoangNguyen0403/agent-skills-standard --skill common-stitch-design -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/common-stitch-design, .gemini/skills/common-stitch-design, .github/skills/common-stitch-design and .opencode/skills/common-stitch-design in your project.

What does Common Stitch Design need to run?

Going by SKILL.md and its folder, Common Stitch Design needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and npx). Our summary lists: Node.js.

Does Common Stitch Design access the network?

SKILL.md names 1 domain. In commands or code: stitch.googleapis.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Common Stitch Design safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Common Stitch Design use?

Common Stitch Design is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Common Stitch Design use?

About 686 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Common Stitch Design?

Skills that share tags, products or a category with Common Stitch Design: Omk Stitch (KaimingWan/oh-my-kiro, 107 stars), AI UI Generation (yonatangross/orchestkit, 292 stars), Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars) and Stitch Taste Design System (google-labs-code/stitch-skills, 8.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Common Stitch Design?

HoangNguyen0403 (a GitHub user) maintains it in HoangNguyen0403/agent-skills-standard, which has 572 GitHub stars. The repository holds 211 skills in this directory. The repository was last updated on October 9, 2026.

Source: HoangNguyen0403/agent-skills-standard on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.