LLM powered migration of UI component libraries
Zalando's Partner Tech team migrated 15 B2B applications between two in-house UI component libraries using GPT-4o, after five hackathon iterations showed that accuracy came from combining generated component interfaces, manually verified attribute mappings (e.g. old "medium" button maps to new "large") and worked examples in the prompt. The resulting Python tool, built on the llm library's conversation API, used temperature 0, a "continue" prompt for truncated output, tagged output formatting, component groups capped at 40-50K context tokens, prompt-caching-friendly ordering, and LLM-generated regression tests. Migration reached roughly 90% accuracy at under $40 per repository, and the LLM handled edge cases such as aliased components that codemods would need explicit code for.
Related posts
- Content Creation Copilot - AI-assisted product onboarding
Zalando Engineering mediumAdeptZalando built a copilot that pre-fills product attributes during content onboarding by sending product image URLs and generated prompts to OpenAI GPT models. Copywriters still review and approve every suggestion. A prompt generator builds requests from article masterdata attribute sets. A translation layer maps Zalando's opaque attribute codes to English values and back, and a category mapping layer suppresses attributes that shouldn't apply. Moving from GPT-4 Turbo to GPT-4o improved accuracy, latency and cost, and product-only front images gave the best results. The system reaches about 75% accuracy and enriches around 50,000 attributes per week, though it is weaker on niche fashion terms, which motivated an aggregator service that combines multiple suggestion sources.
- Palette: teaching a small model to build decks in your design language
Hugging Face mediumAdeptPalette fine-tunes a 20B open-weight model with a single LoRA adapter to generate slide decks in a specific design language (IBM Design Language), splitting the work into a designer role that writes a structured JSON brief and a coder role that writes per-slide pptxgenjs code in parallel (about 6–7× faster). Training data is ~1000 synthetic decks (~10,000 slides) from a large open teacher, with counterfactual reasoning traces and render-check-repair loops. Reference decks fixed hallucination where prompt rules did not, and designer examples had to be oversampled 5×. A geometry-checking harness keeps editor-model rewrites only when they measurably improve a slide, adding 3.5 points on PresentBench, where Palette ranks first on Economics and Education and second overall (59.7 vs NotebookLM's 60.8).
- Balancing Old Tricks with New Feats: AI-Powered Conversion From Enzyme to React Testing Library at Slack
Slack Engineering mediumAdeptSlack converted over 15,000 Enzyme tests to React Testing Library ahead of its React 18 upgrade by combining AST codemods with an LLM (Claude 2.1). AST transformations alone converted about 45% of code. The LLM alone fluctuated between 40-60%. A hybrid pipeline reached about 80% on evaluated files. It fed the LLM the original test, a partially converted codemod output with in-code instructions, and the actual rendered DOM captured per test case via overridden Enzyme mount/shallow methods. A structured prompt with explicit required and optional tasks constrained hallucinations and improved results by 20-30% over the out-of-the-box LLM.
- How Coinbase used Code Connect to guide agents and shrink token costs
Figma easyNovice
Coinbase's design system team mapped every Coinbase Design System component to its code counterpart with Figma Code Connect. Using Claude Code and a figma-code-connect skill, they went from partial to full coverage in about four hours. They then benchmarked design-to-code agent runs with and without Code Connect: the same form design, a deliberately vague prompt, Sonnet 4.6, and resets between runs. Across three runs, Code Connect cut tokens by 11.5%, implementation time by 22.3% and cost by 22.5%, and agents picked components like Stepper and ListCell correctly instead of rebuilding them from primitives or hallucinating icon names. The team's conclusion is that agent skills shape how code gets written, while Code Connect supplies the component context agents need when starting from designs.
- Building LLMs for Code Repair
Replit hardMasterReplit finetuned a 7B code model (DeepSeek-Coder-Instruct-v1.5) to repair Python errors flagged by LSP diagnostics. Only 10% of these diagnostics come with deterministic fixes, while hundreds of millions are logged daily. Training data comes from replaying Operational Transformation histories to reconstruct the project state at each diagnostic. LLM-synthesized numbered line diffs are then generated with DSPy, verified, and distilled. Sentinel-token schemas replace natural-language instructions, and training ran on 8xH100 with LLM Foundry, FSDP and 4 epochs. Evaluation uses a new Replit repair benchmark plus a contamination-resistant Leetcode set built from DebugBench and recent LiveCodeBench-style problems.