stitch-loop

Read baton prompts, generate pages with Stitch MCP, and advance the loop.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/lucasromanh/Voces-Cafayate --skill stitch-loop-lucasromanh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stitch-loop
Source: https://github.com/lucasromanh/Voces-Cafayate/tree/main/.agents/skills/stitch-loop
Command: npx skills add https://github.com/lucasromanh/Voces-Cafayate --skill stitch-loop-lucasromanh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinated, autonomous website construction by orchestrating Stitch-driven page generation, site integration, and baton progression without manual intervention.

Core Features & Use Cases

  • Autonomous generation: reads the baton from next-prompt.md, generates a page with Stitch MCP tools, and integrates it into the site structure.
  • Task progression: writes the next baton to continue the loop in subsequent iterations.
  • Context-aware prompting: leverages SITE.md and DESIGN.md to maintain project vision and design consistency across iterations.

Quick Start

Read the baton, generate the page using Stitch MCP, merge it into the site, and prepare the next baton for the following iteration.

Frequently Asked Questions about stitch-loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate iterative Stitch site builds without manual intervention?

Automating iterative Stitch site builds requires an autonomous loop that reads baton prompts from next-prompt.md, generates pages with Stitch MCP, and advances the baton. This coordinates continuous site construction, integration, and publishing without manual intervention.

What is a baton prompt in autonomous website generation?

In autonomous website generation, a baton prompt is a file named next-prompt.md that stores the current task instructions. The loop reads this baton, generates the requested page, and writes the next baton to continue the iteration cycle.

Do I need SITE.md and DESIGN.md files to use Stitch MCP for page generation?

Yes, SITE.md and DESIGN.md files are required to use Stitch MCP for page generation. These files provide the project context required to maintain project vision and design consistency across all autonomous iterations.

How do I persist my Stitch project ID across multiple site iterations?

You can persist your Stitch project ID across multiple site iterations by saving it within a stitch.json file. This ensures the autonomous loop maintains the correct project context during continuous page generation.

What's the best way to maintain design consistency across autonomous page generation cycles?

To maintain design consistency across autonomous page generation cycles, leverage context-aware prompting with SITE.md and DESIGN.md files. This ensures every generated page aligns with the established project vision.

Can I use agent chains for continuous website generation and publishing?

Yes, agent chains can be used for continuous website generation and publishing by orchestrating a Stitch-driven loop. It reads baton prompts, integrates newly generated pages into the site structure, and prepares the next baton automatically.