StitchFlow
by @yshishenya
Turn briefs, mockups, and product context into Stitch UI screens, design variants, Tailwind-friendly HTML, and screenshots. Use when the user wants to explor...
clawhub install stitchflowπ About This Skill
name: stitchflow description: Turn briefs, mockups, and product context into Stitch UI screens, design variants, Tailwind-friendly HTML, and screenshots. Use when the user wants to explore a new screen, edit an existing screen, compare visual directions, or save local design artifacts from natural-language input. homepage: "https://github.com/yshishenya/stitchflow" category: "design" platforms: "codex, claude-code, openclaw, github-copilot, gemini-cli" install: "bash install.sh --target all" toolkit_root: "${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}" compatibility: "Requires Node.js 22+, a configured STITCH_API_KEY, and the local stitch-starter toolkit installed by this repository." legacy_aliases: "stitch-design-local"
StitchFlow
Use this skill when the user wants to create a new screen, refine an existing one, generate design variants, or export local HTML and screenshots through Stitch.
It uses the local toolkit at ${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter} instead of a Stitch MCP tool.
Local setup
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/.env${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runs${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runs/latest-screen.jsonWhen to use
Workflow routing
Core rules
1. Before any Stitch command, rewrite the user request into a stronger design prompt.
2. If the user already has a codebase or UI context, inspect it first and carry that context into the prompt.
3. Prefer DESKTOP by default unless the user clearly asks for mobile or tablet.
4. For first-pass exploration, prefer one generated screen plus 3 variants.
5. If a screen is already close, prefer edit over full regeneration.
6. Always tell the user where the resulting files were saved.
7. Never print or expose STITCH_API_KEY or .env contents.
What good output looks like
Prompt shaping
Use prompt-keywords to translate vague requests into design language Stitch understands better.
Structure prompts like this:
[overall vibe, product intent, and audience]Platform: [web/mobile], [desktop/mobile]-first
Page goal:
what the screen is for
what primary action matters most Page structure:
1. Header / navigation
2. Main content / hero / dashboard body
3. Secondary content
4. Footer / actions / supporting detail
Visual direction:
palette roles
typography tone
spacing density
component style
After running Stitch
Report:
${STITCH_STARTER_ROOT:-$HOME/.agents/stitch-starter}/runs