Wraps your HTML artifacts with a live control panel that lets users adjust accent color, type scale, density, light/dark mode, and motion without re-prompting Claude. Changes rewrite CSS custom properties in real time and persist to localStorage across refreshes. Use it when someone likes your design 80% of the way but wants to dial in the last 20% themselves, or when you're demoing a brand system and want viewers to feel the variants live. Integrates with the Open Design viewer toolbar via postMessage or class-based protocols. The five-knob pattern is opinionated: curated color swatches instead of free pickers, ±15% scale limits to prevent layout breakage, and motion that respects prefers-reduced-motion.

skills.sh installs
243
GitHub stars
106.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add nexu-io/open-design --skill tweaks --agent claude-code

Installs into .claude/skills of the current project.

Files

Tweaks Skill · 参数化变体面板

Wrap any HTML artifact with a side panel of live controls that rewrite CSS custom properties in real time and persist to localStorage. Inspired by the huashu-design tweak pattern.

What you produce

A single self-contained HTML file with two layers:

  1. Stage — the original artifact (landing page / deck / dashboard) re-keyed so all visual decisions read from CSS custom properties: --accent, --scale, --density, --mode, --motion.
  2. Panel — a fixed sidebar (or drawer on small viewports) with form controls bound to those custom properties via a tiny vanilla-JS bridge. Persists every change to localStorage keyed by the artifact identifier.

The user can:

  • Open the artifact and see the stage rendered with their saved preferences (or sensible defaults).
  • Adjust accent / scale / density / mode / motion in the panel and watch the stage update instantly — no rerender.
  • Press T to hide / reveal the panel; R to reset to defaults.
  • Refresh the page — every choice is persisted.

When to use

Sponsors

Details

Repository
github.com/nexu-io/open-design
Categories
Frontend Development, AI & Agent Building, Design & UI/UX
First seen
Jun 3, 2026

More from nexu-io/open-design

All 217
1ccheney avatarfeature-slicingccheney/robust-skillsProactively apply when creating new features/components/pages or setting up frontend project structure. Triggers on FSD, feature slicing, Feature-Sliced Design,242skills.sh installs
2coollabsio avatartailwindcss-developmentcoollabsio/coolifyAlways invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids240skills.sh installs
3nuxt-modules avatarmanage-mcpnuxt-modules/mcp-toolkitManage MCP servers in Nuxt with @nuxtjs/mcp-toolkit — setup, create tools/resources/prompts, organize with handlers, build interactive MCP Apps, add elicitation240skills.sh installs
4josiahsiegel avatartailwindcss-performancejosiahsiegel/claude-plugin-marketplaceTailwind CSS performance optimization including v4 improvements. PROACTIVELY activate for: (1) Tailwind v4 Oxide engine performance, (2) Lightning CSS minificat237skills.sh installs
5xiaodong-wu avatarweb-design-studioxiaodong-wu/web-design-studioCreate or redesign production-grade standalone websites in semantic HTML, CSS, and JavaScript with distinctive art direction and Codex-generated raster imagery.237skills.sh installs
6borghei avatarsenior-qaborghei/claude-skillsTesting for React/Next.js with Jest, React Testing Library, and Playwright. Use when generating tests, writing unit tests, analyzing coverage, scaffolding E2E t230skills.sh installs