desktop-gnome
Use when the user asks about GNOME apps, libadwaita, GNOME Shell extensions, GLib/GIO, GSettings schemas, GNOME Builder, Flatpak packaging or the GNOME HIG…
от j4flmao★ 47 звёзд на GitHub
Установить desktop-gnome в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GNOME
Purpose
Build applications and extensions for the GNOME desktop environment using GNOME platform libraries — GLib, GIO, GSettings, libadwaita, and GNOME Shell extensions. GNOME emphasizes simplicity, accessibility, and adherence to the GNOME Human Interface Guidelines (HIG).
Agent Protocol
Trigger
Exact user phrases: "GNOME app", "GNOME Shell extension", "libadwaita", "GSettings", "GIO", "GNOME Builder", "GNOME HIG", "GNOME Circle", "GNOME platform", "adwaita", "GNOME design".
Input Context
- App type (application, shell extension, background service)
- Language (C, Vala, Rust via gtk-rs, Python via PyGObject)
- GNOME version target (44+, 46+, 48+)
- Target distribution (Flatpak, distro packages, GNOME Circle)
- libadwaita usage (pure GTK vs libadwaita widgets)
- Design language requirements (Adwaita, custom styling)
Output Artifact
GNOME application architecture with widget hierarchy, data flow, settings storage, and Flatpak distribution.
Response Format
App: {app ID}, language {C|Python|Vala|Rust}, GTK4 + libadwaita
UI: {AdwApplicationWindow/NavigationView/Breakpoints tree}
State: {GObject properties, GSettings schema keys}
Distribution: Flatpak manifest {runtime, finish-args}
Code: {files}
Completion Criteria
- App architecture defined (GApplication, GtkApplication, AdwApplication)
- Widget hierarchy designed (AdwNavigationView, AdwBreakpointBin, AdwToolbarView)
- Data model defined (GObject properties, signals, GIO async operations)
- Settings and state management (GSettings for preferences, state for runtime)
- Localization strategy (gettext .po files, .pot generation)
- Flatpak manifest created (with required permissions, runtime, SDK)
- GNOME HIG compliance reviewed (header bar, sidebar, dialogs, about)
- Accessibility integrated (AT-SPI, keyboard navigation, focus)
- Adaptive design (AdwBreakpoint, responsive layouts)
- Dark mode and style support (Adwaita theme, libadwaita styles)
Max Response Length
250 lines.
Framework/Methodology
GNOME App Decision Tree
What type of GNOME project?
├── Standard GTK application → GtkApplication + libadwaita
│ → AdwApplication, AdwWindow, AdwNavigationView
│ → GSettings for preferences, .gresource for assets
├── GNOME Shell extension → GJS (JavaScript) + GNOME Shell APIs
│ → Extension class, ExtensionState, PanelMenu.Button
│ → GObject-based, prefs.ui for settings
├── Background service → GApplication without GUI
│ → GApplication with flags: IS_SERVICE
│ → D-Bus interface for IPC
└── GNOME Builder plugin → GObject + template
→ IdePlugin, IdeObject, GObject signals + properties
GNOME Platform Stack
Application (libadwaita widgets)
↕
libadwaita (AdwApplication, AdwWindow, AdwNavigationView)
↕
GTK4 (widgets, CSS styling, rendering)
↕
GDK (windowing system, Wayland/X11 abstraction)
↕
GLib (main loop, GObject system, GIO async I/O, GSettings)
↕
Linux Kernel (Wayland, udev, systemd)
Workflow
Step 1: Set Up GApplication + libadwaita
// Rust with gtk4-rs and libadwaita-rs
use adw::prelude::*;
use gtk::prelude::*;
fn main() {
glib::set_application_name("My App");
let app = adw::Application::builder()
.application_id("com.example.MyApp")
.resource_base_path("/com/example/MyApp")
.build();
app.connect_activate(build_ui);
app.run();
}
fn build_ui(app: &adw::Application) {
// Create main window
let window = adw::ApplicationWindow::new(app);
window.set_default_size(800, 600);
window.set_title(Some("My App"));
// Build content with libadwaita widgets
let main_content = create_main_content();
window.set_content(Some(&main_content));
window.present();
}
# Python with PyGObject
import gi
gi.require_version('Gtk', '4.0')
gi.require_version('Adw', '1')
from gi.repository import Gtk, Adw, GLib, Gio
class MyApp(Adw.Application):
def __init__(self):
super().__init__(application_id='com.example.MyApp')
self.connect('activate', self.on_activate)
def on_activate(self, app):
window = Adw.ApplicationWindow(application=app)
window.set_default_size(800, 600)
# ... build UI
window.present()
app = MyApp()
app.run(None)
Step 2: Build UI with libadwaita Widgets
<!-- UI file (myapp.ui) - libadwaita responsive layout -->
<interface>
<template class="MyAppWindow" parent="AdwApplicationWindow">
<property name="content">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="title-widget">
<object class="AdwWindowTitle"/>
</property>
<child type="end">
<object class="GtkMenuButton">
<property name="icon-name">open-menu-symbolic</property>
<property name="menu-model">primary_menu</property>
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/gnome-advanced.md
- references/gnome-architecture.md
- references/gnome-dev-setup.md
- references/gnome-development.md
- references/gnome-fundamentals.md
- references/libadwaita-guide.md
FAQ
Что делает скилл desktop-gnome?
Use when the user asks about GNOME apps, libadwaita, GNOME Shell extensions, GLib/GIO, GSettings schemas, GNOME Builder, Flatpak packaging or the GNOME HIG. Produces GNOME-integrated apps and extensions. Not for general GTK widget programming (use desktop-gtk) or Qt/KDE (use desktop-qt).
Как установить скилл desktop-gnome?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл desktop-gnome запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…