Claude Code Skill Converts Stitch Designs to Next.js with Zero Pixel Drift

What This Tool Does
A Claude Code skill (slash command) converts Google Stitch AI designs to Next.js components while preventing the pixel drift that typically occurs when using Claude for this task. The tool addresses specific pain points where Claude would round values like text-[15px] to text-sm, swap exact colors like #1E293B for approximate Tailwind classes like bg-slate-800, lose image assets due to expired CDN URLs, or miss fonts.
Key Features and Process
- Extracts exact HTML/CSS from Stitch via MCP - no copy-pasting or screenshots
- Preserves exact pixel values throughout (text-[15px] stays text-[15px], not rounded to a Tailwind class)
- Downloads all images from the Stitch CDN before URLs expire
- Maps all 29 Stitch fonts to next/font/google properly
- Includes 5 mandatory verification checkpoints that compare output against source before moving on
- Generates a full audit report showing exactly what was preserved and what needed judgment calls
- Supports ShadCN/UI component mapping with exact style overrides
Installation and Setup
Install with: curl -sL https://raw.githubusercontent.com/yshaish1/stitch-to-nextjs/main/install.sh | bash
The installation also auto-configures the stitch-mcp server automatically.
Why Verification Checkpoints Are Necessary
The verification checkpoints address Claude's tendency to drift toward Tailwind conventions when left to its own devices. The skill's prompt explicitly flags this pattern and forces re-verification at each stage. While not foolproof, this approach catches common failure modes before they compound.
The tool is available on GitHub: https://github.com/yshaish1/stitch-to-nextjs
📖 Read the full source: r/ClaudeAI
👀 See Also

boxBot: An Open-Source Smart Speaker Powered by Claude and Hailo AI
A developer built a smart speaker named boxBot using Claude for agent-driven hardware control, Raspberry Pi, Hailo AI accelerator, and custom SDK—open-sourced on GitHub.

Self-Hosted Contextual Bandit in Rust: Syntra & Lycan for Adaptive Decision Systems
Two open-source projects: Lycan (graph execution language with strategy nodes and learned weights) and Syntra (Docker/API appliance serving compiled Lycan capsules). Found data pipeline bugs before runtime bugs when dogfooding on an AI stock-debate product.

AGENTS-COLLECTION: 129 Claude Code Agents Organized in One Repository
A developer has compiled 129 Claude Code agents into a single repository in ~/.claude/agents/ format, ready for installation with a simple copy command. The collection includes the full agency-agents system with 68 personality-driven agents across multiple disciplines, plus additional agents for multi-agent team workflows.

AI Functions: Runtime Code Generation with Automated Verification
AI Functions is a Python library that lets you define functions with natural language specifications instead of implementation code, executes LLM-generated code at runtime, and validates outputs with post-conditions that trigger automatic retries on failure.