Index of every page on this site: llms.txt
All skills
Run it yourself

Web platform design and accessibility guidelines. Use when building web interfaces, auditing accessibility, implementing responsive layouts, or reviewing web UI code. Triggers on tasks involving HTML, CSS, web components, WCAG compliance, responsive design, or web performance.

  • 4 files
  • 55.5 KB
  • MIT
  • Updated 8 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/ehmo/platform-design-skills/web

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

AGENTS.md

≈545 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Web Platform Design Skills

Purpose

Framework-agnostic web design and accessibility guidelines based on WCAG 2.2, MDN Web Docs, and modern web platform standards.

File Structure

web/
  metadata.json        # Version, references, abstract
  SKILL.md             # Full guidelines (load this)
  AGENTS.md            # This file
  rules/
    _sections.md       # Sectioned rules for selective loading

Usage

  • Load SKILL.md for complete guidelines when building or reviewing web UI.
  • Load rules/_sections.md for individual category rules when working on a specific concern (e.g., only accessibility, only forms).

When to Apply

  • Building HTML/CSS/JS interfaces
  • Auditing accessibility or WCAG compliance
  • Implementing responsive layouts
  • Reviewing web UI pull requests
  • Optimizing web performance
  • Adding dark mode or theming
  • Internationalizing web content

Priority Levels

Level Categories
CRITICAL Accessibility/WCAG, Responsive Design
HIGH Forms, Typography, Performance
MEDIUM Animation, Dark Mode, Navigation, Touch, i18n, Progressive Web Apps

Conventions

  • Rules use imperative voice ("Use semantic HTML", not "You should use").
  • Code examples are vanilla HTML/CSS/JS unless noted.
  • WCAG success criteria referenced as (SC x.x.x).
  • Priority in brackets: [CRITICAL], [HIGH], [MEDIUM].

Never Do

  • Never use <div onclick> when <button> exists — use semantic HTML
  • Never set maximum-scale=1 or user-scalable=no in the viewport meta tag
  • Never rely on color alone to convey information — pair with text or icons
  • Never use placeholder text as the only label for a form input
  • Never build interactive elements that are only keyboard-accessible via tabindex > 0
  • Never omit alt attributes on images — use alt="" for decorative images
  • Never animate content that flashes more than 3 times per second (seizure risk)
  • Never trap keyboard focus inside a component without providing a documented escape
  • Never use <table> for layout — tables are for tabular data only
  • Never set font-size in px on body text — use rem so user preferences apply

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at dc2be82. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 8 months ago
metadata
{
  "author": "platform-design-skills",
  "version": "1.0.0"
}

README badge

README badge for ehmo/platform-design-skills/web