Skill Press

No. 831 · site-md

Stitch SITE.md Skill

A field guide from Google Labs Stitch

Google Labs Stitch

When to use it

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

Rank
No. 831 of 971
Installs
Not listed yet
Runs in
Claude, Codex
Length
430 words · 2 min
Files
2
License
Apache-2.0

Get this skill

Download the skill folder (.zip, 6 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "site-md" Agent Skill by Google Labs Stitch, from https://github.com/google-labs-code/stitch-skills.

1. Fetch the whole folder plugins/stitch-utilities/skills/site-md — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/google-labs-code/stitch-skills.git 4cf4db8e4143b09e40f9bc887429d81f41ab3947
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "site-md":
   - Claude Code: ~/.claude/skills/site-md/ (all projects) or .claude/skills/site-md/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that site-md/SKILL.md exists and its frontmatter says name: site-md.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/google-labs-code/stitch-skills/tree/4cf4db8e4143b09e40f9bc887429d81f41ab3947/plugins/stitch-utilities/skills/site-md --skill site-md

Claude.ai

Upload the .zip as a custom skill.

  1. In Settings → Capabilities, turn on “Code execution and file creation”.
  2. Download the .zip above.
  3. Go to Customize → Skills, click + → Create skill → Upload a skill, and choose it.
Anthropic’s guide to using skills ↗

Contents

  1. Overview
  2. Prerequisites
  3. The Goal
  4. Guidelines and Structure
  5. Action Plan

The skill, in full

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.

More in Design & Media

All Design & Media skills →

More from Google Labs Stitch

From google-labs-code/stitch-skills at 4cf4db8, Apache-2.0. Install counts from skills.sh.