Skip to content
Back to skills

Web Guidelines

ASecurity

Rules that must be followed when working on the workflow observability UI in packages/web and packages/web-shared. Before opening a PR that modifies files in either package, read this skill and make sure you are not introducing new violations.

  • 2,544 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 29, 2026
business

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add vercel/workflow --skill web-guidelines --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Web Guidelines?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Web Guidelines
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vercel-web-guidelines/badge)](https://www.skillsdirectory.com/skills/vercel-web-guidelines)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: web-guidelines
description: Rules that must be followed when working on the workflow observability UI in packages/web and packages/web-shared. Before opening a PR that modifies files in either package, read this skill and make sure you are not introducing new violations.
---

`packages/web` is the standalone observability app (`workflow web`). `packages/web-shared` holds the trace viewer, event list, stream viewer, and sidebar panels, which also render inside the Vercel dashboard. Follow all of these guidelines when working in either package. This file is an index of more detailed guides. If a section is relevant to your task, read the linked guide.

Before finalizing a review or implementation, inspect the rendering tree of the surface you changed, including shared wrappers, data hooks, and reachable dialogs. Identify the patterns present, then read every applicable guide below. Repeat this selection when newly inspected code reveals another pattern.

| Task or code involves                                                                                 | Required guides                                                                 |
| ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- |
| Existing guideline violations, `BROKEN-WINDOWS.md` records, or UI debt                                | [Broken Windows](./broken-windows/GUIDE.md)                                     |
| Skeletons, loading indicators, list fallbacks, or data that arrives after first render                | [Loading States](./loading-states/GUIDE.md)                                     |
| Sheets, alert dialogs, or modals, including their dynamic content, scrolling, sizing, or footer actions | [Dialogs](./dialogs/GUIDE.md)                                                   |
| Text colour, typography, or other Geist tokens                                                        | [`packages/web-shared/AGENTS.md`](../../../packages/web-shared/AGENTS.md)       |
| Any change to code in either package, including logic, styles, layout, and loading states             | [Validation](./validation/GUIDE.md)                                             |

## Guide Structure

Each topic guide starts with **When to Use** and **Required Patterns**. Supporting material follows where the guide covers it: **Rationale**, **Examples**, and **Related Guidance**.

Only explicitly documented exceptions are permitted. A guide with no listed exceptions allows none.

## Broken Windows

New code must follow all of the guidelines. Existing code that violates them is recorded in a co-located `BROKEN-WINDOWS.md` file.

[Guide](./broken-windows/GUIDE.md)

## Loading States

Every region that waits for data shows a skeleton with the geometry of its settled content. The only acceptable CLS is 0.

[Guide](./loading-states/GUIDE.md)

## Dialogs

Choose between a Sheet and a modal by how stable and how large the content is.

[Guide](./dialogs/GUIDE.md)

## Validation

Check every change before calling it done. Add unit tests for logic, not for constants or types. Render visual changes.

[Guide](./validation/GUIDE.md)

Files in this skill

  • SKILL.md3.2 KB
  • broken-windows/GUIDE.md1.5 KB
  • dialogs/GUIDE.md1.5 KB
  • loading-states/GUIDE.md2.3 KB
  • validation/GUIDE.md2.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.