Token导航 LogoToken导航TokenDH.com
开发规范只读github未标认证来源可访问clear审计通过

web-design-guidelines网页设计指南

Agent Skill

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

总安装

1,139

周安装

47

GitHub Stars

6

下载量

372
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/duc01226/easyplatform --skill web-design-guidelines

简介

用于审查网页代码的可访问性、性能和现代设计规范。

  • 支持 WCAG 2.2 无障碍标准、键盘导航和移动端适配检查。
  • 通过扫描文件识别违规模式,提供具体修复建议和证据引用。
  • 安装前建议确认是否会触发文件读写或浏览器操作权限。
  • web-design-guidelines 属于开发规范类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

[IMPORTANT] Use TaskCreate to break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ATTENTION ask user whether to skip.

Quick Summary

Goal: Review UI code for WCAG 2.2 accessibility, Core Web Vitals performance, and modern web design best practices.

Workflow:

  1. Identify Target — Use provided file/pattern or ask user which components to review
  2. Scan Files — Read and Grep target files for violation patterns
  3. Check Categories — Accessibility, keyboard nav, forms, animation, performance, touch/mobile, content, dark mode/i18n
  4. Report Findings — Group by file, use file:line format, terse findings, prioritized summary

Key Rules:

  • Review-only skill: finds issues, does NOT fix them
  • Check categories in priority order (accessibility first)
  • Also reference docs/project-reference/scss-styling-guide.md if available (content auto-injected by hook — check for [Injected:...] header before reading)

Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).

Web Design Guidelines Review

Review UI code for compliance with WCAG 2.2, Core Web Vitals, and modern web design best practices. This is a review-only skill -- it finds issues, not fixes them.

When to Use

  • Reviewing UI code for accessibility compliance before release
  • Auditing a component or page for WCAG 2.2 violations
  • Checking Core Web Vitals performance patterns in code
  • Validating responsive design and mobile-friendly patterns
  • Pre-PR UI quality gate check

When NOT to Use

  • Building UI -- use frontend-design
  • Creating design specs -- use design-spec
  • Full UX design process -- use ux-designer
  • Project SCSS review -- also check docs/project-reference/scss-styling-guide.md

Prerequisites

  • Full guidelines reference: references/guidelines.md
  • Project SCSS: docs/project-reference/scss-styling-guide.md (if available)

Workflow

  1. Identify target files

- IF file/pattern argument provided → use it - IF not → ask user which files or components to review

  1. Scan files using Read and Grep tools
  2. Check against categories (in priority order):

- Accessibility -- semantic HTML, ARIA, labels, alt text, color contrast, focus indicators - Keyboard navigation -- tab order, focus trap in modals, escape key handling - Forms -- labels, validation, error display, autocomplete, paste not blocked - Animation -- prefers-reduced-motion respected, no transition: all, GPU-safe properties only - Performance -- image dimensions set, lazy loading, no layout thrashing, virtualization for large lists - Touch/Mobile -- touch targets >= 44px, touch-action: manipulation, safe areas - Content -- text overflow handled, empty states, responsive breakpoints - Dark mode / i18n -- color-scheme, logical CSS properties, Intl.* formatters

  1. Report findings in output format below

Output Format

Group by file. Use file:line format. Terse findings. No preamble.

## src/components/Button.tsx

src/components/Button.tsx:42 - icon button missing aria-label
src/components/Button.tsx:55 - animation missing prefers-reduced-motion check
src/components/Button.tsx:67 - transition: all -> list specific properties
src/components/Button.tsx:89 - div with onClick -> use <button>

## src/components/Modal.tsx

src/components/Modal.tsx:12 - missing overscroll-behavior: contain
src/components/Modal.tsx:78 - no focus trap for modal dialog

## src/components/Card.tsx

[check] No issues found

## Summary

- 4 accessibility issues
- 2 performance issues
- 1 UX issue
- Priority: Fix accessibility issues first (WCAG compliance)

Examples

Example 1: Accessibility review

Input: "Review the user profile component for accessibility"

Action: Read component file, check for semantic HTML, ARIA attributes, label associations, color contrast patterns, keyboard navigation, focus indicators. Report each violation with file:line.

Example 2: Visual polish review

Input: "Check the dashboard page for design best practices"

Action: Scan for animation performance (no transition: all), image optimization (dimensions, lazy loading), responsive patterns (breakpoints, safe areas), typography (line height, max-width), empty states handling. Report categorized findings.

Related Skills

SkillWhen to use instead
frontend-designBuilding UI (not reviewing)
design-specCreating design specifications
ux-designerFull UX design process

Closing Reminders

  • IMPORTANT MUST ATTENTION break work into small todo tasks using TaskCreate BEFORE starting
  • IMPORTANT MUST ATTENTION search codebase for 3+ similar patterns before creating new code
  • IMPORTANT MUST ATTENTION cite file:line evidence for every claim (confidence >80% to act)
  • IMPORTANT MUST ATTENTION add a final review todo task to verify work quality

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

29.33%
按下载量换算109

windsurf

20.55%
按下载量换算76

OpenCode

17.08%
按下载量换算64

Codex

12.91%
按下载量换算48

Antigravity

7.07%
按下载量换算26

Gemini CLI

3.02%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills