跳到正文
cccskills
免费在 GitHub 公开

Loading State Transition Review

Detect missing loading/error/empty state handling that could trap users in spinners or disabled states.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(5)

  • SKILL.md2.1 KB
  • fixtures/01-missing-error-state.md1.3 KB
  • fixtures/01-should-detect.md981 B
  • fixtures/02-should-not-detect.md912 B
  • fixtures/02-suspense-boundary-false-positive.md2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Pattern declaration

Primary pattern: Reviewer Secondary patterns: Inversion Why: ローディング状態の管理ミスはUXに直結するが、テストで気づきにくい

Guidance

  • Check if async data fetching (useQuery, useSWR, fetch, axios) handles all three states: loading, success, error.
  • Flag missing error state when loading state is handled.
  • Flag missing loading guard when mutation is triggered (e.g., submit button not disabled during pending).
  • Check for missing early returns that could render UI before data is available (if (!data) return null).
  • Flag isLoading && <Spinner /> without a corresponding isError && <ErrorMessage />.

Non-goals

  • グローバルなローディングインジケーターの存在は前提として受け入れる(実装詳細は不問)。
  • テストファイル内のモックデータや固定値は対象外。

Pre-execution Gate / 実行前ゲート

このスキルは以下の条件がすべて満たされない限りNO_REVIEWを返す。

  • 差分にasync data fetchingまたはUIコンポーネントのレンダリングロジックが含まれている
  • loading/error/data stateを扱うコードパターンが存在する(useQuery, useSWR, useState + fetch等)

ゲート不成立時の出力: NO_REVIEW: loading-state — loading state関連のUI変更が検出されない

False-positive guards

  • ライブラリがSuspenseやError Boundaryで上位でハンドリングしている場合は黙る。
  • テスト専用のコンポーネントは対象外。
  • 意図的に簡略化されたadmin-onlyビューは緩く扱う。

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What this skill does>

中文简介正在准备中。当前显示原文说明。

s977043/river-review72026年10月24日 更新

画像・ボタン・フォーム要素に適切なアクセシブルネームがあるか確認する。

中文简介正在准备中。当前显示原文说明。

s977043/river-review72026年10月24日 更新

Ensure ADRs capture context, decision, alternatives, tradeoffs, and follow-ups in a way that prevents future drift.

中文简介正在准备中。当前显示原文说明。

s977043/river-review72026年10月24日 更新

敵対的分析手法を統合したレビューの entry skill。認知バイアス対策の3手法 (Pre-mortem / War Game / Logic Torturing)と、宣言・主張と実態の乖離を突く claim-vs-actual 検出3パターン(Self-Contradiction / Refactor-Claim Audit / Cross-File Leakage)へルーティングし、通常のレビューでは見えない設計の盲点・ 防御の穴・論理の弱点・宣言と実装のズレを可視化する。

中文简介正在准备中。当前显示原文说明。

s977043/river-review72026年10月24日 更新

Review changes to the Agent Skills import/export bridge for path safety, round-trip fidelity, and validation correctness.

中文简介正在准备中。当前显示原文说明。

s977043/river-review72026年10月24日 更新

Checks whether AI-assisted work defines review criteria, accessible context, explicit review loop, human judgment boundary, and feedback capture before delegating to an agent.

中文简介正在准备中。当前显示原文说明。

s977043/river-review72026年10月24日 更新

查看 s977043 的全部技能

报告此技能的问题