Skill · em Automatizar e estender

stitch-loop

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

Procedência

Antes de instalar

6 arquivos · 20,4 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 0337446) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/stitch-loop/.

d=".claude/skills/stitch-loop"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/stitch-loop"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/next-prompt.md" "$u/examples/next-prompt.md" \
  -o "$d/examples/SITE.md" "$u/examples/SITE.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/resources/baton-schema.md" "$u/resources/baton-schema.md" \
  -o "$d/resources/site-template.md" "$u/resources/site-template.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Global: instala em ~/.claude/skills/stitch-loop/.

d="$HOME/.claude/skills/stitch-loop"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/stitch-loop"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/next-prompt.md" "$u/examples/next-prompt.md" \
  -o "$d/examples/SITE.md" "$u/examples/SITE.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/resources/baton-schema.md" "$u/resources/baton-schema.md" \
  -o "$d/resources/site-template.md" "$u/resources/site-template.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Codex

Neste projeto: instala em .agents/skills/stitch-loop/.

d=".agents/skills/stitch-loop"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/stitch-loop"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/next-prompt.md" "$u/examples/next-prompt.md" \
  -o "$d/examples/SITE.md" "$u/examples/SITE.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/resources/baton-schema.md" "$u/resources/baton-schema.md" \
  -o "$d/resources/site-template.md" "$u/resources/site-template.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Global: instala em ~/.agents/skills/stitch-loop/.

d="$HOME/.agents/skills/stitch-loop"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/stitch-loop"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/next-prompt.md" "$u/examples/next-prompt.md" \
  -o "$d/examples/SITE.md" "$u/examples/SITE.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/resources/baton-schema.md" "$u/resources/baton-schema.md" \
  -o "$d/resources/site-template.md" "$u/resources/site-template.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/stitch-loop/.

d=".agents/skills/stitch-loop"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/stitch-loop"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/next-prompt.md" "$u/examples/next-prompt.md" \
  -o "$d/examples/SITE.md" "$u/examples/SITE.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/resources/baton-schema.md" "$u/resources/baton-schema.md" \
  -o "$d/resources/site-template.md" "$u/resources/site-template.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/stitch-loop/.

d="$HOME/.gemini/antigravity-cli/skills/stitch-loop"
u="https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/plugins/stitch-utilities/skills/stitch-loop"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/examples/next-prompt.md" "$u/examples/next-prompt.md" \
  -o "$d/examples/SITE.md" "$u/examples/SITE.md" \
  -o "$d/README.md" "$u/README.md" \
  -o "$d/resources/baton-schema.md" "$u/resources/baton-schema.md" \
  -o "$d/resources/site-template.md" "$u/resources/site-template.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/google-labs-code/stitch-skills/0337446dadde6f8c94210444e2aa9d546126480f/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/google-labs-code.stitch-skills.stitch-loop

Prévia do SKILL.md

---
name: stitch-loop
description: Teaches agents to iteratively build websites using Stitch with an autonomous baton-passing loop pattern
allowed-tools:
  - "stitch*:*"
  - "chrome*:*"
  - "Read"
  - "Write"
  - "Bash"
---

# Stitch Build Loop

You 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.

## Overview

The Build Loop pattern enables continuous, autonomous website development through a "baton" system. Each iteration:
1. Reads the current task from a baton file (`.stitch/next-prompt.md`)
2. Generates a page using Stitch MCP tools
3. Integrates the page into the site structure
4. Writes the next task to the baton file for the next iteration

## Prerequisites

**Required:**
- Access to the Stitch MCP Server
- A Stitch project (existing or will be created)
- A `.stitch/DESIGN.md` file (generate one using the `design-md` skill if needed)
- A `.stitch/SITE.md` file documenting the site vision and roadmap

**Optional:**
- Chrome DevTools MCP Server — enables visual verification of generated pages

## The Baton System

The `.stitch/next-prompt.md` file acts as a relay baton between iterations:

```markdown
---
…

Ver todo o marketplace