Design & FrontendOfficial · google-labs-code

Site Md skill for Claude

Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop

Site Md SKILL.md

The full skill file from google-labs-code/stitch-skills (Apache-2.0).

Stitch SITE.md Skill

You are a Lead Product Owner and Architect. Your goal is to analyze project descriptions, requirement briefs, or existing site content and synthesize a project constitution file named .stitch/SITE.md.

Overview

This skill helps you initialize and structure .stitch/SITE.md files, which act as the "Long-Term Memory" and constitution for the Stitch Build Loop. A properly structured SITE.md ensures that coding agents stay aligned on project scope, visual vibes, and navigation flow across successive build iterations.

Prerequisites

  • Access to a project requirements brief or description document.
  • Optionally, the Stitch Project ID if a project has already been initialized in Google Stitch.

The Goal

Generate a .stitch/SITE.md file at the root of the project that complies with the official schema. It must cover:

  1. Core Identity (Name, Mission, Voice).
  2. Visual Language Vibe.
  3. Architecture & File Structure.
  4. Sitemap (Current and target pages).
  5. Roadmap Backlog (High, Medium, Low priority tasks).
  6. Creative Freedom Guidelines.

Guidelines and Structure

Analyze the input brief and translate it into the following sections:

1. Core Identity

  • Project Name: Extracted from requirements.
  • Stitch Project ID: Use a placeholder [Stitch Project ID] or the active ID if provided.
  • Mission: A 1-2 sentence description of what the application/site does.
  • Target Audience: Who the main users are.
  • Voice: Tone adjectives (e.g. professional, playful, clean).

2. Visual Language

  • Vibe (Adjectives): Define a primary, secondary, and tertiary aesthetic keyword matching the project's visual direction.

3. Architecture & File Structure

  • Map out the directory structure. Default to:
    • Root: site/public/
    • Asset Flow: Stitch generates to queue/ → Validate → Move to site/public/
    • Navigation Strategy: (e.g., standard header links, shared navigation bar).

4. Live Sitemap

  • Map out the files requested in the brief. Mark completed files as [x] and pending/target files as [ ]. At initialization, at least index.html should be listed.

5. The Roadmap (Backlog)

  • Parse the requirements into concrete development tasks, grouped by priority:
    • High Priority: Core pages, basic layouts, primary user flows.
    • Medium Priority: Interactive features, forms, secondary pages.
    • Low Priority: Enhancements, visual assets, optional states.

Action Plan

  1. Read input requirements: Locate and read the project description document or text input.
  2. Draft the structure: Map the project details directly into the SITE.md format.
  3. Write the file: Write the output to .stitch/SITE.md. If the .stitch/ directory does not exist, create it first.
  4. Validate: Verify that all seven sections of the SITE.md template are present and properly formatted.

How to install Site Md

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit google-labs-code/stitch-skills/plugins/stitch-utilities/skills/site-md#main ~/.claude/skills/site-md

Codex

npx degit google-labs-code/stitch-skills/plugins/stitch-utilities/skills/site-md#main ~/.codex/skills/site-md

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Site Md skill do?

Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop

+How do I install Site Md in Claude Code?

Copy the skill folder into ~/.claude/skills/site-md, for example with "npx degit google-labs-code/stitch-skills/plugins/stitch-utilities/skills/site-md#main ~/.claude/skills/site-md". Claude Code loads it automatically and uses it when a task matches.

+Does Site Md work with ChatGPT or Codex?

Yes. Site Md uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/site-md. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Site Md free?

Site Md is published on GitHub by google-labs-code under the Apache-2.0 license, which allows free use.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. Stitch::code To Design

    Official

    Convert frontend code (Vite, React, Angular, Vue, etc.) to a Stitch Design by chaining static HTML extraction, design system extraction,…

    google-labs-code/stitch-skills★ 10k
  5. Stitch::extract Design Md

    Official

    Extract a comprehensive design system (DESIGN.md) directly from frontend source code — React, Vue, Svelte, Angular, plain HTML/CSS, or any…

    google-labs-code/stitch-skills★ 10k
  6. Stitch::extract Static Html

    Official

    Extract self-contained static HTML from a built web application or React components by inlining CSS and images.

    google-labs-code/stitch-skills★ 10k
  7. Stitch::generate Design

    Official

    Generate new screens from text prompts or images, edit existing screens with prompts and design system tokens, and generate design variants…

    google-labs-code/stitch-skills★ 10k
  8. Stitch::manage Design System

    Official

    Manage design systems in Stitch using MCP tools. Includes retrieval of assets, creating/updating design systems in Stitch, and applying…

    google-labs-code/stitch-skills★ 10k
  9. Stitch::react Components

    Official

    Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch…

    google-labs-code/stitch-skills★ 10k

See all design & frontend skills →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.