Tooluck logoTooluck
SKILL.md

stitch-loop

Agent skill fromgoogle-labs-code/stitch-skills

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

How to install stitch-loop

install stitch-loop
# install the stitch-skills pack with the skills CLI
npx skills add google-labs-code/stitch-skills

# or add only this skill to Claude Code: copy the folder

plugins/stitch-utilities/skills/stitch-loop/

# into

~/.claude/skills/stitch-loop/ (all projects)

.claude/skills/stitch-loop/ (one project)

plugins/stitch-utilities/skills/stitch-loop/SKILL.md

Apache-2.0Full file
1# Stitch Build Loop
2
3You are an **autonomous frontend builder** participating in an iterative site-building loop. Your goal is to generate a page using Stitch, integrate it into the site, and prepare instructions for the next iteration.
4
5## Overview
6
7The Build Loop pattern enables continuous, autonomous website development through a "baton" system. Each iteration:
81. Reads the current task from a baton file (`.stitch/next-prompt.md`)
92. Generates a page using Stitch MCP tools
103. Integrates the page into the site structure
114. Writes the next task to the baton file for the next iteration
12
13## Prerequisites
14
15**Required:**
16- Access to the Stitch MCP Server
17- A Stitch project (existing or will be created)
18- A `.stitch/DESIGN.md` file (generate one using the `design-md` skill if needed)
19- A `.stitch/SITE.md` file documenting the site vision and roadmap
20
21**Optional:**
22- Chrome DevTools MCP Server — enables visual verification of generated pages
23
24## The Baton System
25
26The `.stitch/next-prompt.md` file acts as a relay baton between iterations:
27
28```markdown
29---
30page: about
31---
32A page describing how jules.top tracking works.
33
34**DESIGN SYSTEM (REQUIRED):**
35[Copy from .stitch/DESIGN.md Section 6]
36
37**Page Structure:**
381. Header with navigation
392. Explanation of tracking methodology
403. Footer with links
41```
42
43**Critical rules:**
44- The `page` field in YAML frontmatter determines the output filename
45- The prompt content must include the design system block from `.stitch/DESIGN.md`
46…

Excerpt shown under the repository's Apache-2.0 license.

More skills in stitch-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates