Patterns decide structure
39 cards map scenario, audience, content objects, page roles, and state model to an information architecture. Navigation is derived from the job, not decorative filler.
Portable agent skill Codex · Claude Code · Cursor · Gemini CLI
UI Skill turns a short product idea into a structured design contract, a reusable build prompt, a 6–8 route website, and browser evidence — by composing from a distilled design system, not by stuffing 300 templates into context.
A model can produce a hero, three cards, and a gradient in seconds. The harder problem is deciding what the page is for, what belongs on which route, which spatial idea carries the task, and how the result should prove it works.
39 cards map scenario, audience, content objects, page roles, and state model to an information architecture. Navigation is derived from the job, not decorative filler.
Each of 303 fingerprints keeps only design-bearing signals: silhouette, anchor object, depth, shape grammar, typography, material, motion, and anti-patterns.
The build is not done at a screenshot. The skill checks route coverage, content depth, shared navigation, responsive layout, accessibility, interactions, and broken links.
Scenario, audience, job, core objects, state, constraints, and confidence.
brief.json
High confidence selects one direction. Low confidence returns 2–3 candidates.
directions.json
Pattern card × principles × style capsule × fingerprint × negative pattern.
DESIGN.md
6–8 routes, at least four substantive sections per route, shared state.
prompt.md
Browser screenshots, responsive checks, keyboard paths, and interaction tests.
report.json
These are not one template with new colors. Each case was generated from a different information architecture, composition family, and visual direction — then tested route by route.
Open live site ↗
“A quiet community clinic where neighbours can choose a team and clinician, see available times, and confirm an appointment.”
Open live site ↗
“A dense cold-chain investigation desk that monitors temperature exceptions, locates containers, and traces the cause of delays.”
Open live site ↗
“A city-museum guide that lets visitors browse objects by room, hear their stories, and plan a route around their interests.”
Open live site ↗
“An architecture practice that presents adaptive-reuse projects as detailed case files and invites a grounded project inquiry.”
Open live site ↗
“A personal-finance workspace for reviewing monthly cash flow, checking transactions, and understanding a safe-to-spend number.”
Open live site ↗
“A roastery site for browsing lots, reading a single-origin dossier, building a subscription, and following a brew guide.”
The original corpus is valuable because it contains many distinct spatial ideas. Loading every document is expensive, unstable, and tends to collapse into surface-level imitation.
UI Skill separates the question “what must this page do?” from “how could this page feel different?” Then it composes a small, deliberate set.
303 independently written fingerprints, grouped into 18 composition families. They preserve the range of the corpus without redistributing its bodies, copy, brands, images, fonts, or code.
Open the 303-entry catalog ↗Install globally for Codex, or select multiple agents. The skill follows the open SKILL.md convention; it is not tied to one editor.
# install for Codex npx skills add urlhearts/ui-skill --skill ui-skill -g -y # or several agents at once npx skills add urlhearts/ui-skill \ --skill ui-skill \ --agent codex claude-code cursor gemini-cli opencode \ -g -y
English is the default because the skill is aimed at a cross-agent, global audience. Use Chinese only when the user explicitly asks for Chinese or the brief requires it.
No. The runtime contains distilled fingerprints: layout signals and anti-patterns. Source documents, copy, brands, images, fonts, icons, and code are not redistributed.
The skill stops at two or three candidate directions instead of forcing an unrelated template onto the problem. It presents the tradeoff and waits for a choice.
The repository is licensed CC BY-NC 4.0. Commercial use requires separate permission from the relevant rights holders; it is not a free-commercial-use license.
The standard build includes route coverage, content-depth, navigation, link, responsive, accessibility, interaction, and screenshot checks. The tests are part of the skill, not an optional afterthought.
Stop prompting for a hero section.