Setting the file. One moment.
Subchapter 15.4
resources/baton-schema.mdMarkdown2 KBView on GitHub
The baton file (next-prompt.md) is the communication mechanism between loop iterations. It tells the next agent what to build.
---
page: <filename-without-extension>
---
<prompt-content>| Field | Type | Required | Description |
|---|---|---|---|
page | string | Yes | Output filename (without .html extension) |
The body contains the full Stitch prompt, which must include:
DESIGN.md Section 6---
page: achievements
---
A competitive, gamified achievements page with terminal aesthetics.
**DESIGN SYSTEM (REQUIRED):**
- Platform: Web, Desktop-first
- Theme: Dark, minimal, data-focused
- Background: Deep charcoal/near-black (#0f1419)
- Primary Accent: Teal/Cyan (#2dd4bf)
- Text Primary: White (#ffffff)
- Font: Clean sans-serif (Inter, SF Pro, or system default)
- Layout: Centered content, max-width container
**Page Structure:**
1. Header with title "Achievements" and navigation
2. Badge grid showing locked/unlocked states with icons
3. Progress section with milestone bars
4. Footer with links to other pagesBefore completing an iteration, validate your baton:
page frontmatter field exists and is a valid filenameSITE.md sitemap