Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Autonomously build multi-page websites with Stitch using an iterative baton-passing loop pattern
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
README.md
1# Stitch Build Loop Skill23Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern.45## Install67```bash8npx skills add google-labs-code/stitch-skills --skill stitch-loop --global9```1011## What It Does1213Enables continuous, autonomous website development through a "baton" system:14151. Agent reads task from `next-prompt.md`162. Generates page via Stitch MCP tools173. Integrates into site structure184. Writes next task to continue the loop1920## Prerequisites2122- Stitch MCP Server access23- A `DESIGN.md` file (generate with the `design-md` skill)24- A `SITE.md` file for project context2526## Example Prompt2728```text29Read my next-prompt.md and generate the page using Stitch, then prepare the next iteration.30```3132## Skill Structure3334```35stitch-loop/36├── SKILL.md — Core pattern instructions37├── README.md — This file38├── resources/39│ ├── baton-schema.md — Baton file format spec40│ └── site-template.md — SITE.md/DESIGN.md templates41└── examples/42├── next-prompt.md — Example baton43└── SITE.md — Example site constitution44```4546## Works With4748- **`design-md` skill**: Generate `DESIGN.md` from existing Stitch screens49- **CI/CD**: GitHub Actions can trigger new iterations on push50- **Agent chains**: Dispatch to other agents (Jules, etc.)5152## Learn More5354See [SKILL.md](./SKILL.md) for complete instructions.55