Communitygithub.com

coastdigitalgroup/coastai-skills

構造化された進捗表示とマルチステップシーケンスを設計・実装し、複雑なタスクをユーザーにガイドしながら、現在位置と残りの作業を明確にフィードバックします。

coastai-skills とは?

このスキルは、ECチェックアウトやユーザーオンボーディングなどの複雑なワークフローを、管理しやすいステップに分割し、ユーザーに現在の位置、完了済み、残りのタスクを明確に伝えるための方法論を提供します。水平ステッパー、垂直ステッパー、連続プログレスバー、プログレスサークルといったパターンを用途に応じて選択し、Pending(保留)、Active(実行中)、Completed(完了)、Error(エラー)の各状態を視覚的に定義します。また、モバイル対応のラベル省略や縦方向への切り替え、ARIAロールやキーボード操作などのアクセシビリティ仕様も含み、開発者が多段階プロセスを直感的でアクセシブルに設計できるよう支援します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/coastdigitalgroup/coastai-skills/tree/HEAD/website-design/step-progress-system

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

ステップ&プログレスシステム

目的

ステップ&プログレスシステムスキルは、ユーザーが多段階プロセスを移動したり、バックグラウンドタスクの完了を待つ際の設計と文書化の方法論を提供します。これにより、チェックアウトやオンボーディングなどの複雑なワークフローを管理しやすい塊に分割し、ユーザーが今どこにいて、何を完了し、何が残っているかを伝えることで認知負荷を軽減します。

ユースケース

  • ECチェックアウト: 配送、支払い、確認のステップをユーザーにガイド。
  • 多段階フォーム: 長いデータ入力タスクを論理的なセクションに分割。
  • ユーザーオンボーディング: 新しいアカウントのセットアッププロセスを可視化。
  • ローディング/アップロード状態: 長時間実行される処理のステータスを伝達。
  • 学習パス: コースやカリキュラムの進捗を表示。

使用すべきでない場合

  • 単一ビュータスク: タスクがコンテキストを切り替えずに1つのビューで完了できる場合、進捗システムは不要なノイズを追加します。
  • 無限フィード: コンテンツをスクロールするだけで進捗に「終了」が定義されていない場合。
  • 重要な高速操作: 進捗インジケーターの表示が時間に敏感なタスク(例:リアルタイムゲームUI)の妨げになる場合。

入力

  1. ステップ一覧: タスク完了に必要な個別のステージのリスト。
  2. タスクタイプ: ユーザー駆動のシーケンス(ステッパー)か、システム駆動のプロセス(プログレスバー)か。
  3. 線形性: ステップを順序通りに完了する必要があるか、ユーザーが間を飛び越えられるか。
  4. コンテンツ制約: 各ステップのラベル、説明、アイコン。

出力

  1. 進捗フレームワーク: コンポーネントタイプ(水平、垂直、円形)の定義。
  2. 状態マトリックス: Pending、Active、Completed、Error各状態の視覚的な仕様。
  3. レスポンシブ戦略: インジケーターがモバイルビューポートに適応する方法(ラベル非表示、数字への切り替えなど)。
  4. アクセシビリティ仕様: ARIAロール、ライブリージョン、キーボード操作ルール。

ワークフロー

1. 進捗タイプの分類

最適な視覚パターンを決定する:

  • 水平ステッパー: デスクトップで3〜5ステップの線形プロセスに最適。
  • 垂直ステッパー: 非線形プロセス、コンテンツ長が異なるステップ、またはモバイルファーストのフローに最適。
  • 連続プログレスバー: システム駆動のタスク(アップロード、ローディング)やマイクロステップが多いプロセスに最適。
  • プログレスサークル: ダッシュボードウィジェットやスペースが非常に限られている場合に最適。

2. ステップ階層とラベルの定義

  • プライマリラベル: ステップの簡潔な名前(例:「配送」)。
  • セカンダリラベル(オプション): 短い説明またはステータス(例:「処理中」)。
  • 視覚的インジケーター: 数字(順序用)、アイコン(コンテキスト用)、またはドット(ミニマルデザイン用)。

3. 状態の視覚化を確立

各状態に対して明確な視覚的な区別を定義する:

  • Pending: 低コントラスト、通常はグレーアウト。
  • Active: 高コントラスト、多くの場合プライマリブランドカラーまたは「グロー」効果を使用。
  • Completed: 「チェック」アイコンと異なる色(多くの場合緑色またはアクティブ色のミュートバージョン)を使用。
  • Error: 「警告」アイコンと意味的なエラー色(赤)を使用。

4. 移動とフィードバックの設計

  • トランジション: ステップ間の移動時に微妙なアニメーションを使用して進行を強調。
  • クリック可能性: ユーザーが前のステップをクリックして戻れるかどうかを決定。
  • バリデーション: 進行を許可する前にステップが有効/完了であることを視覚化。

5. レスポンシブ適応の計画

多段階インジケーターはモバイルで壊れやすいため、注意が必要:

  • ラベル省略: モバイルではテキストラベルを非表示にし、数字またはアイコンのみを表示。
  • 「Step X of Y」への移行: 完全な視覚バーを単純なテキストまたは数字のサマリーに置き換える。
  • 垂直シフト: 小さな画面では水平バーを垂直リストに変換。

