stitch-loop · nexu-io — Claude Code skill: design-to-code feedback loop
A skill that runs an iterative feedback cycle between design and code: critique the layout → fix the code → verify fidelity. Use it when you need to tighten UI against a design brief across multiple passes.
npx skills add nexu-io/open-design --skill stitch-loop -a claude-codeWhat stitch-loop does
stitch-loop automates the critique → adjust → ship cycle. The agent reviews how the built UI diverges from the design brief, suggests code corrections, and checks whether the result got closer to the target. The skill operates in design-system mode and responds to triggers like stitch loop, design to code, or fidelity loop.
Install via npx skills add with a platform flag (claude-code, codex, cursor, and others). After setup, the SKILL.md file lands in your agent's skills folder, and the agent will suggest this cycle during planning. To get the full workflow with original assets and scripts from Google Labs, deploy the upstream repository—instructions are in the README at github.com/google-labs-code/skills.
What it helps with
- match a design mockup in code with maximum precision
- catch and fix deviations from the brief early in iteration
- automate the critique-and-adjust cycle for UI code
- speed up fidelity alignment between designer and developer
Example prompts for the agent
- Run stitch-loop on this component and tell me how far it is from the mockup
- Use design to code so the agent suggests fixes automatically
- Enable fidelity loop and give the agent a few iterations to narrow the gap
How to install stitch-loop
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill stitch-loop -a claude-code2Manually: put the files in place
~/.claude/skills/stitch-loop/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/stitch-loop/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill stitch-loop -a codex2Manually: put the files in place
.agents/skills/stitch-loop/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill stitch-loop -a cursor2Manually: put the files in place
.cursor/skills/stitch-loop/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install nexu-io/open-design stitch-loop2Manually: put the files in place
.github/skills/stitch-loop/SKILL.md1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill stitch-loop -a gemini-cli2Platform CLI
gemini skills install https://github.com/nexu-io/open-design --path skills/stitch-loopManually: put the files in place
.devin/skills/stitch-loop/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill stitch-loop -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set106
The whole set →Other versions of stitch-loop
Similar
Questions about stitch-loop
How do I install stitch-loop in Claude Code?
Run npx skills add nexu-io/open-design --skill stitch-loop -a claude-code. After setup, the skill appears in ~/.claude/skills/stitch-loop/SKILL.md and becomes available to your agent.
What does stitch-loop do?
It runs a feedback loop between design and code: the agent analyzes the UI, compares it against the brief, suggests code fixes, and verifies the result. Each iteration brings the layout closer to the mockup.
Which platforms support stitch-loop?
The skill works on Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Each platform has its own install command with a platform flag.
Source text
SKILL.md · Apache-2.0
--- name: stitch-loop description: | Iterative design-to-code feedback loop. Critique → adjust → ship cycle for tightening visual fidelity between brief and built UI. triggers: - "stitch loop" - "design to code" - "design iteration" - "fidelity loop" od: mode: design-system category: design-systems upstream: "https://github.com/google-labs-code/skills" --- # stitch-loop > Curated from Google Labs (Stitch). ## What it does Iterative design-to-code feedback loop. Critique → adjust → ship cycle for tightening visual fidelity between brief and built UI. ## Source - Upstream: https://github.com/google-labs-code/skills - Category: `design-systems` ## How to use This catalogue entry advertises the skill in OpenDesign so the agent discovers it during planning. To run the full upstream workflow with its original assets, scripts, and references, install the upstream bundle into your active agent's skills directory: ```bash # Inspect the upstream README for exact paths open https://github.com/google-labs-code/skills ``` Then ask the agent to invoke this skill by name (`stitch-loop`) or with one of the trigger phrases listed in this skill's frontmatter.
© nexu-io · Apache-2.0 · nexu-io/open-design