Agent skill

Design First UI Prompting

by nirholas in nirholas/three.ws

A skill your agent uses when you need design-first, spec-driven, skimmable prompts for UI generation.

Apache-2.0Auto-check passedFrontend & Design

Install Design First UI Prompting

skills CLI
$ npx skills add nirholas/three.ws --skill design-first-ui-prompting -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nirholas/three.ws design-first-ui-prompting --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nirholas/three.ws.git skills-src && mkdir -p .claude/skills && cp -r skills-src/third_party/designcode-agent-skills/agent-skills/ui/design-first-ui-prompting .claude/skills/design-first-ui-prompting && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
design-first-ui-prompting
GitHub stars
228
Used in
1 other repo
Token cost
~764 tokens
SKILL.md length
232 words
Files
6
Skills in repo
92
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when you need design-first, spec-driven, skimmable prompts for UI generation.

  • Works in 4 steps: Lock one “system”, then iterate with… → Treat typography as fragile → Use “constraints cards” → …
  • You need design-first
  • SKILL.md covers Core principle, Prompt Structure (copy/paste), Rules that improve consistency and Fast iteration checklist (what…, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Design First UI Prompting is an agent skill from nirholas/three.ws. Use when you need design-first, spec-driven, skimmable prompts for UI generation. Covers prompt structure, constraints, variations, typography/spacing rules, and iteration workflow for consistent UI outputs.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files (for example `ARTICLE.md`, `REFERENCES.md` and `demo/PROMPT.md`).

It sits in Frontend & Design, covering Typography and Spec-driven development. The repository describes itself as: Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web… The licence is Apache-2.0.

When your agent uses it

  • You need design-first
  • Skimmable prompts for UI generation

Example prompts

  • “/design-first-ui-prompting”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Lock one “system”, then iterate with variants
  2. Treat typography as fragile
  3. Use “constraints cards”
  4. Keep a local reference pack

What it can do on your machine

Read from SKILL.md and the folder at commit ec8d1d2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Design First UI Prompting loads about 764 tokens when it runs. Until then it costs about 58 tokens; SKILL.md has 232 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~58
When it runs · the whole SKILL.md, loaded when a task matches
~764

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nirholas/three.ws at commit ec8d1d2, republished under its Apache-2.0 licence (© nirholas). 232 words, ~764 tokens.

Download SKILL.mdSave it as .claude/skills/design-first-ui-prompting/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
design-first-ui-prompting
description
Use when you need design-first, spec-driven, skimmable prompts for UI generation. Covers prompt structure, constraints, variations, typography/spacing rules, and iteration workflow for consistent UI outputs.

Design-First UI Prompting Skill

This skill is for design-first prompting: turn fuzzy ideas into a tight spec that produces consistent UI.

Core principle

Prompt like a design system, not a wish.

Prompt Structure (copy/paste)

Use this skeleton, then fill the blanks.

text
GOAL
- What are we making? (e.g., landing page hero / onboarding / dashboard / carousel slide)
- Who is it for? (persona)
- What’s the success criteria? (clarity, conversion, vibe)

FORMAT
- Size/aspect: (e.g., 1080x1350)
- Safe margins: (e.g., 90px)

LAYOUT (wireframe in words)
- Grid: (e.g., Swiss 6-col)
- Placement: (e.g., type-left / image-right)
- Hierarchy: H1 → subhead → body → CTA

TYPE SYSTEM
- Font vibe: (e.g., Söhne / Neue Haas / SF Pro)
- Weights: (H1 700, body 400)
- Leading: (tight for H1, readable for body)
- Tracking: (micro labels wider)

COLOR + MATERIAL
- Background: (hex or description)
- Text: (white/ivory/charcoal)
- One accent only: (cyan/lime/purple)
- Texture: (subtle grain, no plastic HDR)

IMAGERY / UI STYLE
- UI style: (minimal / glass / editorial / playful 3D)
- If photo: lighting + crop + texture rules
- If 3D: materials + lighting + softness

COPY (render EXACTLY)
- Line 1:
- Line 2:
- ...

CONSTRAINTS (change 1–2 things only)
- FONT: ___
- STYLE: ___
- MODE: ___

NEGATIVE PROMPT
- No logos, no watermarks
- No extra text beyond provided lines
- No gibberish typography

Rules that improve consistency

1) Lock one “system”, then iterate with variants
  • First output: nail layout + hierarchy + copy.
  • Variants: change ONE variable at a time:
    • angle / crop
    • accent color
    • card arrangement
    • background tone
