design-first-ui-prompting

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

A structure for writing detailed prompts that guide an AI to create a consistent user interface. It covers the goal, audience, layout, typography, colors, imagery, and exact text.

In plain words
What is it for?
Use it to prompt landing pages, onboarding flows, dashboards, carousel slides, and other interface designs with defined sizes, spacing, visual style, and copy.
Why use it?
It turns a vague design request into specific decisions an AI can follow. That makes generated screens easier to compare and revise.

Skill for Claude CodeCodex

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

Good fit Use it to prompt landing pages, onboarding flows, dashboards, carousel slides, and other interface designs with defined sizes, spacing, visual style, and copy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devinilabs/pro-skill/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 devinilabs/pro-skill --skill design-first-ui-prompting
Clone the repo
git clone --depth 1 https://github.com/devinilabs/pro-skill

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/devinilabs/pro-skill/design-first-ui-prompting/github.svg)](https://agentmods.dev/skills/devinilabs/pro-skill/design-first-ui-prompting)
Your own site
<a href="https://agentmods.dev/skills/devinilabs/pro-skill/design-first-ui-prompting"><img src="https://agentmods.dev/badge/skills/devinilabs/pro-skill/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/devinilabs/pro-skill/design-first-ui-prompting"><img src="https://agentmods.dev/badge/skills/devinilabs/pro-skill/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 9d ago against content hash 5e3d4db0eb0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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.

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. 9d 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 devinilabs/pro-skill (24 stars, last pushed 27d 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.

Related

Other skills, from other repositories

enhance-prompt

Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.

google-labs-code/stitch-skills · 41 tokens

stitch-ued-guide

Visual vocabulary, design terminology, and prompt engineering strategy for Stitch. Reference this when you need layout pattern names, aesthetic style terms, color structure formulas, or device guidelines.

gabelul/stitch-kit · 40 tokens

ai-interaction-patterns

AI UX patterns — prompt UX, wayfinding, HITL, trust, disclosure, memory, generative UI.

terrene-foundation/kailash-coc-claude-py · 29 tokens

stitch-ui-prompt-architect

Builds Stitch-ready prompts via two paths — Path A enhances vague ideas into polished prompts, Path B merges a Design Spec JSON + user request into a structured [Context] [Layout] [Components] prompt.

gabelul/stitch-kit · 50 tokens

ai-feedback-loops

Design feedback mechanisms that help AI systems learn from users - thumbs up/down, preference ranking, corrections, and human-in-the-loop escalation. Use when: RLHF UX, user feedback for AI, thumbs up down design, AI correction flow, human in the loop, feedback signal design, AI improvement loops.

varunk130/ai-ux-skill-library · 66 tokens

ai-product-design

Design or improve an AI-assisted feature, copilot, agent, recommendation, generation, or automation workflow with explicit capability boundaries, user control, recovery, trust, and evaluation. Trigger on "design this AI feature", "improve this copilot", or "plan this agent workflow". Do not default every AI product to…

aditya-ariosity/ux-ui-skills · 70 tokens