Repository inventory

google-labs-code/stitch-skills

Skills indexed from this repository, with install-style signals scoped to the repo.
6 skills12K GitHub stars0 weekly installsTypeScriptGitHubOwner profile

Overview

This skill teaches agents to iteratively build and integrate pages using the Stitch MCP in an autonomous baton-passing loop. Each iteration reads a baton file, generates a page with Stitch tools, integrates the output into the site, updates documentation, and writes the next baton to continue the loop. It focuses on reliable handoffs, reproducible prompts, and maintaining site consistency.

How this skill works

The agent parses next-prompt.md to extract the target page name and the full prompt (including the DESIGN.md design system block). It uses Stitch MCP calls to create or select a project, generate a screen, and download HTML and screenshot assets into a staging queue. The agent then moves the generated HTML into site/public, fixes asset paths and navigation links, updates SITE.md sitemap/roadmap, and writes a new next-prompt.md to pass the baton to the next iteration.

When to use it

  • Automating incremental frontend work for a Stitch-based site
  • Running continuous site growth via CI/CD or agent chains
  • Prototyping many pages quickly while preserving a shared design system
  • Handing off work between multiple autonomous agents
  • Maintaining a repeatable generation-and-integration workflow

Best practices

  • Always include the DESIGN.md design system block inside the baton prompt to ensure visual consistency
  • Check SITE.md sitemap and roadmap before generating to avoid recreating existing pages
  • Persist stitch.json after creating a project so future iterations reuse the same projectId
  • Wire placeholder links (href="#") to the new page and keep headers/footers consistent across pages
  • Update next-prompt.md before finishing each iteration — failing to do so breaks the loop

Example use cases

  • A CI job triggers an agent to add one roadmap item per commit and updates the baton for the next job
  • An agent chain where one agent generates a page and another verifies visuals using Chrome DevTools MCP
  • A developer-run loop to rapidly prototype site sections while preserving a single design system
  • A human-in-loop process where the agent generates assets and a reviewer approves navigation changes and baton selection

FAQ

Stitch generation will likely produce inconsistent styles. Always copy Section 6 (design system) from DESIGN.md into the baton before generating.

How do I avoid duplicating pages already in the site?

Read SITE.md Section 4 (Sitemap) first; if a page is already listed, pick a different roadmap or creative freedom item. The agent must not recreate existing pages.

6 skills

More from this maintainer
Other repositories and skills published under the same GitHub owner.
Skills library
Jump back to the full directory or explore grouped topics.
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational