跳到正文
cccskills
免费在 GitHub 公开

gnome-gui

Authoritative resource for building, auditing, and improving GNOME GTK4/libadwaita apps. Design tokens, 42-widget component library, 21 pattern skills, 47 mirrored HIG pages, 34 real-app audits, and lint scripts. Use when building a GNOME app, adding GNOME GUI features, auditing HIG compliance, packaging for Flatpak/Flathub, or when the user mentions GTK, libadwaita, Adw, Blueprint, or GNOME HIG.

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

查看安装方法

包含的文件(165)

  • SKILL.md3.8 KB
  • .gitignore103 B
  • AGENTS.md537 B
  • audits/audit-framework.md3.6 KB
  • audits/baobab-scan.md17.3 KB
  • audits/boxes-scan.md26.8 KB
  • audits/builder-scan.md30.9 KB
  • audits/characters-scan.md7.4 KB
  • audits/connections-scan.md11.4 KB
  • audits/console-scan.md13.5 KB
  • audits/contacts-scan.md9.7 KB
  • audits/dconf-editor-scan.md18.7 KB
  • audits/decibels-scan.md9.1 KB
  • audits/disk-utility-scan.md20.3 KB
  • audits/dspy-scan.md20.3 KB
  • audits/epiphany-scan.md17.6 KB
  • audits/font-viewer-scan.md6.0 KB
  • audits/gnome-calculator.md2.4 KB
  • audits/gnome-calendar.md1.2 KB
  • audits/gnome-clocks.md2.0 KB
  • audits/gnome-initial-setup.md3.0 KB
  • audits/gnome-settings.md1.9 KB
  • audits/gnome-software.md3.0 KB
  • audits/gnome-text-editor.md2.4 KB
  • audits/gnome-tour.md3.0 KB
  • audits/gnome-weather.md2.2 KB
  • audits/gtk-office-suite-2026-06-25.md3.3 KB
  • audits/logs-scan.md10.0 KB
  • audits/loupe-image-viewer.md2.3 KB
  • audits/manuals-scan.md21.9 KB
  • audits/maps-scan.md13.4 KB
  • audits/music-scan.md15.2 KB
  • audits/nautilus-files.md2.1 KB
  • audits/papers-scan.md16.0 KB
  • audits/showtime-scan.md8.0 KB
  • audits/simple-scan-scan.md9.3 KB
  • audits/sysprof-scan.md28.8 KB
  • audits/system-monitor-scan.md17.2 KB
  • audits/TEMPLATE.md1.6 KB
  • COMPONENT-LIBRARY.md3.7 KB
  • components/action-row.md2.8 KB
  • components/application-window.md1.8 KB
  • components/bottom-sheet.md456 B
  • components/breakpoint.md1.5 KB
  • components/button-row.md1.9 KB
  • components/button.md1.9 KB
  • components/center-box.md518 B
  • components/clamp.md1.9 KB
  • components/combo-row.md1.8 KB
  • components/expander-row.md2.6 KB
  • components/flap.md433 B
  • components/flow-box.md395 B
  • components/header-bar.md2.4 KB
  • components/inscription.md343 B
  • components/list-header.md1023 B
  • components/list-models.md2.8 KB
  • components/menu.md2.6 KB
  • components/multi-layout-view.md1.4 KB
  • components/navigation-view.md894 B
  • components/overlay-split-view.md644 B
  • components/popover.md705 B
  • components/preferences-group.md2.2 KB
  • components/revealer.md290 B
  • components/search-entry.md217 B
  • components/shortcut-controller.md923 B
  • components/spin-row.md2.2 KB
  • components/spinner-paintable.md460 B
  • components/split-button.md461 B
  • components/stack.md602 B
  • components/status-page.md1.8 KB
  • components/switch-row.md1.7 KB
  • components/tab-view.md1.5 KB
  • components/toast.md1.9 KB
  • components/toolbar-view.md1.3 KB
  • components/view-stack.md1.7 KB
  • components/window-handle.md559 B
  • GNOME-AGENT-GUIDE.md3.0 KB
  • INDEX.md4.8 KB
  • INTENT-MAP.md23.4 KB
  • ONBOARD.md2.8 KB
  • package.json508 B
  • QUICKSTART.md5.3 KB
  • README.md4.3 KB
  • reference/anti-patterns.md2.2 KB
  • reference/app-architecture.md2.3 KB
  • reference/app-templates.md6.5 KB
  • reference/hig/accessibility.md2.3 KB
  • reference/hig/adaptive.md3.3 KB
  • reference/hig/app-icons.md4.5 KB
  • reference/hig/app-naming.md2.7 KB
  • reference/hig/backgrounds.md3.6 KB
  • reference/hig/banners.md1.3 KB
  • reference/hig/boxed-lists.md3.6 KB
  • reference/hig/browsing.md1.2 KB
  • reference/hig/buttons.md3.3 KB
  • reference/hig/checkboxes.md1.9 KB
  • reference/hig/dialogs.md4.1 KB
  • reference/hig/drop-downs.md1.5 KB
  • reference/hig/grid-views.md1.5 KB
  • reference/hig/guidelines.md471 B
  • reference/hig/header-bars.md3.1 KB
  • reference/hig/keyboard-shortcuts.md4.5 KB
  • reference/hig/keyboard.md5.5 KB
  • reference/hig/list-column-views.md1.9 KB
  • reference/hig/menus.md4.0 KB
  • reference/hig/navigation.md3.4 KB
  • reference/hig/notifications.md3.1 KB
  • reference/hig/overlaid.md1.3 KB
  • reference/hig/palette.md1.8 KB
  • reference/hig/placeholders.md2.2 KB
  • reference/hig/pointer-touch.md4.1 KB
  • reference/hig/popovers.md1.1 KB
  • reference/hig/principles.md2.7 KB
  • reference/hig/progress-bars.md4.0 KB
  • reference/hig/radio-buttons.md1.1 KB
  • reference/hig/search.md3.1 KB
  • reference/hig/selection-mode.md3.1 KB
  • reference/hig/sidebars.md1.5 KB
  • reference/hig/sliders.md1.7 KB
  • reference/hig/spin-buttons.md1.2 KB
  • reference/hig/spinners.md1.7 KB
  • reference/hig/switches.md1.7 KB
  • reference/hig/tabs.md2.1 KB
  • reference/hig/text-fields.md3.4 KB
  • reference/hig/toasts.md1.4 KB
  • reference/hig/tooltips.md2.1 KB
  • reference/hig/typography.md3.5 KB
  • reference/hig/ui-icons.md4.2 KB
  • reference/hig/ui-styling.md3.8 KB
  • reference/hig/utility-panes.md1.6 KB
  • reference/hig/view-switchers.md1.2 KB
  • reference/hig/windows.md2.6 KB
  • reference/hig/writing-style.md5.2 KB
  • reference/icons.md22.7 KB
  • reference/layout-recipes.md3.4 KB
  • reference/README.md3.4 KB
  • scripts/check-icons.sh2.1 KB
  • scripts/lint-app.sh4.0 KB
  • skills/about-dialog/SKILL.md3.0 KB
  • skills/accessibility/SKILL.md2.9 KB
  • skills/adaptive-layout/SKILL.md3.0 KB
  • skills/carousel-tour/SKILL.md4.9 KB
  • skills/delete-with-undo/SKILL.md3.7 KB
  • skills/empty-state/SKILL.md3.3 KB
  • skills/flatpak-packaging/SKILL.md2.8 KB
  • skills/github-actions-ci/SKILL.md4.9 KB
  • skills/gsettings-backend/SKILL.md3.1 KB
  • skills/header-bar/SKILL.md3.0 KB
  • skills/hig-audit/SKILL.md5.1 KB
  • skills/language-quickstart/SKILL.md13.7 KB
  • skills/preferences-dialog/SKILL.md3.2 KB
  • skills/quick-start/SKILL.md7.4 KB
  • skills/radio-group/SKILL.md3.1 KB
  • skills/search-pattern/SKILL.md2.7 KB
  • skills/shortcuts-window/SKILL.md2.6 KB
  • skills/sidebar-navigation/SKILL.md2.5 KB
  • skills/tabbed-documents/SKILL.md2.6 KB
  • skills/toast-feedback/SKILL.md3.0 KB
  • skills/view-switcher/SKILL.md2.6 KB
  • skills/wizard-assistant/SKILL.md3.4 KB
  • tokens/icons.md2.3 KB
  • tokens/sizing.md1.7 KB
  • tokens/spacing.md1.5 KB
  • tokens/style-classes.md2.3 KB
  • tokens/typography.md2.3 KB

