AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

stitch-loop

Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern

Original source
google-labs-code
License
Apache-2.0
Pinned revision
0337446dadde6f8c94210444e2aa9d546126480f

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

Ask your assistant

Use Agentic Memory skills to read google-labs-code--stitch-loop at revision 0337446dadde6f8c94210444e2aa9d546126480f, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 6

README.md

Stitch Build Loop Skill

Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern.

Install

npx skills add google-labs-code/stitch-skills --skill stitch-loop --global

What It Does

Enables continuous, autonomous website development through a "baton" system:

  1. Agent reads task from next-prompt.md
  2. Generates page via Stitch MCP tools
  3. Integrates into site structure
  4. Writes next task to continue the loop

Prerequisites

  • Stitch MCP Server access
  • A DESIGN.md file (generate with the design-md skill)
  • A SITE.md file for project context

Example Prompt

Read my next-prompt.md and generate the page using Stitch, then prepare the next iteration.

Skill Structure

stitch-loop/
├── SKILL.md              — Core pattern instructions
├── README.md             — This file
├── resources/
│   ├── baton-schema.md   — Baton file format spec
│   └── site-template.md  — SITE.md/DESIGN.md templates
└── examples/
    ├── next-prompt.md    — Example baton
    └── SITE.md           — Example site constitution

Works With

  • design-md skill: Generate DESIGN.md from existing Stitch screens
  • CI/CD: GitHub Actions can trigger new iterations on push
  • Agent chains: Dispatch to other agents (Jules, etc.)

Learn More

See SKILL.md for complete instructions.