Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

ui-mockup-fidelityui 样机保真度

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

192

周安装

8

GitHub Stars

公开资料未说明

下载量

64
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ui-mockup-fidelity(ui 样机保真度)
来源仓库:https://github.com/sebkay/skills
仓库路径:skills/ui-mockup-fidelity
安装命令:
npx skills add https://github.com/sebkay/skills --skill ui-mockup-fidelity
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/sebkay/skills --skill ui-mockup-fidelity

简介

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。

  • 适合根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。
  • 使用时需结合现有品牌、设计系统和用户任务,避免堆砌装饰元素;涉及页面改动时应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。
  • 安装方式:github,可通过 npx skills add 命令从指定仓库添加。
  • 适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。

SKILL.md

UI Mockup Fidelity

Implement mockups with fidelity-first execution and explicit reporting of intentional adaptations.

Quick Start

  1. Read the mockup and list every visible section, component, and state.
  2. Identify repeated UI patterns before coding and choose stack-appropriate extraction points (component, partial, include, slot, variant, or primitive).
  3. Apply the layout and token contract from references/layout-token-contract.md.
  4. Implement in four passes: structure, extraction, styling, review.
  5. Run a manual coverage pass using references/mockup-coverage-checklist.md.
  6. Report exact matches, extracted components, intentional deviations, and unresolved ambiguities.

Rule Tiers

Apply these tiers in order.

Tier 1: Hard constraints

  • Use grid grid-cols-12 gap-(--grid-gap) for layout grids by default.
  • Preserve section hierarchy and component order from the mockup.
  • Keep all major layout blocks present; do not drop sections silently.
  • Use explicit background treatment for root and major sections.
  • Extract repeated UI into reusable front-end components instead of duplicating large HTML and Tailwind blocks.
  • When a pattern appears more than once, default to a shared component or variant API unless the repetition is truly incidental.

Tier 2: Default constraints

  • Use project color tokens/classes instead of ad hoc values.
  • Match spacing rhythm, alignment, and proportions as closely as possible.
  • Match responsive behavior implied by the mockup.
  • Match typography hierarchy (size, weight, emphasis, cadence).
  • Keep component APIs narrow and composable; prefer props/slots/variants over copy-pasted markup forks.

Tier 3: Flexible constraints

  • Adapt micro-spacing or decorative detail when implementation context requires it.
  • Preserve visual intent when exact values are unavailable.
  • Leave markup inline only when it is genuinely one-off and unlikely to repeat.

Component Extraction Protocol

Before styling repeated UI, decide what should become a reusable unit.

  • Extract when the same structure, class cluster, or interaction pattern appears in multiple places.
  • Extract when a mockup implies a family of elements such as cards, stats, buttons, feature rows, nav items, badges, or section headers.
  • Prefer project-native abstractions: React/Vue/Svelte components, Blade partials/components, template includes, or equivalent primitives.
  • Avoid "shared" components that merely wrap a single use site; keep unique compositions local.
  • If duplication remains, treat it as a deviation and explain why extraction would have been worse.

Deviation Protocol

Never deviate silently from Tier 1 or Tier 2.

When a deviation is necessary, document it as:

  • Intentional deviation: what changed
  • Reason: why strict adherence was not appropriate
  • Replacement: what was implemented instead

Only deviate when the mockup clearly demands a different approach or when project constraints conflict.

Four-Pass Implementation

  1. Structure pass:
  • Build layout skeleton, section wrappers, and grid placement.
  • Confirm 12-column baseline usage unless intentionally deviating.
  1. Extraction pass:
  • Convert repeated patterns into reusable components before finishing markup.
  • Define the smallest API that covers current usage without speculative abstraction.
  1. Styling pass:
  • Apply tokens, backgrounds, typography, spacing, borders, and shadows.
  • Match stateful elements (hover/active/focus/disabled) when shown.
  1. Fidelity pass:
  • Compare implemented UI against the mockup section by section.
  • Check that repeated patterns are centralized rather than duplicated inline.
  • Complete the coverage checklist before finalizing.

Output Requirements

Before returning final output, provide:

  • What matches exactly
  • What components were extracted
  • What was adapted (with intentional deviation entries)
  • What needs clarification

If details are ambiguous and materially affect fidelity, ask for clarification instead of guessing.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.15%
按下载量换算25

Claude

27.2%
按下载量换算17

Cursor

20.96%
按下载量换算13

Gemini CLI

10.1%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills