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
- 参考文档adapters.md919 B
- 参考文档agents/openai.yaml251 B
- 参考文档api.md896 B
- 参考文档check.md16.6 KB
- 参考文档classify.md1.0 KB
- 参考文档context.md6.9 KB
- 参考文档contract-lint.md3.6 KB
- 参考文档crash-evidence.md2.1 KB
- 参考文档dashboard.md6.0 KB
- 参考文档docs.md2.5 KB
- 参考文档doctor.md7.9 KB
- 参考文档evidence.md1.8 KB
- 参考文档explain.md10.1 KB
- 参考文档flow.md971 B
- 参考文档handoff.md2.0 KB
- 参考文档help.md3.5 KB
- 参考文档impact.md863 B
- 参考文档index.md9.0 KB
- 参考文档init.md14.6 KB
- 参考文档line-endings.md1.7 KB
- 参考文档map.md4.9 KB
- 参考文档next.md1.9 KB
- 参考文档onboard.md2.2 KB
- 参考文档quality.md1016 B
- 参考文档run.md7.2 KB
- 参考文档script-pack.md1.0 KB
- 参考文档search.md6.0 KB
- 参考文档status.md3.1 KB
- 参考文档tech.md985 B
- 参考文档update.md10.4 KB
- 参考文档upgrade.md1.3 KB
- 参考文档verify.md8.6 KB
- 参考文档version-sources.md1.8 KB
- 参考文档version.md2.0 KB
- 参考文档workspace.md2.4 KB
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
- Define the user goal, audience, primary task, platform, content density, brand constraints, and implementation limits.
- Specify format, layout hierarchy, typography roles, color roles, imagery, interaction, motion, and accessibility.
- Create a constraints card listing what must remain fixed and what may vary.
- Produce controlled variants that change one or two major dimensions at a time.
- Select a direction using task clarity, originality, feasibility, responsive behavior, and accessibility.
- 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
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.
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.
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.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
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.
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.