stitch-loop

Orchestrate Stitch-based site builds by coordinating baton-passing and page generation.

1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/bdarcus/style-hub --skill stitch-loop-bdarcus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stitch-loop
Source: https://github.com/bdarcus/style-hub/tree/main/.agents/skills/stitch-loop
Command: npx skills add https://github.com/bdarcus/style-hub --skill stitch-loop-bdarcus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables autonomous, iterative front-end site construction by coordinating Stitch-based generation and baton-passing loops, reducing manual handoffs.

Core Features & Use Cases

  • Orchestrated page generation: read the baton, generate a page with Stitch MCP tools, and integrate it into the site structure.
  • Loop-driven iteration: prepare the next task in the baton for the subsequent round, enabling continuous delivery in a single workflow.
  • Prerequisite awareness: relies on a Stitch project and design/site context files (DESIGN.md and SITE.md) to maintain consistency.

Quick Start

Start a new iteration by loading the baton and generating a page with Stitch MCP.

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 front-end builds with a baton loop?

Autonomous iterative front-end builds use a baton-passing loop to coordinate page generation with Stitch MCP tools, integrating each page into the site structure and preparing the next task for continuous delivery in a single workflow.

What do I need to set up before starting an autonomous Stitch site build?

Autonomous Stitch builds require a running Stitch server, an active Stitch project, and both DESIGN.md and SITE.md context files to maintain design consistency and project context throughout the page generation workflow.

How does baton passing work in orchestrated page generation?

Baton passing in orchestrated page generation reads the current task, generates a page using Stitch MCP tools, integrates the result into the site structure, and queues the next task in the baton for the subsequent iteration round.

Can I use this for continuous delivery in a single front-end development workflow?

Yes, loop-driven iteration prepares the next task in the baton for the subsequent round, enabling continuous delivery of front-end pages within a single autonomous workflow without manual handoffs between iterations.

Why do I need DESIGN.md and SITE.md files for Stitch-based generation?

DESIGN.md and SITE.md files maintain design consistency and project context during Stitch-based generation, ensuring each autonomously generated page aligns with the established site structure and visual guidelines across iterations.

What are the limitations of using baton loops for front-end site construction?

Baton loop orchestration for front-end site construction depends entirely on a Stitch server and MCP tools; without these prerequisites or proper context files, the autonomous iteration workflow cannot execute page generation or task queuing.