決定ルール

  • 5ステップルール: 水平ステッパーが5ステップを超える場合は、乱雑さを避けるために垂直ステッパーまたは単純な「Step X of Y」テキストインジケーターに切り替える。
  • アイコン vs 数字: シーケンスの順序が重要な場合は数字を使用し、即座に意味的な価値を提供する場合のみアイコンを使用(例:支払いの「クレジットカード」アイコン)。
  • 線形性: ユーザーがステップを順序通りに完了する必要がある場合は、「将来の」ステップへのクリックを無効にする。柔軟な設定の場合はジャンプを許可する。
  • コンテキストの保持: 常に現在、前、次のステップのラベルを表示する。その他は必要に応じて切り詰めることができる。

制約

  • アクセシビリティ:
    • 連続バーには role="progressbar" と aria-valuenow、aria-valuemin、aria-valuemax、および人間が読める aria-valuetext(例:「ステップ2/4:支払い」)を使用する。
    • シーケンス内のアクティブなステップを識別するために aria-current="step" を使用する。
    • アクティブと非アクティブのステップのコントラスト比がWCAG AA(4.5:1)を満たすことを確認する。
    • ステップがクリック可能な場合、そのターゲットはWCAG 2.2 SC 2.5.8(最小24x24px、推奨44px)を満たし、可視の :focus-visible 状態を公開する必要がある。
  • 階層: 進捗インジケーターはガイドであり、主な焦点ではない。通常はコンテンツの上部(水平)または左側(垂直)に配置される。
  • レスポンシブ: 水平方向のオーバーフローを引き起こしてはならない。

一般的な失敗パターン

  • 「ミステリープログレス」: ラベルやパーセンテージなしでバーを表示し、ユーザーに「あとどれくらい?」と疑問を残す。
  • アクセス不能な状態: 完了を示すためにアイコンやテキストを使わず、色(例:緑 vs 灰色)のみに依存する。
  • 過密な水平レイアウト: 水平レイアウトにあまりにも多くのステップを強制し、モバイルでテキストが重なったりタップターゲットが小さくなる。
  • 永続性の欠如: 多段階フローの一部のページで進捗インジケーターを非表示にし、ユーザーが自分の位置を失う原因となる。

検証基準

  • 現在のステップが完了済みおよび今後のステップから明確に区別されている。
  • 完了したステップにはチェックマークなど色以外のインジケーターが使用されている。
  • モバイルビューが機能し、オーバーフローや乱雑さがない。
  • ARIAロールと aria-current が正しく適用されている。
  • 個々のステップの「Error」状態が処理されている。
  • インジケーターがフローのすべてのステップで一貫して配置されている。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for progressive disclosure using accordions, ensuring structural integrity, visual affordances, and accessibility across different content densities and devices.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for long-form content, managing readability, vertical rhythm, and information density to ensure a superior reading experience.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for informational elements that communicate state (Badges) and categorization (Tags) with clarity and accessibility.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for non-overlay notifications, managing global announcements and contextual inline alerts to communicate system states without interrupting the user's flow.

coastdigitalgroup/coastai-skills

Design and implement a systematic, asymmetrical bento-grid layout framework to organize diverse content types cohesively while maintaining strict visual hierarchy, logical focus order, and responsive flexibility.

coastdigitalgroup/coastai-skills

Design a responsive, mobile-first bottom navigation bar and persistent action dock system for mobile websites and web applications, establishing spatial anchors, tab bar anatomy, badge indicators, thumb-zone ergonomics, safe area inset handling, active/inactive state contrast, and desktop responsive adaptation rules.

coastdigitalgroup/coastai-skills

Design a mobile-first bottom sheet overlay system with configurable detents, drag affordances, safe area padding, responsive desktop modal/popover adaptation, and WCAG AA accessibility compliance.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for secondary navigation trails that provide orientation, context, and one-click access to parent levels in deep information architectures.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for buttons and interactive triggers, managing visual hierarchy, variant logic, and action grouping to ensure clear intent and accessible interaction.

coastdigitalgroup/coastai-skills

Design a systematic framework for date and time selection, managing calendar grids, range pickers, and scheduling interfaces to ensure precision and accessibility.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for modular content containers that maintain hierarchy, structural integrity, and action alignment across variable content and responsive viewports.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for horizontal discovery components, managing navigation affordances, scroll behavior, and accessibility to ensure effective content density without compromising usability.

coastdigitalgroup/coastai-skills

Design a systematic, highly accessible, and developer-friendly UI layout framework for code blocks, snippet showcases, multi-file code tabs, line-highlighting, diff views, and syntax token contrast in technical documentation and developer platforms.

coastdigitalgroup/coastai-skills

Design a systematic framework for global command menus (Cmd+K panels) that combines keyboard-driven navigation, command execution, and shortcut discovery into an accessible, responsive overlay.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for threaded conversations, managing nesting depths, action hierarchies, and community signaling to foster engagement and readability.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for side-by-side comparison interfaces, managing high attribute density and responsive complexity to support informed decision-making.

coastdigitalgroup/coastai-skills

Design and implement a systematic framework for user privacy, managing consent banners, preference centers, and persistent privacy controls to balance legal compliance with user trust.

coastdigitalgroup/coastai-skills

Design and implement a systematic, highly accessible, and responsive visual layout framework for conversational chat widgets, live chat boxes, and chatbot panels that ensures clear message scannability, native focus flow, and seamless mobile keyboard adaptation.

coastdigitalgroup/coastai-skills

Design a systematic, accessible, and high-conversion framework for custom select dropdowns and comboboxes, defining anatomy, states, search-filtering, and responsive mobile-adaptive patterns.

coastdigitalgroup/coastai-skills

Design and implement a systematic color palette that ensures WCAG 2.2 accessibility compliance. Trigger this skill when asked to define brand colors, create UI themes, or establish a visual system for a website.

関連スキル