Skip to content
Back to skills

Ui Buffet

ASecurity

Previews several UI/UX design concepts in the browser and builds the pick. Activates when the user asks for several UI/UX options or wants to think over or discuss a design before building.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsgobashexpressawsapi

Works with

  • claude code
  • cli
  • api

Security analysis

A100/100

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

Scanned December 4, 2026

npx -y skills add kargnas/skills --skill ui-buffet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui Buffet?

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

Security grade badge for Ui Buffet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kargnas-ui-buffet/badge)](https://www.skillsdirectory.com/skills/kargnas-ui-buffet)

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-buffet
description: Previews several UI/UX design concepts in the browser and builds the pick. Activates when the user asks for several UI/UX options or wants to think over or discuss a design before building.
---

# UI Buffet

Goal: Preview distinct UI/UX concepts and build the user's pick.

## Context

Assume a global audience that is comfortable with gaming UI patterns unless the project's docs say otherwise, and state that assumption when they are silent. The requester has a broad idea for a feature, and the idea may not travel well to that audience, so the concepts must not be limited to gaming patterns.

Assume a mature codebase with years of history unless the project shows otherwise. Much of it is already built well, so never bolt a workaround onto a new place. Even after planning, find where the new logic belongs inside the existing code. For example, for email verification: find the existing sign-up logic AND the first user-facing verification point — you should find both.

## Steps

1. **Offer the buffet when it activated on its own.** Skip this step if the user named this skill (e.g. `/ui-buffet`, `$ui-buffet`, or "UI Buffet"). If the user has already said not to ask (earlier in the conversation or in their agent instructions), skip the question: run the buffet unless they also declined it. Otherwise:
   - Offer it once for this request in a short plain-text message, not a multiple-choice prompt. Say it takes about 5–10 minutes (a time estimate, not a token cost) and that you strongly recommend it, because it shows the industry and global standard approaches next to UIs the user would not have imagined.
   - Wait at most 5 minutes for the answer when your harness can wake you after a delay. Start the timer first, add to the offer that no answer within 5 minutes means you continue without the buffet, then end your turn. In Claude Code, run `sleep 300` as a background Bash command; the harness notifies you when it exits. Otherwise, leave out the timeout sentence, end your turn, and wait for the reply.
   - If the user answers first, stop the timer and follow their answer; ignore a timer that ends after they answered. If they decline, help with the request without this skill. If the timer ends with no answer, say in one line that you are continuing without the buffet, then help the same way.
   - Example with a timer (translate as needed): `UI Buffet can show design concepts in your browser before anything is built. It takes about 5–10 minutes, but I strongly recommend it: you see the industry and global standard approaches next to UIs you might never have imagined. Shall I run it? If I don't hear back in 5 minutes, I'll continue without it.`
2. **Explore project context.** First read the project's design rules and design tokens, for example a `DESIGN.md`, a design-system doc, a Tailwind theme, CSS custom properties, or a tokens JSON, plus any design guidance the project's agent instructions point to. If the project has none, say so, infer the tokens from its existing UI, and state what you assumed; do not create a design file unless the user asks. Then read the files, docs, and recent commits around the surface being changed so the concepts fit the existing flow.
3. **Clarify only if the capability itself is ambiguous**, because those answers change what you draw. One question per message, multiple choice when possible. Put any other question you need the user to answer on the concept page instead (step 6). Do not ask about scope, token cost, or whether to open the preview.
4. **Start the clean-context subagent** for [Fresh Eyes](#the-fresh-eyes-concept), then go straight to step 5. Draft the other concepts outside `screen_dir` while it runs. Write the screen file once Fresh Eyes is drawn or reported missing.
5. **Show the concepts in the live preview** started with `scripts/start-server.sh`. It serves the page and receives the answers the user sends from it. `references/visual-companion.md` covers starting it, reaching it from another machine over Tailscale, and the page markup. Reaching this step is the approval: never ask before starting the preview, never mention token cost, and prefer an HTML preview over ASCII.
6. **Create nine distinct UI/UX concepts** (override the count only if the user asks for a specific number). Match the preview's fidelity and presentation to the design question using `references/visual-companion.md`, and make every concept available for comparison before the user chooses. Put the concepts in one question block and the questions from step 3 after it, so one send answers them all. Give the screen a `<title>` that names what you generated so the browser tab shows it; `references/visual-companion.md` says where it goes. Label each concept card with a badge counting the clicks and inputs needed to finish the main task (e.g. `3 clicks · 1 input`):
   1. Your own recommendation
   2. The approach a market leader would most commonly use
   3. The standard approach global developers would use
   4. An unusual approach that departs from common patterns
   5. A devil's advocate approach
   6. Korean design practice
   7. Chinese design practice
   8. Japanese design practice
   9. [Fresh Eyes](#the-fresh-eyes-concept) from the clean-context subagent; omit if unavailable.

   Compare 6–8 with the same user, task, data and base UI language. On each card, cite comparable local products that share the pattern or label it a hypothesis.

   When a supported language's text, reading direction or observed use warrants a different layout, recommend it and show it beside the base language at the same width on one card.

   Draw every concept with the project's design tokens from step 2:
   - The tokens never change, however far a concept departs from the design rules: borders, fonts, corner radius, and every other token value stay exactly as the project defines them.
   - Take every visual value from the tokens. If a concept needs a value they leave out, such as a modal scrim, derive it from a token or from the project's existing UI and state that assumption; never invent a new look.
   - A concept may break a design rule only if its card names that rule (e.g. `Breaks: one primary button per screen`).
   - Concepts 4 and 5 ignore the project's design rules and keep only its tokens; their cards still name each rule they actually break.

   In the concepts you design, look for a feature that brings the product new users, spreads it from person to person, or draws more traffic. Build one in only where the user, at that point in the main task, has their own reason to use it. Let each concept find its feature from its own approach, so the features differ across concepts. Keep Fresh Eyes as returned.
   - Draw where a new person arrives through the feature and what they can do there.
   - Keep the main task as short as it is without the feature; the click badge counts only the main task. Give each concept with such a feature a second badge in the form `Growth: <feature> · watch: <number that shows it works>`.
   - If the main task gives the user no such reason, add the feature to no concept and say so once in the subtitle. If only some concepts have a place for it, say so once on each card without one.
7. **Wait for the answers.** Give the user the URL and a one-line summary, and ask them to pick and press the send button at the bottom of the page. Then wait with `scripts/wait-answers.mjs` in short foreground runs, as `references/visual-companion.md` (The Loop) describes. A reply in the conversation answers too, and it reaches you when a run ends.
8. **Once the answers arrive**, push the waiting screen, then carry the build through plan, audit, and verification without asking the user. Stop and ask before committing, pushing, or deleting anything the user did not request.
9. **Verify** by running the project's tests and lint and confirming the chosen concept renders in the app.

## The Fresh Eyes concept

This is the most important concept of this skill. The one concept must be produced by a clean-context subagent that never sees the user's conditions, feature list, or implementation choices. Because the user sometimes can't think outside of the plan, so need a super fresh eyes.

You send the subagent ONE goal sentence followed by this fixed line, and nothing else, not even the project's design tokens; you apply them yourself when you draw its concept:

`Answer in plain text with one concept. Do not read, search, or write any files.`

Sending only that prompt does not make the context clean: a subagent can still inherit your conversation, and a runtime can load the agent instructions, such as `AGENTS.md`, of the directory it starts in or of any parent directory into a subagent that received nothing else. Start the subagent so that all of these hold:

- It receives none of your conversation.
- It starts in a new empty directory under the system temporary directory, so no project instruction file sits in that directory or above it.
- It runs in the background under a 10-minute time limit, with its output redirected to a file in that directory.

A fresh agent CLI process started in the background from that directory meets all three. Use another subagent mechanism only if it meets all three as well. If your runtime lets you set the reasoning effort, keep it below the maximum so the answer arrives while you draft the other concepts.

When the run ends, read the answer and delete the directory. Check the answer for anything the prompt did not give it: file paths, repository or project names, project rules, or details of the current UI. User-level agent instructions can still reach a fresh process, so such content can come from them as well as from the project.

Start one more run from a new empty directory if the answer shows such content, or if the run fails or returns nothing before its time limit. If any of the following happens, explain in one line why Fresh Eyes is missing and show the remaining concepts:

- The second run also shows such content, fails, or returns nothing.
- A run reaches its 10-minute limit.
- Nothing you can start meets all three conditions.

How to build the goal sentence:

1. **Keep**: the product surface (e.g. "champion detail page", "duo finder", "sign-up flow") and the single user-facing capability being changed — expressed as a user need, not as a solution.
2. **Strip**: every numbered condition, repo name, data source, tier/threshold, caching rule, rollout scope, storage detail, and UI element.
3. **Strip solution words too**: if the user's request names a mechanism ("filter", "tab", "dropdown", "fallback", "cache"), that word must NOT appear in the goal sentence. Restate it as the underlying need. Copying the user's own feature phrasing verbatim defeats the entire purpose — the subagent must be free to invent a different mechanism.
4. The sentence must be specific enough that a stranger knows WHAT capability to design, but free enough that they design HOW from scratch.

Calibration examples:

- User request: `See those repos: user-api, recommendation-api. I want to: (1) change how to treat the temporary nickname (2) the user should be able to choose their nickname when they sign up (3 choices) (3) if registering fails, fall back to a random string nickname`
  - Right: `Change the way of creating a new nickname during the user signing up`
- User request: `Duo finder: (1) add voice-chat preference filter (2) show mic icon on profiles (3) persist in localStorage`
  - Wrong (too vague — lost the capability): `Improve the duo finder experience`
  - Wrong (leaked the user's solution): `Add a voice-chat preference filter to the duo finder`
  - Right: `Let duo-finder users express whether they want voice chat when matching`

## References

- Browser preview guide: `references/visual-companion.md`
- Answer waiter: `scripts/wait-answers.mjs`
- Server scripts: `scripts/start-server.sh`, `scripts/stop-server.sh`

## NEVER do for design
- NEVER suggest Metric Card, Stat Card, or KPI Card design. That's a useless & AI smell design.
- NEVER use an Eyebrow (a.k.a. Overline/Kicker): a small, letter-spaced, ALL-CAPS label above a heading (e.g. `SUBSCRIPTION NOTICE`). That's an AI smell design.
- NEVER use a left accent border callout (a box or quote with a colored vertical bar on the left edge). That's an AI smell design.
- NEVER use a hero followed by a 3-column feature card grid (icon + title + short description). That's an AI smell design.

Files in this skill

  • SKILL.md9.3 KB
  • agents/openai.yaml155 B
  • references/visual-companion.md9.6 KB
  • scripts/LICENSE1.3 KB
  • scripts/frame-template.html7.8 KB
  • scripts/helper.js5 KB
  • scripts/preview-server.test.sh2 KB
  • scripts/server.cjs21.6 KB
  • scripts/start-server.sh6.8 KB
  • scripts/stop-server.sh3.2 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.