site-md
Analyze a project description or site requirements and synthesize a project constitution into SITE.md for the Stitch Build Loop
- License 许可
- MIT
- 最近更新
- 2026-11-05
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- 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" ]
03 SKILL.md 正文
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:
- Core Identity (Name, Mission, Voice).
- Visual Language Vibe.
- Architecture & File Structure.
- Sitemap (Current and target pages).
- Roadmap Backlog (High, Medium, Low priority tasks).
- 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 tosite/public/ - Navigation Strategy: (e.g., standard header links, shared navigation bar).
- Root:
4. Live Sitemap
- Map out the files requested in the brief. Mark completed files as
[x]and pending/target files as[ ]. At initialization, at leastindex.htmlshould 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
- Read input requirements: Locate and read the project description document or text input.
- Draft the structure: Map the project details directly into the
SITE.mdformat. - Write the file: Write the output to
.stitch/SITE.md. If the.stitch/directory does not exist, create it first. - Validate: Verify that all seven sections of the
SITE.mdtemplate are present and properly formatted.
04 同仓库更多 Skills
taste-design
Semantic Design System Skill for Google Stitch. Generates agent-friendly DESIGN.md files that enforce premium, anti-generic UI standards — strict typography, calibrated color, asymmetric layouts, perpetual micro-motion, and hardware-accelerated performance.
stitch-loop
Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern
enhance-prompt
Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
design-md
Analyze Stitch projects and synthesize a semantic design system into DESIGN.md files
stitch::upload-to-stitch
Upload local assets (images, mockups, extracted HTML, design markdown) to a Stitch project. ALWAYS use this skill when you need to upload visual assets, HTML pages, or design docs to Stitch, particularly when direct MCP tool calls fail or truncate due to base64 token limits.
stitch::manage-design-system
Manage design systems in Stitch using MCP tools. Includes retrieval of assets, creating/updating design systems in Stitch, and applying them to screens.