SKILL.md(原文)

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

GNOME GUI — Router

Read ONLY the one or two files your task needs. Do not read INDEX.md or the master guide unless routing below fails.

Route by task

Your taskRead this
New app, end-to-end (scaffold → Flatpak)QUICKSTART.md (lanes for Python, Rust, C, GJS)
New app from scratchskills/quick-start/SKILL.md, then skills/language-quickstart/SKILL.md for your language
CI / GitHub Actions / release automationskills/github-actions-ci/SKILL.md
Audit / review / polish an existing appskills/hig-audit/SKILL.md (quick automated pass: scripts/lint-app.sh <dir>)
Preferences/settings UIskills/preferences-dialog/SKILL.md
Persist settings / window stateskills/gsettings-backend/SKILL.md
Delete/remove/clear actionsskills/delete-with-undo/SKILL.md
Tabs or views in header barskills/view-switcher/SKILL.md
Multi-document tabsskills/tabbed-documents/SKILL.md
Sidebar / master-detailskills/sidebar-navigation/SKILL.md
Phone/narrow-window supportskills/adaptive-layout/SKILL.md
Header bar designskills/header-bar/SKILL.md
Empty/loading/error statesskills/empty-state/SKILL.md
Toasts / user feedbackskills/toast-feedback/SKILL.md
Search or filteringskills/search-pattern/SKILL.md
Exclusive options (radio)skills/radio-group/SKILL.md
Onboarding tour / wizardskills/carousel-tour/SKILL.md or skills/wizard-assistant/SKILL.md
Keyboard shortcuts + help windowskills/shortcuts-window/SKILL.md
About dialog / app metadataskills/about-dialog/SKILL.md
Accessibilityskills/accessibility/SKILL.md
Flatpak / Flathubskills/flatpak-packaging/SKILL.md

