본문으로 건너뛰기
Skillpedia
인터페이스 (UI/UX)48k · #6087

ux-feedback

하는 일

사용자가 무슨 일이 일어나고 있는지 알 수 있도록 중요한 상태 메시지를 추가하는 도구입니다. 무언가 로딩 중일 때, 오류가 있었을 때, 표시할 내용이 없을 때, 또는 작업이 성공적으로 끝났을 때 이를 보여 줍니다.

사용하는 경우

  • ✓페이지나 섹션을 불러오는 데 시간이 너무 오래 걸릴 때.
  • ✓사용자 작업이 실패해 오류 메시지가 필요할 때.
  • ✓항목 목록이 비어 있어서 사용자에게 다음에 무엇을 할지 알려 줘야 할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ux-feedback/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ux-feedback/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“사용자 프로필 섹션에 사용자 피드백 상태를 추가해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 코드를 분석해 데이터가 표시되는 곳을 찾습니다. 그다음 그 자리에 '로딩', '비어 있음', '오류', '성공' 메시지를 보여 주는 데 필요한 코드를 자동으로 넣습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

UX Feedback States Generator

When to Use

Use this skill when you need add appropriate user feedback states (loading, success, error, empty) to a component or page.

When NOT to use

  • For only the words inside a state → use /ss-copy
  • For accessibility issues in existing states → use /ss-a11y
  • For brand-new component creation → use /ss-component
  • For analytics or error-logging plumbing — UI presentation only

Target: $ARGUMENTS

Instructions

  1. Read the target file and identify all data-dependent areas.

  2. Read the design language reference:

    • DESIGN-LANGUAGE.md sections on Loading States (Skeleton), Empty States, Error States
  3. For each data-dependent area, implement ALL 4 states:

State 1: Loading (Skeleton)

// Skeleton must match the final layout shape
<div className="bg-card rounded-2xl p-6 shadow-[var(--shadow-card)]">
  <div className="flex items-center gap-2 mb-3">
    <div className="size-7 bg-surface-muted rounded-lg animate-pulse" />
    <div className="h-3 w-16 bg-surface-muted rounded animate-pulse" />
  </div>
  <div className="h-9 w-24 bg-surface-muted rounded-lg animate-pulse mb-3" />
  <div className="h-3 w-12 bg-surface-muted rounded animate-pulse" />
</div>

Rules:

  • Show skeleton for 300ms minimum (prevent flash)
  • Delay skeleton display by 300ms (fast loads skip skeleton entirely)
  • Use animate-pulse (1.5s cycle)
  • Match skeleton shapes to real content dimensions
  • Never use spinners inside cards

State 2: Empty (Zero Data)

<EmptyState
  icon={PackageIcon}
  title="No activity yet"
  description="Create your first project to get started."
  action={<Button>Create Project</Button>}
/>

Rules:

  • Center-aligned in the card
  • Icon: 32px, text-text-tertiary
  • Title: 14px, text-text-secondary
  • Always suggest a next action
  • Zero values show as "0" (don't hide or dash)

State 3: Error (Load Failed)

<div className="flex flex-col items-center justify-center py-8 text-center">
  <AlertCircle className="size-8 text-destructive mb-3" />
  <p className="text-[14px] text-text-secondary mb-4">Couldn't load the data</p>
  <Button variant="brandGhost" size="sm" onClick={retry}>Try again</Button>
</div>

Rules:

  • Partial failure: only affected card shows error, rest loads normally
  • Full page failure: full-screen EmptyState with retry
  • Error message: plain language, blame the system
  • Always provide retry button

State 4: Success (Action Feedback)

// Toast notification for action confirmations
toast("Changes saved")

// With undo for destructive actions
toast("Item deleted", { action: { label: "Undo", onClick: handleUndo } })

Rules:

  • Info toast: 3s display
  • Action toast (with undo): 5s display
  • Toast position: above BottomNav
  • One toast at a time (new replaces old)
  1. Implementation pattern:
function DataCard({ data, isLoading, error }) {
  if (isLoading) return <DataCardSkeleton />
  if (error) return <DataCardError onRetry={refetch} />
  if (!data || data.length === 0) return <DataCardEmpty />
  return <DataCardContent data={data} />
}
  1. Check prefers-reduced-motion — disable animate-pulse when reduced motion is preferred.

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
자주 묻는 질문

'피드백 상태'는 무엇인가요?

인터페이스가 사용자에게 무슨 일이 일어나고 있는지 알려 주는 시각적 메시지와 표시입니다. 예를 들어 로딩 중을 나타내는 도는 원이나 '찾은 것이 없습니다' 메시지가 있습니다.

이런 상태가 왜 중요한가요?

인터페이스를 더 명확하고 정보가 풍부하게 만들어 사용자 경험을 개선합니다. 사용자가 무엇을 예상하고 어떻게 행동해야 할지 알아서 혼란을 피할 수 있습니다.

이것이 사이트의 모양을 바꾸나요?

이 도구는 현재 디자인에 맞는 미리 정해진 스타일을 사용하며, 모양을 크게 바꾸지 않고 명확성과 기능에 집중합니다.

상세 정보

작성자의 원본 설명

Add appropriate user feedback states (loading, success, error, empty) to a component or page

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#6087
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