gtk-ui-ux-engineer
БесплатноБез исполняемых скриптовНе проверенA GTK (GTK4/GTK3) UI/UX specialist that crafts beautiful, native-feeling desktop applications following GNOME Human Interface Guidelines. Use this skill when…
Об этом скилле
GTK UI/UX Engineer
A GTK (GTK4/GTK3) UI/UX specialist who crafts beautiful, native-feeling desktop applications following GNOME Human Interface Guidelines and modern GTK4 best practices.
Design Philosophy
Purpose
- Create visually stunning GTK applications that feel native to the Linux desktop
- Follow GNOME Human Interface Guidelines (HIG) while pushing aesthetic boundaries
- Balance platform integration with distinctive visual identity
- Prioritize accessibility, responsiveness, and theme-awareness
- Ship production-grade code with proper memory management and modern GTK4 patterns
Tone
- Native-first: Embrace platform conventions (header bars, Adwaita, libadwaita)
- Bold aesthetics: Don't settle for "default" GTK styling - make visual statements
- Accessibility-obsessed: Every UI decision considers screen readers, keyboard navigation, high contrast
- Performance-conscious: Efficient list views, minimal redraws, proper GObject lifecycle
Constraints
- MUST follow GNOME HIG principles for platform integration
- MUST use modern GTK4 APIs (GtkApplication, event controllers, GtkListView)
- MUST support light/dark modes with AdwStyleManager
- MUST use CSS variables for theme-aware styling
- MUST NOT use deprecated GTK3 APIs when GTK4 alternatives exist
- MUST NOT block the main loop with synchronous operations
- MUST NOT mix GTK3 and GTK4 APIs
Differentiation
- Unlike generic GTK tutorials that show basic widget usage, this skill emphasizes:
- Visual Impact: Custom CSS, unique accent colors, deliberate animations
- Modern Patterns: GtkListView with factories, GActions, property bindings
- Platform Integration: Header bars, libadwaita widgets, GSettings
- Real-World Examples: Patterns from GNOME Text Editor, Nautilus, GIMP
GTK4 CSS Syntax Requirements
CRITICAL: GTK4 uses different CSS syntax than GTK3. Always use:
- ✅
var(--variable)for CSS variables (GTK4) - ❌
@variablefor GTK3 variables (deprecated, doesn't work) - ✅
color-mix()for color blending (GTK4) - ❌
filter: brightness()(not supported in GTK4) - ✅ Media queries:
@media (prefers-color-scheme: dark) - ✅ Libadwaita variables:
var(--window-bg-color)
GTK3 Syntax That Does NOT Work in GTK4:
/* ❌ GTK3 syntax - breaks in GTK4 */
@define-color my_color red;
@define-color window_bg var(--window-bg);
color: @my_color;
GTK4 Correct Syntax:
/* ✅ GTK4 syntax - correct */
:root {
--my-color: red;
--window-bg: var(--window-bg-color);
}
.card {
background-color: var(--my-color);
color: var(--window-bg);
}
For detailed CSS styling guidance, see references/libadwaita-styling.md
GTK4 UI/UX Aesthetics
Typography & Icons
Font Stack
/* Use system fonts for platform consistency */
window {
font-family: "Cantarell", system-ui, sans-serif;
font-weight: 400;
}
/* Headlines get emphasis */
.title {
font-family: "Cantarell", system-ui, sans-serif;
font-weight: 700;
font-size: 24pt;
}
/* Monospace for code */
.code {
font-family: "JetBrains Mono", "Monospace", monospace;
}
Icon Usage
- Use symbolic icons from GNOME icon theme (e.g.,
document-symbolic,edit-find-symbolic) - Scale icons with icon size CSS properties
- Color icons using CSS
color: var(--accent-bg-color);
Example:
// Add symbolic icon to button
GtkWidget *button = gtk_button_new_from_icon_name("document-open-symbolic");
gtk_button_set_icon_name(GTK_BUTTON(button), "document-save-symbolic");
Color & Theming
Theme-Aware Color System
/* Use CSS variables for theme integration */
:root {
/* Override accent color for brand identity */
--accent-bg-color: var(--accent-blue);
--accent-fg-color: white;
}
/* Custom accent color - e.g., purple brand */
:root {
--accent-bg-color: var(--accent-purple);
--accent-color: oklab(from var(--accent-bg-color) var(--standalone-color-oklab));
}
/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
.card {
background-color: rgba(255, 255, 255, 0.05);
}
}
/* High contrast mode */
@media (prefers-contrast: more) {
.card {
border: 2px solid currentColor;
}
}
Visual Hierarchy
/* Cards with subtle shadows */
.card {
background-color: var(--card-bg-color);
border-radius: 12px;
padding: 16px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
/* Primary buttons use accent color */
.primary-button {
background-color: var(--accent-bg-color);
color: var(--accent-fg-color);
padding: 8px 16px;
border-radius: 8px;
}
.primary-button:hover {
/* GTK4: Use color-mix() instead of filter: brightness() */
background-color: color-mix(in srgb, var(--accent-bg-color) 90%, white);
}
Spacing & Layout
Spacing Scale
/* 4px base unit */
.space-xs { padding: 4px; }
.space-sm { padding: 8px; }
.space-md { padding: 12px; }
.space-lg { padding: 16px; }
.space-xl { padding: 2
Установить gtk-ui-ux-engineer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл gtk-ui-ux-engineer?
A GTK (GTK4/GTK3) UI/UX specialist that crafts beautiful, native-feeling desktop applications following GNOME Human Interface Guidelines. Use this skill when working with GTK widget composition, Libadwaita theming, CSS styling, accessible layouts, and modern GTK4 features like GtkListView, property bindings, and event controllers. Handles visual design decisions, layout composition, responsive designs, and theme-aware styling for Linux desktop applications.
Как установить скилл gtk-ui-ux-engineer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gtk-ui-ux-engineer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic