design-first-ui-prompting

design-first-ui-prompting is a skill for Claude Code, Codex from 2233admin/design-pipeline. It costs 46 tokens per session (819 once invoked), scanned A, a copy of design-first-ui-prompting, MIT.

A method for writing detailed prompts that describe a user interface as a design specification. It covers layout, typography, colors, imagery, copy, and constraints.

In plain words
What is it for?
Use it to plan landing pages, dashboards, onboarding screens, carousels, and other generated UI designs.
Why use it?
It turns vague UI ideas into instructions that are easier for an interface generator to follow and review.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan landing pages, dashboards, onboarding screens, carousels, and other generated UI designs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/2233admin/design-pipeline/design-first-ui-prompting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 2233admin/design-pipeline --skill design-first-ui-prompting
Clone the repo
git clone --depth 1 https://github.com/2233admin/design-pipeline

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for design-first-ui-prompting

README.md
[![agentmods](https://agentmods.dev/badge/skills/2233admin/design-pipeline/design-first-ui-prompting/github.svg)](https://agentmods.dev/skills/2233admin/design-pipeline/design-first-ui-prompting)
Your own site
<a href="https://agentmods.dev/skills/2233admin/design-pipeline/design-first-ui-prompting"><img src="https://agentmods.dev/badge/skills/2233admin/design-pipeline/design-first-ui-prompting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for design-first-ui-prompting

Your own site · 80×15
<a href="https://agentmods.dev/skills/2233admin/design-pipeline/design-first-ui-prompting"><img src="https://agentmods.dev/badge/skills/2233admin/design-pipeline/design-first-ui-prompting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 819 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00819
Opus 5 $0.00023 $0.00409
Sonnet 5 $0.00009 $0.00164
Haiku 4.5 $0.00005 $0.00082

Measured 8d ago against content hash 5e3d4db0eb0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

design-first-ui-prompting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to design-first-ui-prompting — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skill/references/mengto-skills/upstream/agent-skills/ui/design-first-ui-prompting/SKILL.md · 110 lines

How it starts

The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

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.

Read the full file on GitHub · 110 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 110 lines · 46 tokens per session scan A 5e3d4db0eb0e

Subscribe to this mod's changes

design-first-ui-prompting is a skill published in the GitHub repository 2233admin/design-pipeline (9 stars, last pushed 9d ago), licensed MIT. It adds 46 tokens to every session and 819 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to design-first-ui-prompting, differing in 0 lines, and is treated as a copy.