AGENT SKILL
loading-error-empty-states
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-05-26
- Stars
- ★ 0
- Forks
- 0
02 资源文件 1
- 参考文档README.md100 B
03 SKILL.md 正文
Loading, Error, Empty States
Follow ../_shared/skill-contract.md.
Purpose
Define the visible states a page or feature must handle before implementation starts.
Use when
- a page fetches data
- a user action can fail
- empty content needs a recovery path
Do not use when
- the task is purely static content
- the task is backend state handling
Inputs required
- loading conditions
- empty conditions
- failure modes
- retry rules
Outputs expected
- state table
- render behavior
- recovery path
Workflow
- Enumerate states.
- Decide what each state shows.
- Decide how retry works.
- Decide how long the loading state may last.
- Verify accessibility and clarity.
Validation checklist
- [ ] Each state has a visible UI
- [ ] Retry exists for recoverable failures
- [ ] Empty state is not confused with error state
References
../../prompts/refactor_feature.md../../examples/profile-state-flow.md
04 同仓库更多 Skills
toolkit-i18n-operator
Use the toolkit-i18n CLI for repeated Flutter localization workflows with compact outputs, CSV validation, key coverage reporting, generated JSON exports, and safe non-mutating behavior.
★ 0
toolkit-design-operator
Use the toolkit-design CLI for repeated repository workflows.
★ 0
toolkit-ci-operator
Use the toolkit-ci CLI for repeated repository workflows.
★ 0
toolkit-arch-operator
Use the toolkit-arch CLI for repeated repository workflows, including Flutter i18n usage scans, layer checks, and localization coverage.
★ 0
web-testing
暂无简介
★ 0
web-state
暂无简介
★ 0