本文へ移動
cccskills
無料GitHub で公開

empty-state

Design focused empty states for zero-data, no-results, permission, and error situations with clear value framing, strong CTAs, and less dead chrome. Use when the user mentions blank pages, zero-data screens, no results, permission states, or dead controls—not broader onboarding strategy.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Design or improve empty states so blank areas become useful product moments that teach, orient, and move users toward the next step.

This skill is specifically for zero-data and no-content surfaces. Use onboard for broader activation strategy, aha moments, first-run education, tours, and adoption planning.

MANDATORY PREPARATION

Users start this workflow with /empty-state. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first. Additionally gather: the value users should reach from this surface.


Assess the Empty State

Understand what kind of absence you are dealing with:

  1. State type:

    • First use / never created content
    • No results from search or filters
    • Previously cleared content
    • Permission/access restriction
    • Error while loading content inside an existing surface
    • Route-level or full-page failure such as 401, 403, 404, 429, 500, or 503
  2. User question:

    • What is this area for?
    • Why should I care?
    • What should I do next?
  3. Dead chrome audit:

    • Are tabs, filters, sidebars, sort controls, or empty toolbars visible even though they do nothing yet?

If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.

CRITICAL: An empty state is often the user's first impression of a feature. Treat it like a real screen, not a fallback.

Plan the Empty State

Consult the empty-state patterns for the main empty-state types, full-page error variants, CTA rules, and chrome-reduction guidance.

Design the state around this structure:

  • What this area is for
  • Why it’s useful
  • Primary CTA
  • Optional template/example
  • What inactive chrome should disappear for now

Build Better Empty States

First-Use States

  • Explain what will appear here
  • Frame the value clearly
  • Offer the clearest starting action
  • Consider a starter template or sample data shortcut

No-Results States

  • Explain that the current query/filter produced nothing
  • Offer a recovery action like clearing filters or broadening search
  • Preserve enough context so users understand what happened

Cleared-Content States

  • Use a lighter tone than first use
  • Offer a simple path back to creation
  • Add undo or recovery when appropriate

Permission States

  • Explain the access limitation plainly
  • Say who can grant access or what role is needed
  • Offer a request-access path when possible

Error States

  • State what failed in simple language
  • Match the recovery path to the failure type: retry for transient failures, sign-in for expired sessions, request access for 403, home/search for 404, and status/support for broader service failures
  • Add support/help path when needed

Reduce Dead Chrome

  • Hide tabs, filters, sidebars, or sort controls that provide no value before content exists
  • Keep the screen focused on the message and the next step

Use Visual Interest Carefully

  • Illustration or icon is optional, but helpful when it supports comprehension or attention
  • The CTA should still be stronger than the decoration

NEVER:

  • Leave users staring at “No items” with no next step
  • Keep inactive controls visible just because the full UI normally has them
  • Let the illustration overpower the message and CTA
  • Use the same empty-state tone for first use, permissions, and errors
  • Use a generic catch-all error page when a more specific recovery path is available

Verify Empty-State Quality

  • Clarity: Does the state explain what belongs here?
  • Value framing: Does it explain why the user should care?
  • Next step: Is the CTA obvious?
  • Chrome cleanup: Is inactive UI removed?
  • Appropriate tone: Does the state match first use / no results / permission / error?

Remember: The best empty states feel like helpful product design, not like the app ran out of things to say.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

a11y

無料

Systematically audit and remediate accessibility issues in UI, focusing on keyboard navigation, screen reader support, color contrast, semantic HTML, ARIA usage, and motion sensitivity. Use when the user wants to improve accessibility, make a component accessible, fix WCAG violations, add keyboard support, or ensure screen reader compatibility.

日本語の概要は準備中です。原文の説明を表示しています。

aladicf/better-web-ui402026年5月22日 更新

adapt

無料

Adapt designs for narrow, medium, wide, embedded, or print web contexts without losing usability, hierarchy, or target sizing. Use when the user mentions responsive design, breakpoints, narrow layouts, viewport changes, touch-capable browsers, or cross-context adaptation.

日本語の概要は準備中です。原文の説明を表示しています。

aladicf/better-web-ui402026年5月22日 更新

add-ui

無料

Generate 5 distinct, production-grade UI variations for a requested new or existing section, component, page, flow, or shell, then help the user preview and apply one. Use when the user asks to add or redesign UI like a hero, pricing, navbar, auth flow, dashboard shell, ecommerce surface, or data component.

日本語の概要は準備中です。原文の説明を表示しています。

aladicf/better-web-ui402026年5月22日 更新

animate

無料

Improve or implement purposeful motion systems, micro-interactions, gestures, and transition behavior for production-grade UI. Use when the user mentions animation, motion, transitions, micro-interactions, hover states, drawers, toasts, gestures, or making the UI feel more alive.

日本語の概要は準備中です。原文の説明を表示しています。

aladicf/better-web-ui402026年5月22日 更新

arrange

無料

Improve layout composition, spacing systems, grouping, and visual rhythm. Use when the user mentions weak layout structure, arbitrary spacing, weak grouping, crowded composition, or layout monotony rather than priority/emphasis problems.

日本語の概要は準備中です。原文の説明を表示しています。

aladicf/better-web-ui402026年5月22日 更新

audit

無料

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants measurable accessibility, performance, responsive, theming, or anti-pattern findings—not when they mainly want an overall UX critique or final visual/detail polish.

日本語の概要は準備中です。原文の説明を表示しています。

aladicf/better-web-ui402026年5月22日 更新

aladicf のスキルをすべて見る

このスキルの問題を報告する