2) Treat typography as fragile

If the model keeps misspelling:

  • Use 2-pass workflow:
    1. Generate without text (reserve a clean text-safe area)
    2. Typeset in Figma
3) Use “constraints cards”

When you want the model to obey a style:

  • Add a small “Constraints” panel with explicit values.
  • It anchors the output like a mini style guide.

Example:

text
Constraints
FONT  CANELA
STYLE  MINIMAL
MODE  DARK
4) Keep a local reference pack

Don’t ask the model to “remember” taste.

  • Save references into a gitignored local reference folder, such as refs/...
  • Point prompts to the reference style

Fast iteration checklist (what to tweak)

  • Spacing: margins, leading, baseline rhythm
  • Contrast: background vs text
  • Hierarchy: one hero line, one support line
  • One accent only (don’t rainbow)
  • Texture: add grain, remove smoothing

Questions to ask (when user is vague)

  • What’s the single message of this screen?
  • What’s the hierarchy (H1 / sub / CTA)?
  • Which style lane: minimal editorial vs playful 3D vs glass UI?
  • Any must-keep constraints (font vibe, color, spacing, grid)?

© nirholas, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files in third_party/designcode-agent-skills/agent-skills/ui/design-first-ui-prompting of nirholas/three.ws.

  • SKILL.md
  • ARTICLE.md
  • REFERENCES.md
  • demo/PROMPT.md
  • demo/index.html
  • demo/preview.jpg

Open the folder on GitHubat commit ec8d1d2

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in nirholas/three.ws, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Design First UI Prompting next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Design First UI Prompting compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Design First UI Prompting this skillnirholas/three.ws2281 repos~764Automated safety check: PassApache-2.0
Daoyou Game UIChurchTao/Daoyou146—~1.4kAutomated safety check: PassGPL-3.0
Concept DiagramsTommy-yw/RunbookHermes5463 repos~4.3kAutomated safety check: PassMIT
Designrshankras/claude-code-apple-skills785—~1kAutomated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
Tailwindcss Developmentanonaddy/anonaddy4.9k10 repos~865Automated safety check: PassMIT

Similar skills

  • Daoyou Game UI

    ChurchTao/Daoyou

    为本项目的主流程游戏 UI 提供抽象规范与审查方法,覆盖 GameViewportLayout 及其场景页、共享壳组件和正文交互。Use when implementing, refactoring, or reviewing scene-page structure, typography, borders, navigation, component ownership, or…

    146 GitHub stars~1.4k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Concept Diagrams

    Tommy-yw/RunbookHermes

    Generate flat, minimal light/dark-aware SVG diagrams as standalone HTML files, using a unified educational visual language with 9 semantic color ramps, sentence-case typography, and automatic dark…

    546 GitHub starsUsed in 3 repos~4.3k tokens
    Frontend & DesignAuto-check passed
  • Design

    rshankras/claude-code-apple-skills

    Design skills for Apple platform UI — Liquid Glass, animations, game feel (haptics, sound, celebrations), UI prototyping, UX writing, SF Symbols, and typography.

    785 GitHub stars~1k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Tailwindcss Development

    anonaddy/anonaddy

    Always invoke when the user's message includes 'tailwind' in any form.

    4.9k GitHub starsUsed in 10 repos~865 tokens
    Frontend & DesignAuto-check passed
  • Design System

    Ohh-889/skyroc

    Token architecture, component specifications, and slide generation.

    795 GitHub starsUsed in 11 repos~1.7k tokens
    Frontend & DesignAuto-check passed

