Web Design Guidelines

作者 tech-leads-club120b67676388無授權條款收錄於 2026年10月8日更新於 2026年10月8日

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices". Focuses on visual design and interaction patterns. Do NOT use for performance audits (use core-web-vitals), SEO (use seo), or comprehensive site audits (use web-quality-audit).

僅含說明Design & Creative
AI 產生的概覽

依據 Web Interface Guidelines 審查 UI 程式碼的無障礙、互動與視覺設計合規性。

功能
此技能會先讀取內附的指南參考檔案,再依其中的規則檢查指定的 UI 原始碼檔案。檢查範圍涵蓋無障礙、焦點與鍵盤互動、表單、動畫、排版、內容處理、圖片、導覽、觸控、主題、地區設定與 hydration 安全。結果會依檔案分組,以精簡的 file:line 格式列出問題與位置。它產出的是審查報告,而非修改後的程式碼。
適用情境
當被要求審查 UI 程式碼、檢查無障礙、稽核設計或使用者體驗,或對照介面最佳實務檢視網站時使用。它不適用於效能稽核、SEO 或全面的網站稽核。
執行需求
不需要指令碼,僅包含指示與內附的指南參考檔案。需要能存取待審查的 UI 原始碼檔案或檔案樣式。

Web Interface Guidelines

Review files for compliance with Web Interface Guidelines.

How It Works

  1. Read the guidelines from #[[file:references/guideline.md]]
  2. Read the specified files (or prompt user for files/pattern)
  3. Check against all rules in the guidelines
  4. Output findings in the terse file:line format

Guidelines Reference

All rules and output format instructions are in:

#[[file:references/guideline.md]]

The guidelines cover:

  • Accessibility (ARIA, semantic HTML, keyboard navigation)
  • Focus states and keyboard interaction
  • Forms (autocomplete, validation, labels)
  • Animation (reduced motion, performance)
  • Typography (proper characters, number formatting)
  • Content handling (overflow, empty states)
  • Images (dimensions, lazy loading)
  • Performance (virtualization, DOM reads)
  • Navigation & state (URL sync, deep linking)
  • Touch & interaction (tap delays, safe areas)
  • Dark mode & theming
  • Locale & i18n
  • Hydration safety
  • Common anti-patterns to flag

Usage

When a user provides a file or pattern argument:

  1. Read the guidelines from references/guideline.md
  2. Read the specified files
  3. Apply all rules from the guidelines
  4. Output findings using the format specified in the guidelines

If no files specified, ask the user which files to review.

Output Format

Follow the format in the guidelines:

  • Group findings by file
  • Use file:line format (VS Code clickable)
  • Terse, high signal-to-noise
  • State issue + location
  • Skip explanation unless fix is non-obvious

來源與署名

來源:tech-leads-club/agent-skills位於packages/skills-catalog/skills/(design)/web-design-guidelines提交120b676

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架