web-guidelines
БесплатноБез исполняемых скриптовНе проверен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…
от vercel★ 2 553 звезды на GitHubОб этом скилле
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 |
| Skeletons, loading indicators, list fallbacks, or data that arrives after first render | Loading States |
| Sheets, alert dialogs, or modals, including their dynamic content, scrolling, sizing, or footer actions | Dialogs |
| Text colour, typography, or other Geist tokens | packages/web-shared/AGENTS.md |
| Any change to code in either package, including logic, styles, layout, and loading states | Validation |
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.
Loading States
Every region that waits for data shows a skeleton with the geometry of its settled content. The only acceptable CLS is 0.
Dialogs
Choose between a Sheet and a modal by how stable and how large the content is.
Validation
Check every change before calling it done. Add unit tests for logic, not for constants or types. Render visual changes.
Установить web-guidelines в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл web-guidelines?
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.
Как установить скилл web-guidelines?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл web-guidelines запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic