Empty State Reviewer
БесплатноБез исполняемых скриптовНе проверенAudit empty states across web applications ensuring proper messaging, helpful CTAs, illustration rendering, and graceful handling when data is unavailable
от 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
Установить 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic