Create visual parameter tuning panels for iterative adjustment of animations, layouts, colors, typography, physics, or any numeric/visual values. Use when the user asks to "create a tuning panel", "add parameter controls", "build a debug panel", "tweak parameters visually", "fine-tune values", "dial in the settings", or "adjust parameters interactively". Also triggers on mentions of "leva", "dat.GUI", or "tweakpane".
View on GitHubpetekp/agent-skills
explainer
January 25, 2026
Select agents to install to:
npx add-skill https://github.com/petekp/agent-skills/blob/main/skills/tuning-panel/SKILL.md -a claude-code --skill tuning-panelInstallation paths:
.claude/skills/tuning-panel/# Tuning Panel Skill Create bespoke parameter tuning panels that give users visual control over values they're iterating on. These panels surface all relevant parameters for the current task, enable real-time adjustment, and export tuned values in an LLM-friendly format. ## Core Philosophy **Err on the side of exhaustive.** When a user is tuning something, surface every parameter that could reasonably affect the outcome. Missing a parameter forces context-switching; having "too many" parameters costs only scroll distance. **Debug-mode only.** Tuning panels should never appear in production. Use environment checks, build flags, or URL parameters. **Export changed values only.** LLM exports should show only what was tuned, not all 100+ parameters. ## Platform Selection | Platform | Library | Reference | |----------|---------|-----------| | **React** | Leva (recommended) | [references/react-leva.md](references/react-leva.md) | | **SwiftUI** | Native controls | [references/swiftui.md](references/swiftui.md) | | **Vanilla JS** | Tweakpane or dat.GUI | [references/vanilla-js.md](references/vanilla-js.md) | ## Implementation Workflow ### Step 1: Identify All Tunable Parameters Analyze the code being tuned and extract every parameter that affects the output. See [references/parameter-categories.md](references/parameter-categories.md) for exhaustive lists by domain. **Common categories:** - **Animation**: duration, delay, easing, spring physics (stiffness, damping, mass) - **Layout**: padding, margin, gap, width, height, position - **Visual**: colors, opacity, shadows, borders, transforms - **Typography**: font size, line height, letter spacing, weight **Discovery strategies:** 1. Search for magic numbers (any hardcoded numeric value) 2. Look for style objects (CSS-in-JS, inline styles, theme values) 3. Find animation definitions (Framer Motion, CSS transitions, SwiftUI animations) 4. Identify color values (hex, RGB, HSL anywhere in the file) 5. Check component p