Skip to content
Development
Skill

/site-md

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

From plugin
stitch-skills
8.8k16 skills

Claude Code

$ npx -y skills add google-labs-code/stitch-skills --skill site-md --agent claude-code

SKILL.md

site-md.SKILL.md
name: site-md
description: Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
allowed-tools:
  - "Read"
  - "Write"
  - "web_fetch"

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.

Read more
@google-labs-code
Ships withstitch-skills

A collection of agent skills and plugins for Google Stitch, following the Agent Skills open standard. Compatible with coding agents such as Codex, Antigravity, Gemini CLI, Claude Code, Cursor, and OpenCode (manual install).

Stars on GitHub

Momentum

stars in total
8.8k
Star history of google-labs-code/stitch-skills on GitHub, a chart by star-history.com

Other skills on stitch-skills.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about site-md.

Which coding agents can use site-md?
site-md installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.