agentleFS
VectorLabAUVectorLabAU/skills/skills/feedback/empty-states/SKILL.md

empty-states

Skill1 starsChanged 59 days agoMITView on GitHub

Builds actionable empty and filtered-zero states with clear CTAs. Use when building empty views, onboarding zeros, or no-search-results screens.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If .ux-profile.md exists at the project root, read it first — especially banned anti-aesthetics (no cartoon illustration slop) and voice …

    line 11
  2. Distinctive:

    Zero states are never dead ends: Every empty state includes: (1) a header stating what belongs here, (2) one sentence on the value of …

    line 19
  3. Distinctive:

    Keep copy short: headline + one supporting sentence + one primary action.

    line 25

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

If .ux-profile.md exists at the project root, read it first — especially banned anti-aesthetics (no cartoon illustration slop) and voice tone.

Intent

Empty views are onboarding moments, not dead ends. A zero state should explain what belongs in the space, why filling it matters, and offer one obvious action to start. Filtered empties must help users escape the trap they created.

Hard Rules (Non-Negotiable)

  • Zero states are never dead ends. Every empty state includes: (1) a header stating what belongs here, (2) one sentence on the value of populating the view, (3) a primary CTA to create or import immediately.
  • Filtered search empty: include a one-click Clear all filters action (or equivalent reset) in addition to explaining no matches.

Design Heuristics & Taste Principles

  • Primary CTA uses verb-first labels from verbs: Create project, Import contacts — not Get started alone unless paired with a specific verb button.
  • Keep copy short: headline + one supporting sentence + one primary action; secondary link optional (Learn how importing works).
  • First-use empty may add a minimal 2–3 step hint list; filtered empty should not repeat onboarding.
  • Respect .ux-profile.md ban list: no generic cartoon people waving; prefer typography, simple icon, or whitespace.
  • Tables and lists: empty state occupies the content region at the same footprint as populated data to avoid layout jump.

See reference/activation-patterns.md for first-use vs filtered-out templates.

Concrete Scenarios (Before vs. After)

❌ Anti-Pattern

Projects page shows only "No data." with no action. Search with filters applied shows "No results found." and nothing else. A cartoon illustration of people high-fiving fills the screen with no CTA.

✅ Best Practice

Projects page: headline No projects yet, body "Create a project to organize tasks and track progress.", button Create project. Filtered search: No projects match your filters, body "Try broader terms or reset filters.", buttons Clear all filters and Create project.

Framework-Agnostic Implementation Blueprint

<section class="empty-state" aria-labelledby="empty-title">
  <h2 id="empty-title">No projects yet</h2>
  <p>Create a project to organize tasks and track progress.</p>
  <a href="/projects/new" class="button-primary">Create project</a>
</section>

<!-- Filtered zero -->
<section class="empty-state" aria-labelledby="filter-empty-title">
  <h2 id="filter-empty-title">No projects match your filters</h2>
  <p>Try broader terms or reset filters.</p>
  <button type="button" data-action="clear-filters">Clear all filters</button>
</section>

State machine: loading → populated | first-use-empty | filtered-empty. Never render a blank content area without choosing the correct empty variant.

Agent Checklist

  • Read .ux-profile.md if present (voice, banned visuals).
  • Identify empty type: first-use vs filtered vs permission-denied (different copy).
  • Include header, value sentence, and primary create/import CTA.
  • Add Clear all filters for filtered-zero states.
  • Use verb-first primary button labels.
  • Match template structure in reference/activation-patterns.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.