tsnAnh

UI Tune — Design skill for Claude Code

Design community

Visual UI tuning skill for Claude Code: drag, snap, reorder and fine-tune SwiftUI, Jetpack Compose, Flutter, React Native, web, XAML and QML screens in the browser, applied back to your source code.

How to install UI Tune

This entry records only its repository, not the path inside it, so there is no exact command to give. Open tsnAnh/ui-tune and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What UI Tune does

Visual UI tuning skill for Claude Code: drag, snap, reorder and fine-tune SwiftUI, Jetpack Compose, Flutter, React Native, web, XAML and QML screens in the browser, applied back to your source code.

Alternatives in Design

  • Huashu Design — Huashu Design · HTML-native design skill for Claude Code · Claude Code 里 HTML 原生的设计 skill · 高保真原型 / 幻灯片 / 动画 + 23.6k ★
  • DesignReview — Two-way validation between SwiftUI implementation and Figma designs 512 ★
  • Colorize — Color strategy pass — introduces a single accent at 3-5 intentional placements, or reduces an over-colored UI 418 ★

README

ui-tune: visual UI tuning for Claude Code

**Drag, nudge and fine-tune your app's real screens in the browser, then let your AI coding agent write the exact changes back into your source code.** Works with SwiftUI, UIKit, Jetpack Compose, Compose Multiplatform, Android Views, Flutter, React Native, web (React, Vue, Svelte, Angular, Tailwind), .NET MAUI / WPF / WinUI / Avalonia (XAML), Qt / QML and more.

Stop typing "move the button 2px to the right" and hoping. `ui-tune` is a [Claude Code](https://docs.claude.com/en/docs/claude-code) skill. It builds a pixel-accurate HTML mirror of a screen from your code, opens it in a local visual editor (snapping guides, spacing labels, resize handles, drag-to-reorder), and turns every tweak you make into minimal, idiomatic code edits at the exact file and line they came from.

![Dragging an element with snapping guides and spacing labels in the ui-tune editor](media/snap-guides.png)

Why

Pixel-perfect UI polish is the slowest part of working with AI coding agents. Describing "a little more padding, align it with the title, 2pt lower" in words is lossy, and every round trip costs a rebuild. Designers and developers think in direct manipulation. `ui-tune` gives the agent a precise, machine-readable change set instead of prose:

  • 1 editor pixel = 1 pt / dp / logical px. A 2px nudge becomes exactly .offset(x: 2), Modifier.offset(x = 2.dp) or translate: 2px.
  • Every element traces back to source. Each mirrored element carries a file, line and symbol anchor that is checked against your code before the editor opens.
  • Idiomatic edits, not hacks. Padding stays padding, spacing goes on the stack, reorders move the view's code block. Nothing is converted into absolute frames or magic margins.
  • Design tokens respected. If a value comes from a shared token (Spacing.md, MaterialTheme, a CSS variable, a shared CSS rule), the agent asks whether to change the token everywhere or override locally.

Features