More from nirholas/three.ws

All 92 skills in this repo
  • Add Shader Cursor Trail

    nirholas/three.ws

    Add the Shaders WebGPU mouse effect used for the Tidal Commons hero: a white twinkling halftone cursor trail driven by ChromaFlow, masked through a DotGrid, finished with chromatic ripples and film…

    228 GitHub starsUsed in 1 repo~760 tokens
    Auto-check passed
  • Publish Project To GitHub

    nirholas/three.ws

    Package a finished local project into an intentional GitHub repository, create a strong README and visual preview, push it safely, configure a public GitHub Pages URL when the project is compatible…

    228 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check: notes
  • Audit a website or digital experience against its supplied source references for originality and plagiarism risk.

    228 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Turn a completed daily UI inspiration capture into exactly five original landing-page builds, one per separate Codex task, using Sites.

    228 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Write Like Meng On X

    nirholas/three.ws

    Write, rewrite, review, or continuously refine X/Twitter posts in Meng To's current voice using his deduplicated authored-post corpus, personal and product context, shared resources, and Content…

    228 GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Browser Video Recording

    nirholas/three.ws

    Create polished 60 fps 4:3 4K browser screen-recording style videos from Codex in-app browser captures, with browser-only crop, natural macOS cursor styling, deliberate click choreography…

    228 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed

Questions about Design First UI Prompting

What does Design First UI Prompting do?

A skill your agent uses when you need design-first, spec-driven, skimmable prompts for UI generation. ws. Use when you need design-first, spec-driven, skimmable prompts for UI generation.

When should I use Design First UI Prompting?

Design First UI Prompting fits situations like: you need design-first; skimmable prompts for UI generation.

How do I install Design First UI Prompting in Claude Code?

Run `npx skills add nirholas/three.ws --skill design-first-ui-prompting -a claude-code`. Or copy the skill folder (third_party/designcode-agent-skills/agent-skills/ui/design-first-ui-prompting in nirholas/three.ws) into .claude/skills/design-first-ui-prompting in your project. Claude Code loads it when a task matches its description.

How do I install Design First UI Prompting in Codex?

Run `npx skills add nirholas/three.ws --skill design-first-ui-prompting -a codex`. Or copy the skill folder (third_party/designcode-agent-skills/agent-skills/ui/design-first-ui-prompting in nirholas/three.ws) into .agents/skills/design-first-ui-prompting in your project. Codex loads it when a task matches its description.

Can I use Design First UI Prompting in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nirholas/three.ws --skill design-first-ui-prompting -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-first-ui-prompting, .gemini/skills/design-first-ui-prompting, .github/skills/design-first-ui-prompting and .opencode/skills/design-first-ui-prompting in your project.

What does Design First UI Prompting need to run?

SKILL.md names no scripts, command-line tools or credentials: Design First UI Prompting is instructions for the agent only.

Does Design First UI Prompting access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Design First UI Prompting safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Design First UI Prompting use?

Design First UI Prompting is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Design First UI Prompting use?

About 764 tokens (SKILL.md is roughly 3.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Design First UI Prompting?

Skills that share tags, products or a category with Design First UI Prompting: Daoyou Game UI (ChurchTao/Daoyou, 146 stars), Concept Diagrams (Tommy-yw/RunbookHermes, 546 stars), Design (rshankras/claude-code-apple-skills, 785 stars) and Impeccable (bestofjs/bestofjs, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Design First UI Prompting?

nirholas (a GitHub user) maintains it in nirholas/three.ws, which has 228 GitHub stars. The repository holds 92 skills in this directory. The repository was last updated on October 9, 2026.

Source: nirholas/three.ws on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.