跳到正文
Skillpedia
网站与界面(前端)75k · #2928

loading-indicators

它能做什么

这项技能检查页面在内容或操作加载时是否给出反馈,并在缺少反馈的地方加以补充。适用于希望页面反应灵敏、人人可用的网页制作者。

适用场景

  • ✓当你请智能体检查页面加载数据时的表现的时候。
  • ✓当用户似乎因为没有任何提示表明操作在进行而重复点击按钮的时候。
  • ✓当页面感觉很慢,而你想在改动前确认真正原因的时候。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/loading-indicators/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/loading-indicators/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“用户反映页面加载时看起来像卡住了。请帮我在缺少加载提示的地方添加提示。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会找到没有任何反馈的异步操作,为内容添加骨架占位图,为操作添加转圈动画。它还会添加无障碍属性,让屏幕阅读器知道页面正在忙碌。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Show loading indicators

Loading indicators reassure users that something is happening—without feedback, users may think the page is broken or click repeatedly, degrading experience and causing duplicate actions.

Quick Reference

  • Show immediate feedback for all async operations
  • Use skeletons for content, spinners for actions
  • Include ARIA attributes for screen reader accessibility
  • Avoid content jumps when loading completes

Check

Verify that loading states are displayed during async operations with appropriate ARIA attributes for screen readers.

Fix

Implement loading spinners/progress bars with aria-busy, aria-live, and clear visual feedback for ongoing operations.

Explain

Explain how loading indicators improve perceived performance and accessibility by communicating system status to users.

Code Review

Review the routes, assets, and loading behavior that affect Show loading indicators. Flag exact files, requests, or rendering steps that add unnecessary network, CPU, or layout cost, and describe the measurement method used to confirm the issue.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/performance/loading-indicators

常见问题

骨架图和转圈有什么区别?

这项技能建议对加载中的内容使用骨架图,对用户触发的操作使用转圈。

加载提示能让页面更快吗?

不能加快加载速度,但能让等待更清楚。这项技能还提醒要先找到真正的瓶颈。

它们如何帮助屏幕阅读器用户?

这项技能使用 aria-busy 和 aria-live 等属性,告知屏幕阅读器内容正在加载。

详情

作者的原始描述

Use when auditing slow page loads, heavy assets, or rendering delays related to Show loading indicators. Verify the actual bottleneck in DevTools, Lighthouse, or field data before recommending changes.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2928
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能