Index of every page on this site: llms.txt
All skills
fubits1 avatar

/web-design-guidelines

@a024d57
by Iljafubits1/svelte-skills11 stars
2
Run it yourself

Routes web UI work to maintained sources: Chrome modern-web-guidance for new HTML/CSS/JS, web-quality-skills for a11y, performance and SEO audits, and installed design skills. Adds UI copy rules and a file:line review format.

Use this Skill: https://skilld.dev/gh/fubits1/svelte-skills/web-design-guidelines

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈62 tokens for metadata: the name and description. ≈959 when used: this file.

Description uses 3.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈249 characters, or 3.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Web design guidelines

Pick the source that matches the task. The sources are maintained upstream: fetch or run them instead of answering from memory. Skip a skill that isn't installed; installing it is the user's call.

Sources

Task Source How
Building a feature with HTML, CSS or client-side JS GoogleChrome modern-web-guidance Run pnpx modern-web-guidance@latest search "<what you build>", then pnpx modern-web-guidance@latest retrieve "<id>". Apply a guide's fallbacks for features that aren't Baseline Widely available, unless the project's CLAUDE.md sets another Baseline target
Accessibility, performance, Core Web Vitals, SEO or best-practice audit addyosmani/web-quality-skills Fetch https://raw.githubusercontent.com/addyosmani/web-quality-skills/main/skills/<name>/SKILL.md, with <name> one of accessibility, performance, core-web-vitals, seo, best-practices, or web-quality-audit for all of them
Visual direction for a new page or component frontend-design:frontend-design Invoke the skill
UX rules, palettes, font pairings, design tokens ui-ux-pro-max:ui-ux-pro-max, ui-ux-pro-max:design-system, ui-ux-pro-max:ui-styling Invoke the skill
Checking a running page chrome-devtools-mcp:a11y-debugging, chrome-devtools-mcp:debug-optimize-lcp Invoke the skill
Markup, CSS and locale rules the sources miss frontend:code-style ("Markup and Locale"), frontend:code-style-css ("Rules for styles you write") Apply them while writing; check them in a review
Svelte components Svelte's a11y_* compiler warnings, svelte-5:code-style-svelte, svelte:svelte-core-bestpractices svelte-check and the Svelte autofixer report the warnings. Treat each as a finding; suppress one only as frontend:editing allows

Precedence

  • WCAG 2.2 AA is the floor: text contrast at least 4.5:1 (3:1 for large text and UI components) and targets at least 24x24 CSS px. Before you flag a smaller target, check the exceptions in WCAG 2.5.8: enough spacing, an equivalent control, a target inline in text, a size the browser sets, or an essential presentation. A stricter value from a design skill, such as 44x44 px touch targets, is a target on top of that floor.
  • The project's own rules (CLAUDE.md, this marketplace's skills) override the generic sources.

Interactive states

Buttons and links show a visible change on hover, active and focus. The cues that mark focus or selection meet 3:1 against adjacent colors (WCAG 1.4.11), and no state lowers the control's own contrast. A hover cue on its own doesn't need 3:1.

Copy and typography

  • Write …, not ..., also in loading states (Loading…, Saving…). Placeholders end with … and show an example.
  • Use curly quotes, not straight quotes.
  • Put a non-breaking space in units, shortcuts and brand names: 10&nbsp;MB, ⌘&nbsp;K.
  • Use Title Case for headings and buttons (Chicago style).
  • Use numerals for counts: "8 deployments", not "eight".
  • Label buttons with the action ("Save API Key", not "Continue"). Error messages say how to fix the problem.
  • Write in active voice and second person. Use & instead of "and" only where space is short.

Review output

To review files ($ARGUMENTS; ask which files if none are given), group findings by file in clickable file:line form, one terse finding per line, and write ✓ pass for a clean file. State the issue and location; explain only when the fix isn't obvious.

This skill, frontend:code-style and frontend:code-style-css adapt several rules from Vercel's web-design-guidelines skill and its Web Interface Guidelines (MIT).

Source: SKILL.md on GitHub

No rule matched.

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.

1 warning4mo3 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    This skill performs UI and accessibility audits on Svelte code by reading and analyzing local files against a set of guidelines. No malicious behavior or data exfiltration was detected. There is a minor risk of indirect prompt injection from the files being analyzed.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: MEDIUM · 1 issue

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

Last checked against GitHub last month.

Activeupdated last month
argument-hint
<file-or-pattern>
user-invocable
true

README badge

README badge for fubits1/svelte-skills/web-design-guidelines