AGENT SKILL

design-ui-from-constraints

Turn product goals and explicit constraints into a coherent UI direction and variant plan. Use when a user needs layout, hierarchy, typography, color, interaction, responsive, and accessibility decisions before implementation or visual generation.

适用职业设计师
使用场景视觉设计
License 许可
MIT
最近更新
2026-11-08
Stars
★ 4
Forks
3

01 前言 Front Matter

name
design-ui-from-constraints
engines
[ "AGNOSTIC" ]
description
Turn product goals and explicit constraints into a coherent UI direction and variant plan. Use when a user needs layout, hierarchy, typography, color, interaction, responsive, and accessibility decisions before implementation or visual generation.

02 资源文件 35

03 SKILL.md 正文

Design Ui From Constraints

When to use

  • A UI request is underspecified or driven only by vague aesthetic language.
  • Several controlled variants are needed without random rerolls.
  • A frontend handoff needs measurable visual acceptance criteria.

Workflow

  1. Define the user goal, audience, primary task, platform, content density, brand constraints, and implementation limits.
  2. Specify format, layout hierarchy, typography roles, color roles, imagery, interaction, motion, and accessibility.
  3. Create a constraints card listing what must remain fixed and what may vary.
  4. Produce controlled variants that change one or two major dimensions at a time.
  5. Select a direction using task clarity, originality, feasibility, responsive behavior, and accessibility.
  6. Translate the choice into implementation and validation criteria.

For game interfaces, compose build-game-ui to specify safe areas, localization and text-scale variations, screen/modal input ownership, focus restoration, binding-aware prompts, and HUD lifecycle. Resolve the selected engine's UI skill with resolve-skill.sh before implementation. Browser examples apply only to an actual browser surface; a native game interface requires its own runtime evidence.

Output

  • A design brief and constraints card.
  • A small variant matrix with meaningful tradeoffs.
  • A selected direction with component, responsive, motion, and acceptance guidance.

Guardrails

  • Do not use random variation as a substitute for a design decision.
  • Do not rely on generated typography for final readable text.
  • Do not choose visual novelty over task clarity or accessibility.

04 同仓库更多 Skills

TimothyMeadows
TimothyMeadows/Hephaera

verify-web3-game-lifecycle

Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

verify-onchain-game-assets

Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

plan-web3-game-assets

Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

integrate-game-wallets

Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

integrate-game-asset-trading

Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

build-evm-game-contracts

Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.

★ 4