Route by lookup

You needRead this
A specific widget's Blueprint/XML APIcomponents/<widget>.md (36 files, kebab-case names; index in COMPONENT-LIBRARY.md)
Spacing/margin valuestokens/spacing.md
Window sizes, sidebar widths, breakpointstokens/sizing.md
Font classes, capitalizationtokens/typography.md
Window structure / which navigation patternreference/app-architecture.md
App skeleton to copyreference/layout-recipes.md or reference/app-templates.md
What NOT to do + release checklistreference/anti-patterns.md
CSS style classestokens/style-classes.md
Valid icon namegrep reference/icons.md (645 icons); validate with scripts/check-icons.sh
"How does app X do Y?"INTENT-MAP.md (intent → app → file:line, 34 apps)
Official HIG wording on a topicreference/hig/<topic>.md (47 pages)
How a real GNOME app is builtaudits/<app>.md (34 pattern audits)

Non-negotiable defaults (memorize, don't re-read)

  • libadwaita widgets over raw GTK: AdwApplicationWindow, AdwHeaderBar, AdwToolbarView, AdwDialog/AdwAlertDialog (never GtkDialog/MessageDialog).
  • Spacing on the 6/12/18/24 scale; window width-request: 360 minimum.
  • All user-visible strings in _(); ellipsis is … not ....
  • Icon-only buttons always get tooltip-text.
  • Undo toasts instead of confirmation dialogs for reversible destructive actions.
  • Buttons/rows/tabs/groups: Header Case. Descriptions/subtitles/menus-that-describe: sentence case.
  • Icons: -symbolic variants, names verified against the catalog.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

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-spec42026年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-spec42026年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-spec42026年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-spec42026年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-spec42026年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-spec42026年10月11日 更新

查看 hanthor 的全部技能

报告此技能的问题