web-design-guidelines

Review UI code against fetched Web Interface Guidelines for accessibility and design compliance.

Updated Oct 21, 2022
One-click install
npx skills add https://github.com/Chengxufeng1994/dotfiles --skill web-design-guidelines-chengxufeng1994
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-design-guidelines
Source: https://github.com/Chengxufeng1994/dotfiles/tree/main/gemini/skills/web-design-guidelines
Command: npx skills add https://github.com/Chengxufeng1994/dotfiles --skill web-design-guidelines-chengxufeng1994

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the review of UI code to ensure it complies with established Web Interface Guidelines, catching potential design and accessibility issues early.

Core Features & Use Cases

  • Automated Compliance Checks: Scans specified files against a comprehensive set of UI best practices.
  • Fetchable Guidelines: Dynamically retrieves the latest guidelines from a remote source before each review.
  • Use Case: A developer can use this Skill to quickly audit a new component's code for adherence to accessibility standards and design system rules before merging it.

Quick Start

Use the web-design-guidelines skill to review the file 'src/components/Button.js' for compliance.

Frequently Asked Questions about web-design-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit front-end code for web interface compliance and accessibility?

To audit front-end code for web interface compliance, provide your component files or patterns to the skill, which fetches the latest design guidelines from a specified URL and scans for accessibility and best practice violations. This catches design issues early before merging.

What is the best way to check if UI components meet design system rules?

The best way to check if UI components meet design system rules is automated compliance scanning. The skill reviews user-provided files against established web interface guidelines, dynamically retrieving the latest remote standards to ensure adherence to current accessibility requirements.

Can I review specific component files for accessibility best practices?

Yes, you can review specific component files for accessibility best practices by specifying the file path. The skill applies fetched web interface guidelines directly to your provided files or patterns, auditing front-end interfaces for compliance with design and accessibility standards.

Does the UI code review process require fetching guidelines from a remote URL?

Yes, the UI code review process requires fetching guidelines from a remote URL. The skill dynamically retrieves the latest web interface guidelines from a specified source before each review, ensuring your front-end components are always audited against current accessibility and design standards.

When do I need automated compliance checks for web interface guidelines?

You need automated compliance checks for web interface guidelines when auditing new components before merging. The skill automates the review of UI code against established web interface guidelines, catching potential design and accessibility issues early in your front-end development workflow.

What are the limitations of using automated design guideline reviews?

A limitation of automated design guideline reviews is reliance on remote URL availability for fetching the latest standards. Additionally, the skill requires user-provided files or patterns to analyze, meaning it cannot autonomously scan entire repositories without explicit file specification.