跳到正文
Skillpedia
技术文档8.7k · #12347

site-md

它能做什么

这项技能根据描述或简报编写 SITE.md 项目指南。适合产品负责人和构建者,为每一轮网站工作提供清晰的参考。

适用场景

  • ✓当你已有项目简报,想要一份清晰的网站构建指南的时候。
  • ✓当编程智能体在多轮构建中不断丢失范围的时候。
  • ✓当你想为新网站制作站点地图和优先级任务清单时。

技能链接

https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-utilities/skills/site-md/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google-labs-code/stitch-skills/blob/main/plugins/stitch-utilities/skills/site-md/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请根据这份项目简报编写一个 SITE.md,涵盖品牌语气、页面列表和优先级待办事项。”

每周 5 个新技能,1 分钟读完。

工作原理

它阅读简报,并在一个结构化文件中填写身份、视觉风格、站点地图和待办事项等部分。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.
常见问题

文件保存在哪里?

这项技能会把它保存在项目根目录下名为 stitch 的文件夹中。

SITE.md 包含哪些内容?

它包括名称、使命、视觉氛围、文件结构、站点地图、待办事项以及创作自由规则。

需要先有 Stitch 项目吗?

不需要。Stitch 项目 ID 是可选的,也可以使用占位符代替。

详情

作者的原始描述

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

repo: google-labs-code/stitch-skills

热度

GitHub 星标
8.7k
排名
#12347
许可证
Apache-2.0
更新时间
2026/8/17

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能