Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问clear审计通过

web-interface-design网页界面设计

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,891

周安装

78

GitHub Stars

35

下载量

618
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:web-interface-design(网页界面设计)
来源仓库:https://github.com/ratacat/claude-skills
仓库路径:skills/web-interface-design
安装命令:
npx skills add https://github.com/ratacat/claude-skills --skill web-interface-design
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/ratacat/claude-skills --skill web-interface-design

简介

用于辅助前端页面、组件和样式逻辑的开发与维护,支持多种框架。

  • 适合生成或审查 React、Next.js、Vue、Tailwind CSS 等相关代码片段。
  • 通过 GitHub 仓库安装,支持 Codex、Claude、Cursor、Gemini CLI 等宿主。
  • 使用时需结合项目现有设计系统,避免只生成孤立组件;改动后应通过预览验证效果。
  • web-interface-design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Web Interface Design

Overview

Design exists to separate the primary from the secondary. Users should instantly recognize what matters. Good interface design is invisible—users accomplish goals without noticing the interface.

This skill orchestrates domain-specific reference files. Read only what you need for the task.

Reference File Index

TaskLoad Reference
Font sizes, line spacing, heading hierarchy, vertical rhythmreferences/typography.md
Input fields, validation, checkboxes, radios, selects, textareasreferences/forms-and-inputs.md
Button hierarchy, sizing, states, CTAs, ghost buttonsreferences/buttons.md
Color palettes, dark mode, tints/shades, state colorsreferences/color-systems.md
Navigation, cards, tabs, accordions, modals, tables, toastsreferences/ui-components.md
Grids, spacing scales, responsive patterns, whitespacereferences/layout-and-spacing.md
Focus techniques, hierarchy principles, action pyramidreferences/visual-hierarchy.md
Contrast ratios, focus states, screen readers, WCAGreferences/accessibility.md
CSS implementation patterns, variables, common stylesreferences/css-patterns.md

Quick Decision: Which Reference?

What's the problem?
├─ Text hard to read, spacing feels off → typography.md
├─ Form not working well, validation issues → forms-and-inputs.md
├─ Users don't know what to click → buttons.md OR visual-hierarchy.md
├─ Colors look wrong, dark mode broken → color-systems.md
├─ Need nav/cards/tabs/modals/tables → ui-components.md
├─ Spacing inconsistent, layout cramped → layout-and-spacing.md
├─ Everything competes for attention → visual-hierarchy.md
├─ Accessibility audit or contrast issues → accessibility.md
└─ Need CSS implementation → css-patterns.md

Universal Quick Reference

Spacing Scale (4px base)

4, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96

Typography Baseline

  • Body: 16px, line-height 1.5
  • Heading:body ratio max 1:3 (48px heading for 16px body)
  • Paragraph spacing: line-height ÷ 1.5

Touch Targets

  • Minimum: 44×44px
  • Recommended: 48×48px

Contrast Minimums (WCAG)

  • Normal text: 4.5:1
  • Large text (18px+ or 14px+ bold): 3:1
  • UI components: 3:1

Button Hierarchy

LevelUse ForTreatment
PrimaryMain action (ONE per view)Solid fill, high contrast
SecondaryAlternative actionsOutlined or subtle fill
TertiaryMinor actionsText-only or ghost

Dark Mode Essentials

  • Background: #121212 (not pure black)
  • Text: #E0E0E0 (not pure white)
  • Reduce color saturation

Common Mistakes Checklist

  • Multiple primary buttons per view
  • Placeholder used as only label
  • Pure white on pure black
  • Thin/light font weights
  • Color-only error indicators
  • Long centered text
  • Inconsistent spacing values

Design Review Protocol

  1. Hierarchy: Is primary action obvious? Can you tell what matters?
  2. Readability: Text contrast OK? Line length reasonable (45-75 chars)?
  3. Forms: Labels above fields? Touch targets 44px+? Helpful errors?
  4. Spacing: Consistent scale? Breathing room around elements?
  5. Accessibility: Color not sole indicator? Focus states visible?

When NOT to Use This Skill

  • Pure visual branding/identity work
  • Marketing copy decisions
  • Backend architecture
  • Mobile native patterns (iOS/Android differ)

Sources

  • Web Interface Handbook by Aleksei Baranov (Imperavi)
  • User Interface Typography by Imperavi
  • Refactoring UI by Wathan & Schoger
  • WCAG 2.1 accessibility guidelines

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

29.15%
按下载量换算180

OpenCode

23.24%
按下载量换算144

Antigravity

17.5%
按下载量换算108

Gemini CLI

11.86%
按下载量换算73

Codex

6.85%
按下载量换算42

Cursor

3.37%
按下载量换算21

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills