Skip to content
Back to skills

Ui

ASecurity

Build or restyle an interface with a real visual loop on a token budget. Use for any new screen, redesign, or visual polish.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 18, 2026
ai-agentsswift

Works with

  • claude code
  • cli
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 18, 2026

npx -y skills add cavallinilorenzo/agentic-engineering --skill ui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cavallinilorenzo-agentic-engineering/badge)](https://www.skillsdirectory.com/skills/cavallinilorenzo-agentic-engineering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ui
description: Build or restyle an interface with a real visual loop on a token budget. Use for any new screen, redesign, or visual polish.
---

# UI

Quality comes from a clear direction, real references and looking at the result. Taste is the human's: the human picks the references and has the last word.

Budget: the direction first, then **at most three visual rounds per screen**. Each round opens two screenshots, roughly 3-5k tokens. Stop at the limit and show the user where you are.

## Steps

1. **Ground it.** Identify the subject, audience and primary job of the screen. Read `DESIGN.md` and the existing tokens and components; reuse them. With no `DESIGN.md`, derive one from the code and write it as part of this work.
2. **Get references.** Ask the user for one to three real examples they admire, unless the task only extends an established design. Without any, propose two contrasting directions in one sentence each and let the user choose.
3. **Direction brief.** In under 150 words: layout idea, type, colour, density, motion, and the one characteristic moment. Choices come from the subject's world. Treat these as generic defaults to justify or avoid: identical rounded card grids, a gradient wash, an eyebrow label above each heading, one accent word in a headline, a fade-up on every section.
   When several directions stay plausible, call the Skill tool with `prototype`, UI branch, and let the user pick by looking.
4. **Build.** On the harness's strongest model, delegate implementation to a subagent on its mid-priced model (Opus and `model: sonnet` in Claude Code), passing the brief. Real content, real states: empty, loading, error, long text.
5. **Visual round.** Screenshot desktop and mobile with Playwright CLI, using synthetic data, and open both. Compare them to the brief and references. Fix the most important problems first. Repeat up to the budget.
6. **Audit.** Dispatch a subagent with [references/web-interface-guidelines.md](references/web-interface-guidelines.md) over the changed files only, returning `file:line` findings. Fix them. This guide covers the web. For SwiftUI and native macOS, audit against Apple's Human Interface Guidelines instead.
7. **Motion, only if the work has it.** Use `emil-design-eng` when it is installed. Motion answers a person's action and shows what changed.

Done when the screen matches the brief at both viewports, every state exists, the audit has no open critical finding, and the user has seen the screenshots. Continue with `/build` step 4.

## Spending less

- Use a tool that saves screenshots to disk rather than a browser MCP, whose page snapshots dominate cost.
- Decide from the brief before building. A vague brief is the largest source of wasted rounds.
- Keep the reference files out of the main context: the audit subagent loads them.

Files in this skill

  • SKILL.md2.8 KB
  • references/web-interface-guidelines.md7.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.