本文へ移動
cccskills
無料GitHub で公開

gnome-wizard-assistant

Sequential multi-step setup flow (assistant/wizard) with AdwNavigationView, Back/Forward navigation, progress indication. Use when building onboarding or setup flows with ordered steps.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Skill: Wizard / Setup Assistant

Goal: Build a sequential setup flow with Back/Forward navigation.

Pattern extracted from gnome-initial-setup.

Architecture

GtkBox (vertical)
├── GtkHeaderBar (no title buttons)
│   ├── [start] Cancel, Back buttons
│   ├── [center] GtkLabel (bold title, changes per page)
│   └── [end] Skip, Forward (suggested-action) buttons
└── GtkStack (slide-left-right transition)
    ├── Page 1
    ├── Page 2
    └── ...

Page Header (GisPageHeader pattern)

<object class="GisPageHeader">
  <property name="spacing">18</property>
  <object class="GtkImage" id="icon">
    <property name="pixel_size">96</property>
    <style><class name="dim-label"/></style>
  </object>
  <object class="GtkLabel" id="title">
    <property name="justify">center</property>
    <property name="max_width_chars">65</property>
    <property name="wrap">True</property>
    <style><class name="title-1"/></style>
  </object>
  <object class="GtkLabel" id="subtitle">
    <property name="justify">center</property>
    <property name="max_width_chars">65</property>
    <property name="wrap">True</property>
  </object>
</object>

Key spacing: icon↔title: 18, title↔subtitle: 6, max-width-chars: 65.

Navigation Bar

<object class="GtkHeaderBar" id="titlebar">
  <property name="show-title-buttons">False</property>
  <child type="title">
    <object class="GtkLabel" id="title">
      <attributes><attribute name="weight" value="bold"/></attributes>
    </object>
  </child>
  <!-- Buttons: Cancel, Back, Skip, Forward -->
</object>

Button Size Group (consistent width)

<object class="GtkSizeGroup">
  <property name="mode">horizontal</property>
  <widgets>
    <widget name="back"/>
    <widget name="cancel"/>
    <widget name="forward"/>
    <widget name="skip"/>
  </widgets>
</object>

Page Transitions

<object class="GtkStack" id="stack">
  <property name="transition-type">slide-left-right</property>
</object>

Welcome Page (first page)

<object class="AdwStatusPage" id="status_page">
  <property name="description" translatable="yes">Setup will guide you through making an account.</property>
  <child>
    <object class="GtkButton">
      <property name="label" translatable="yes">_Start Setup</property>
      <property name="use-underline">1</property>
      <style>
        <class name="suggested-action"/>
        <class name="pill"/>
      </style>
    </object>
  </child>
</object>

Rules

  • Forward button always suggested-action
  • Back button disabled on first page
  • Skip button: optional, hidden when not applicable
  • Transitions: slide-left-right (forward=left, back=right, per platform convention)
  • Headings: title-1 (appropriate for wizard — lots of whitespace)
  • All navigation buttons: use-underline: true

Real App Reference

  • gnome-initial-setup/gnome-initial-setup/gis-assistant.ui
  • gnome-initial-setup/gnome-initial-setup/gis-page-header.ui
  • gnome-initial-setup/gnome-initial-setup/pages/privacy/gis-privacy-page.ui
  • gnome-initial-setup/gnome-initial-setup/pages/welcome/gis-welcome-page.ui

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Add a standard AdwAboutDialog wired to app metadata, plus the AppStream metainfo file it should share data with. Use when adding an About entry, release notes, credits, or preparing app metadata.

日本語の概要は準備中です。原文の説明を表示しています。

hanthor/gnome-gui-spec32026年10月11日 更新

Make a GTK4/libadwaita app accessible — accessible labels and roles, tooltips on icon-only buttons, keyboard navigation, contrast, and testing with Orca/Accerciser. Use when fixing a11y issues or running the accessibility category of a HIG audit.

日本語の概要は準備中です。原文の説明を表示しています。

hanthor/gnome-gui-spec32026年10月11日 更新

Responsive GNOME layouts: AdwBreakpoint conditions, BreakpointBin, MultiLayoutView, BottomSheet, narrow/wide layout swaps. Use when making an app work on phones or narrow windows.

日本語の概要は準備中です。原文の説明を表示しています。

hanthor/gnome-gui-spec32026年10月11日 更新

Onboarding tour with AdwCarousel and navigation dots, skippable welcome screens. Use when adding a first-run tour or feature showcase to a GNOME app.

日本語の概要は準備中です。原文の説明を表示しています。

hanthor/gnome-gui-spec32026年10月11日 更新

Implement GNOME's 4-tier destructive-action pattern: undo toasts instead of confirmation dialogs, AdwAlertDialog for irreversible actions. Use when adding delete, remove, clear, or other destructive actions.

日本語の概要は準備中です。原文の説明を表示しています。

hanthor/gnome-gui-spec32026年10月11日 更新

Loading, empty, and error states with AdwStatusPage and AdwSpinner — placeholder icons, titles, action buttons. Use when an app view can be empty, loading, or failed.

日本語の概要は準備中です。原文の説明を表示しています。

hanthor/gnome-gui-spec32026年10月11日 更新

hanthor のスキルをすべて見る

このスキルの問題を報告する