Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

Empty State Reviewer

БесплатноБез исполняемых скриптовНе проверен

Audit empty states across web applications ensuring proper messaging, helpful CTAs, illustration rendering, and graceful handling when data is unavailable

PramodDuttaот PramodDutta★ 253 звезды на GitHub

Об этом скилле

Empty State Reviewer Skill

You are an expert QA engineer specializing in empty state testing across web applications. When the user asks you to audit, write, or review empty state tests, follow these detailed instructions to ensure every screen handles the absence of data with proper messaging, helpful calls to action, appropriate illustrations, and graceful degradation.

Core Principles

  1. Every data-dependent view has an empty state -- Any screen that displays dynamic data must have a designed empty state. If data can be absent, the empty experience must be intentional, not accidental.
  2. Empty is not broken -- Users must clearly distinguish between "no data yet" and "something went wrong." Empty states and error states require different messaging, different visuals, and different recovery paths.
  3. CTAs guide the next action -- An empty state without a call to action is a dead end. Every empty screen must offer at least one clear path forward, whether that is creating content, adjusting filters, or navigating elsewhere.
  4. First-time experience sets the tone -- New users encounter empty states on every screen during onboarding. These first impressions shape whether users activate or abandon the product. Treat first-use empty states as a distinct design surface.
  5. Illustrations and icons must render -- Empty state illustrations are often SVGs or images loaded from CDNs. Broken images in empty states compound the feeling of emptiness. Verify that every visual asset loads correctly.
  6. Permission-based emptiness needs explanation -- When content exists but the user lacks permission to see it, the empty state must communicate the restriction without revealing sensitive details. "No items" and "You don't have access" are fundamentally different messages.
  7. Empty states must be responsive -- Empty state layouts should look correct on all viewport sizes. A centered illustration that works on desktop may overflow or become invisible on mobile.

Project Structure

tests/
  empty-states/
    fresh-account/
      dashboard-empty.spec.ts
      profile-empty.spec.ts
      notifications-empty.spec.ts
      settings-defaults.spec.ts
    filtered-empty/
      search-no-results.spec.ts
      filter-no-match.spec.ts
      date-range-empty.spec.ts
    deleted-all/
      last-item-deleted.spec.ts
      bulk-delete-empty.spec.ts
    error-states/
      network-error.spec.ts
      server-error.spec.ts
      timeout-state.spec.ts
    permission-restricted/
      unauthorized-view.spec.ts
      role-limited-empty.spec.ts
    component-types/
      list-empty.spec.ts
      table-empty.spec.ts
      grid-empty.spec.ts
      card-collection-empty.spec.ts
      chart-no-data.spec.ts
    cta-verification/
      cta-functionality.spec.ts
      cta-navigation.spec.ts
    visual/
      illustration-rendering.spec.ts
      responsive-empty-states.spec.ts
    fixtures/
      empty-state-inventory.ts
      test-accounts.ts
    utils/
      empty-state-helpers.ts
      data-cleanup.ts
playwright.config.ts

Configuration

// playwright.config.ts
import { defineConfig, devices } from '@playwright/test';

export default defineConfig({
  testDir: './tests/empty-states',
  fullyParallel: true,
  retries: 1,
  workers: process.env.CI ? 2 : undefined,
  reporter: [
    ['html', { open: 'never' }],
    ['json', { outputFile: 'empty-state-results.json' }],
  ],
  use: {
    baseURL: process.env.BASE_URL || 'http://localhost:3000',
    trace: 'retain-on-failure',
    screenshot: 'only-on-failure',
    video: 'retain-on-failure',
  },
  projects: [
    {
      name: 'desktop',
      use: { ...devices['Desktop Chrome'] },
    },
    {
      name: 'tablet',
      use: { ...devices['iPad Pro 11'] },
    },
    {
      name: 'mobile',
      use: { ...devices['iPhone 14'] },
    },
  ],
});
// tests/empty-states/fixtures/empty-state-inventory.ts

/**
 * A comprehensive inventory of all screens that can display empty states.
 * Maintaining this inventory ensures complete coverage and prevents
 * new screens from shipping without designed empty states.
 */
export interface EmptyStateScenario {
  name: string;
  route: string;
  trigger: 'fresh-account' | 'filtered' | 'deleted-all' | 'error' | 'permission';
  expectedElements: {
    heading: string | RegExp;
    description?: string | RegExp;
    illustration?: boolean;
    ctaText?: string;
    ctaRoute?: string;
  };
}

export const emptyStateInventory: EmptyStateScenario[] = [
  {
    name: 'Dashboard - No projects',
    route: '/dashboard',
    trigger: 'fresh-account',
    expectedElements: {
      heading: /no projects yet/i,
      description: /create your first project/i,
      illustration: true,
      ctaText: 'Create Project',
      ctaRoute: '/projects/new',
    },
  },
  {
    name: 'Notifications - No notifications',
    route: '/notifications',
    trigger: 'fresh-account',
    expectedElements: {
      heading
Полный SKILL.md на GitHub

Установить Empty State Reviewer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл Empty State Reviewer?

Audit empty states across web applications ensuring proper messaging, helpful CTAs, illustration rendering, and graceful handling when data is unavailable

Как установить скилл Empty State Reviewer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Empty State Reviewer запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Empty State Reviewer с