ui-states
하는 일
모든 상황에서 잘 작동하는 앱 화면을 만들도록 돕습니다. 모든 것이 완벽할 때만이 아니라, 데이터가 없거나, 인터넷이 느리거나, 문제가 생겼을 때도 유용한 정보를 보여 줍니다.
사용하는 경우
- ✓정보를 보여 주는 새 화면을 만들 때.
- ✓모든 상황에서 제대로 작동하는지 화면을 검토할 때.
- ✓화면이 '정상 경로'(모든 것이 완벽하게 작동하는 경우)만 보여 줄 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-states/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제품 목록의 화면 상태를 만들어 주세요. 비어 있을 때, 로딩 중일 때, 오류가 있을 때, 오프라인일 때를 포함해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
사용자가 겪을 수 있는 모든 문제(볼 것이 없거나 인터넷이 끊기는 경우 등)를 고려합니다. 그런 각 경우에 화면이 어떻게 보이고 어떻게 작동해야 하는지 정의합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
UI states · by UXKIN
Real UI, not AI slop.
Most generated screens only show the happy path: perfect data, a fast connection, nothing failing. Real people meet everything else first: an empty list on day one, a spinner that never ends, an error with no way out, a name too long for its box. This skill finds those states for each screen and builds them properly.
It works on its own, with no account, token or server.
When to Use
- Use when building or reviewing a screen that loads, lists, searches, submits or saves data.
- Use when asked to make UI production-ready, handle edge cases or "finish" a screen.
- Use when a screen only shows the happy path.
Connect UXKIN (optional)
UXKIN (https://uxkin.com) is a library of 500,000+ real app screens, user journeys and 15k+ website design systems, each with a DESIGN.md. Connected, it lets you look at how real products solve what you are building. To connect it, the person:
- adds the MCP server
https://uxkin.com/mcp(name:uxkin) in this app's MCP settings, - signs in with their UXKIN account when the app asks (searches need a UXKIN plan),
- or follows the guide for their app: https://uxkin.com/ui-design-mcp
Only set this up when the person asks for it; never add servers or accounts on your own.
1. List the states for each screen
For every screen or component that shows, loads or changes data, go through this list and keep the ones that can happen:
| State | Ask |
|---|---|
| First use | What does someone see before they've added anything? |
| Empty | What if a list, search or filter has nothing to show? |
| Loading | What shows while data loads, and for how long? |
| Partial | What if some data loads and some doesn't? |
| Error | What if the request fails or times out? |
| Offline | What if there's no connection? |
| Validation | What if the input is wrong, missing or too long? |
| Permission | What if access, a permission or a plan is missing? |
| Success | How does someone know their action worked? |
| Edge content | Very long names, missing images, zero, huge numbers, many items |
| Busy action | What happens while a button's action is running? |
Write the list down before building, and confirm the important ones with the person if the right behavior isn't obvious.
2. Build each state properly
- First use and empty: say what this place is for and give the next step as a button ("Add your first invoice"), not just "No data". Empty because of a filter or search is different: say so and offer to clear it.
- Loading: keep the layout steady. Use placeholders shaped like the content for lists and cards, an inline spinner for small areas, and progress for long tasks. Don't block the whole screen for a part of it. If it takes more than a few seconds, say what's happening.
- Error: say what went wrong in plain words, what the person can do, and offer the action (Try again, Edit, Contact support). Keep what they typed. Never show raw error codes or stack traces.
- Offline: show that the connection is missing, keep what's already loaded visible, and retry automatically when it's back if that's safe.
- Validation: check at the right moment (on leaving a field or on submit, not on every keystroke), put the message next to the field, and say how to fix it.
- Permission or plan missing: explain what's missing and how to get it, and keep the rest of the screen usable.
- Success: confirm briefly and in place (a short message, the item appearing in the list); offer Undo for actions that remove things.
- Edge content: truncate long text with the full value available, give images a fallback, format big numbers, and paginate or virtualise long lists.
- Busy actions: disable the button and show progress while it runs so it can't be sent twice.
Use the project's existing components and copy style for every state; don't invent a new look for them.
3. Check each state
Make each state appear for real: empty data, a slow or failed request (through the browser's network tools, a mock or a test flag), offline mode, very long text. Look at each at a phone and a desktop width. Fix what's broken and check again.
Report which states you built, which you checked and how, and any that need a decision from the person (for example, what the error should say for their backend).
Optional: real examples
If the UXKIN MCP tools are connected, find_ui_references finds how
…
자주 묻는 질문
'UI 상태'는 무엇인가요?
데이터를 불러오는 중, 결과가 없음, 오류 발생처럼 상황에 따라 앱 화면이 보이는 모양과 작동 방식의 차이입니다.
이런 상태를 고려하는 것이 왜 중요한가요?
사용자는 이런 상황을 자주 겪기 때문입니다. 모든 상태에 맞게 잘 설계된 화면은 사용자 경험을 개선하고 불편을 줄입니다.
이것을 사용하려면 계정을 연결해야 하나요?
아니요, 이 도구는 혼자서 작동합니다. 다른 앱의 예시를 보려면 계정 연결이 선택 사항입니다.
상세 정보
작성자의 원본 설명
Design and build the UI states agents forget: first use, empty, loading, error, offline, no results, long content, permission denied and success.
인기도
- GitHub 스타
- 48k
- 순위
- #6047
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.