site-md — скилл для Claude Code: что делает и как установить
Скилл разбирает бриф или описание проекта и формирует файл .stitch/SITE.md для рабочего цикла Stitch Build Loop.
npx skills add google-labs-code/stitch-skills --skill site-md -a claude-codeЧто делает site-md
Скилл берёт на себя роль ведущего владельца продукта и архитектора. Он читает вводный документ с требованиями и создаёт в корне репозитория файл .stitch/SITE.md. Этот манифест служит долговременной памятью проекта: фиксирует имя продукта и визуальные ориентиры интерфейса.
Внутри формируется карта каталогов. По умолчанию исходники сайта размещаются в site/public/, а сгенерированные блоки сначала попадают в queue/ для проверки. Кроме структуры папок скилл расписывает карту страниц, начиная с index.html, и раскладывает задачи бэклога по приоритетам.
Для запуска нужен готовый файл с описанием проекта или бриф. Без такого исходника собрать структуру разделов не выйдет. Скилл использует инструменты Read, Write и web_fetch, а при отсутствии каталога .stitch/ создаёт его сам.
Какие задачи решает
- составить архитектурный манифест проекта для цикла Stitch Build Loop
- сформировать карту каталогов и структуру перемещения файлов из
queue/вsite/public/ - разложить требования брифа на бэклог задач по приоритетам
- зафиксировать визуальный стиль и тональность интерфейса в
.stitch/SITE.md
Примеры запросов агенту
- Прочитай `requirements.md` и составь манифест `.stitch/SITE.md`
- Изучи бриф в `brief.txt` и настрой структуру каталогов для Stitch
- Сформируй `.stitch/SITE.md` на основе описания проекта
Как установить site-md
1Через Skills CLI (Vercel)
npx skills add google-labs-code/stitch-skills --skill site-md -a claude-code2Вручную: положить файлы
~/.claude/skills/site-md/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/site-md/
1Через Skills CLI (Vercel)
npx skills add google-labs-code/stitch-skills --skill site-md -a codex2Вручную: положить файлы
.agents/skills/site-md/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add google-labs-code/stitch-skills --skill site-md -a cursor2Вручную: положить файлы
.cursor/skills/site-md/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install google-labs-code/stitch-skills site-md2Вручную: положить файлы
.github/skills/site-md/SKILL.md1Через Skills CLI (Vercel)
npx skills add google-labs-code/stitch-skills --skill site-md -a gemini-cli2Командой платформы
gemini skills install https://github.com/google-labs-code/stitch-skills --path plugins/stitch-utilities/skills/site-mdВручную: положить файлы
.devin/skills/site-md/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add google-labs-code/stitch-skills --skill site-md -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора15
Весь набор →Похожие
Вопросы о site-md
Как установить site-md в Claude Code?
Выполните команду npx skills add google-labs-code/stitch-skills --skill site-md -a claude-code.
Что делает скилл site-md?
Он анализирует текстовые требования и генерирует файл .stitch/SITE.md, который определяет цели, карту страниц и правила вёрстки для агентов кодинга.
Что требуется подготовить до вызова скилла?
Нужен доступ к документу с описанием проекта или брифу требований. Также можно передать идентификатор Stitch Project ID, если проект уже создан в сервисе Google Stitch.
Исходный текст
SKILL.md · Apache-2.0
--- 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.
© google-labs-code · Apache-2.0 · google-labs-code/stitch-skills