Agent skill UI design
Baseline UI
Shape a web interface around a coherent visual direction.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add ibelick/skills --skill baseline-ui --agent claude-code --yesCheck this file in your project.claude/skills/baseline-ui/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add ibelick/skills --skill baseline-uiSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Open the frontend project and find the target file, existing primitives, and theme conventions. Confirm that Tailwind patterns in the skill fit your project before applying them.
View operation manualWhat this skill helps with
- Shape a web interface around a coherent visual direction.
Good for
- Visual direction
- Scope
- Focused UI improvements for interaction, layout, typography, performance, and styling.
- Review modes
- Apply the rules to current UI work or review one file with exact snippets, reasons, and concrete fixes.
- Dependencies
- The skill describes Tailwind, cn, motion/react and primitive choices. Use the project’s existing stack and add a dependency only when the task needs it.
- Verification
- Check the affected interaction and the visual result at the relevant viewport sizes.
- Skill name
baseline-ui- Repository
ibelick/skills
Give the stylistic review a file and a task
A redesign request without scope
Make this screen less generic.
The assistant lacks the filename, behavior to preserve, and design tokens it should reuse.
A review with an outcome
- Name the panel, file, and user task.
- Ask for exact code snippets and explain the user impact.
- Apply one confirmed fix and verify the same task on the running screen.
Baseline UI operation manual
Start with a narrow file review, then apply a confirmed improvement. The examples use a mobile settings panel and an account activity table.
Find one layout or interaction problem that makes saving settings harder, then fix it in the existing component.
Review one file against Baseline UI
Locate the exact panel and identify the code behind a layout or control issue.
Prompt · Step 1Use the installed baseline-ui skill to review [settings panel file and preview route]. Inspect the file, its shared controls, and real styles. In clients that expose it, this is the equivalent of /baseline-ui <file>. Check the viewport height utility, bottom safe area, icon-only control names, nearby error placement, and use of existing keyboard-aware primitives. For each actionable issue, quote the exact snippet, explain the user impact in one sentence, and propose a concrete code fix. Preserve the product’s established theme and current behavior. Ask if the target file is unclear. Keep this pass to review.Apply the approved local fix
Fix the specific control or layout without replacing the whole panel.
Prompt · Step 2Use baseline-ui to fix [approved finding] in [settings panel file and route]. Capture or reconstruct the current behavior before editing. Reuse the existing UI primitive and tokens. If the issue involves mobile height or a fixed footer, use the supported dynamic viewport and safe-area conventions and keep the Save control reachable. For an unlabeled icon button, give it a descriptive accessible name. If the change would affect a shared primitive, inspect its callers and keep the fix within the approved scope. Preserve existing field, save, permission, and validation behavior.Walk the Save flow on the running panel
Check the before and after states at the device width where the issue occurred.
- The reported failure can be reproduced in the baseline and resolved on the updated panel.
- Existing Save and validation paths remain usable.
Prompt · Step 3Use baseline-ui to verify [approved panel fix] on [local settings route]. Compare the original failure with the same viewport, account, and form state after the change. Open the on-screen keyboard on a supported device when the issue involves a fixed footer. Use a test record to verify that Save remains reachable, errors appear beside the triggering action, and keyboard focus reaches the right controls. Include desktop if the component is shared. Report actual evidence and any check that remains unrunnable.
Find the right Baseline UI rule
Name the affected file and point the assistant to the relevant section.
A panel covers the device’s bottom edgeInteraction
- Command or reference
SKILL.md · Interaction- Examples
- Inspect viewport units and safe-area padding on the actual fixed area.
A button has an icon and no visible textComponents
- Command or reference
SKILL.md · Components- Examples
- Check the accessible name and use the existing button primitive.
Amounts and dates are hard to scan in a tableTypography
- Command or reference
SKILL.md · Typography- Examples
- Confirm the font’s tabular figures and compare successive rows.
A new animation draws attention away from the taskAnimation
- Command or reference
SKILL.md · Animation- Examples
- Find whether motion was requested and inspect the moving element and reduced-motion behavior.
Baseline UI troubleshooting
What if /baseline-ui is not available?
Name the installed baseline-ui skill and give the file path in your request. Ask for the same exact snippet, one-sentence impact, and code-level correction.
Does this replace my existing design system?
Bring the existing tokens and primitives into the request. The publisher prioritizes existing primitives and allows approved theme values before introducing new ones.
Will Tailwind utilities help every text style?
Check which classes the project supports and what the current font can render. Compare actual headings and dense data before using wrapping or numeric utilities.