stitch-loop

Orchestrate iterative page builds using Stitch MCP tools and baton files.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/phoenicisf/forex-analyzer --skill stitch-loop-phoenicisf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stitch-loop
Source: https://github.com/phoenicisf/forex-analyzer/tree/main/.agents/skills/stitch-loop
Command: npx skills add https://github.com/phoenicisf/forex-analyzer --skill stitch-loop-phoenicisf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables autonomous, baton-driven iteration to build and evolve websites with Stitch, reducing manual coordination during multi-step front-end development.

Core Features & Use Cases

  • Autonomous iteration: Read a baton from .stitch/next-prompt.md, generate a page with Stitch MCP tools, and integrate it into the site structure.
  • Context-driven generation: Use existing site design and roadmap documents from .stitch/SITE.md and .stitch/DESIGN.md to guide page creation and prioritization.
  • Next-step baton updates: Write the next task back to the baton file to keep the loop moving for continuous improvement or new pages.

Quick Start

Provide a new baton prompt with a target page name and a Design System block to initiate the next Stitch 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 website generation with Stitch?

Automating iterative website generation with Stitch requires reading a baton prompt and using Stitch MCP tools to create projects, generate screens, fetch assets, and update site navigation autonomously. This loop continuously builds pages while advancing the baton for the next iteration.

What is a baton-driven workflow for frontend development?

A baton-driven workflow for frontend development uses a prompt file, typically .stitch/next-prompt.md, to pass tasks sequentially. The system reads the baton, generates a page, integrates it, and writes the next task back to the file to keep the loop moving continuously.

How do I set up context for autonomous Stitch site builds?

To set up context for autonomous Stitch site builds, provide .stitch/SITE.md and .stitch/DESIGN.md files in your project. These documents guide page creation and prioritization by supplying the necessary site design and roadmap context for the generation workflow.

How does the Stitch MCP tool integrate new pages into an existing site?

The Stitch MCP tool integrates new pages by fetching generated assets and applying site integration rules to update site navigation. This ensures newly generated screens are properly connected to the ongoing project structure during the baton loop.

Can I use workflow orchestration to continuously improve my Stitch website?

Yes, you can use workflow orchestration to continuously improve a Stitch website by running a baton loop. After generating and integrating each page, the workflow writes the next task back to the baton file, enabling autonomous, continuous iteration for multi-step development.

What do I need to start a new Stitch iteration loop?

To start a new Stitch iteration loop, provide a new baton prompt with a target page name and a Design System block. This initiates the next iteration, allowing the workflow to autonomously generate, validate, and integrate the new page into the site.