/kargnas-skills:ui-buffetfrom kargnas-skills
Generates eight UI/UX design concepts in a browser preview, lets the user pick one, then builds it. Activates when the user wants several UI options or wants to discuss a design before building.
Ships in kargnas-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Goal: Create eight UI/UX design concepts in a browser preview, let the user pick one, then build it.
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.
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:
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.UI Buffet can show eight 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.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.
Clarify only if the capability itself is ambiguous. One question per message, multiple choice when possible. Do not ask about scope, token cost, or whether to open the preview.
Start the clean-context subagent for concept 8 in the background (see ## The Fresh Eyes concept), then go straight to step 5. Concepts 1-7 do not depend on its answer, so draft them while it runs, outside screen_dir. Write the screen file once, after concept 8 is drawn or reported missing; that is the only point where you wait for the subagent.
Start the browser preview with scripts/start-server.sh --project-dir <project root> --open and follow references/visual-companion.md. Reaching this step is the approval: never ask before opening it, never mention token cost, and prefer an HTML preview over ASCII.
Create eight 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. 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):
## The Fresh Eyes concept). When that section reports it missing, leave it out and show the other seven.Draw every concept with the project's design tokens from step 2:
Breaks: one primary button per screen).In concepts 1-7, 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. Draw concept 8 as the subagent described it.
Growth: <feature> · watch: <number that shows it works>.End your turn with the URL and a one-line summary, and ask the user to click a concept and reply in the terminal.
Once the user chooses, read the click events, push the waiting screen, and 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.
Verify by running the project's tests and lint and confirming the chosen concept renders in the app.
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:
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 concepts 1-7.
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. Draw no concept 8 when any of the following happens; tell the user in one line that the Fresh Eyes concept is missing and why, and show the other seven:
How to build the goal sentence:
Calibration examples:
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
Change the way of creating a new nickname during the user signing upDuo finder: (1) add voice-chat preference filter (2) show mic icon on profiles (3) persist in localStorage
Improve the duo finder experienceAdd a voice-chat preference filter to the duo finderLet duo-finder users express whether they want voice chat when matchingreferences/visual-companion.mdscripts/start-server.sh, scripts/stop-server.shSUBSCRIPTION NOTICE). That's an AI smell design.agents/openai.yaml (opens in a new tab)references/visual-companion.md (opens in a new tab)scripts/LICENSE (opens in a new tab)scripts/frame-template.html (opens in a new tab)scripts/helper.js (opens in a new tab)scripts/preview-server.test.sh (opens in a new tab)scripts/server.cjs (opens in a new tab)scripts/start-server.sh (opens in a new tab)scripts/stop-server.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kargnas/skills --plugin kargnas-skills13 skills in this plugin
/ai-readyUse only when the user asks to make the repo AI-ready or AI-optimized (AGENTS.md migration, debugging/testing setup, docs). Do not run on your own./git-loreCaptures, queries, and configures decision context in native Git trailers. Use for non-trivial commit messages, decisions, rejected alternatives, follow-ups, Lore history queries, pull request decision summaries, or Lore rules in agent instructions./humanizer-kill-gptRuns a cross-language cleanup for writing tells shared by large frontier LLMs, not only GPT: English source constructs that survive other language translation and language-surface translationese. Use only when the user asks to remove AI/GPT tells from text (de-GPT, GPT 티, AI 티, 번역체 GPT, 자폐 말투 — colloquial shorthand for rigid or over-complete model prose, not a claim about autism)./minimal-frontendA default fallback design system for app UI and standalone HTML report pages, covering theme tokens, type and density scale, status colors, container-first responsive rules, anti-slop, and accessibility./minimal-patch-with-subagentsMinimal patching workflow that debates fix options across parallel independent subagents and applies the smallest safe diff. Use only when you want risk-free code, and to code real minimal that only needs to fix the issue./oss-finderFinds battle-tested open-source repos, libraries, frameworks, CLI tools, or code on GitHub, ranked by README polish-days instead of stars. Also the shared GitHub code-search backend toolkit — rotating PAT pool, grep.app, Blackbird web index, BigQuery/GHArchive, and the code-search fallback chain. Use for 'find a library/framework/tool for X', 'battle-tested repo', GitHub-wide code search, or when `gh search code` rate-limits. Finding installable SKILL.md agent-skill packages goes to the skill-finder skill (it delegates its GitHub sweep here).