Установка
SKILL.md
Platform: Desktop
Settings flexibility, window management, and kb/mouse precision define desktop gaming.
NEVER Do (Expert Desktop Rules)
Window & Display
- NEVER hardcode resolution or fullscreen modes — Always provide a settings menu with resolution + mode toggle.
- NEVER ignore DPI scale factors — Use
DisplayServer.screen_get_scale()/ usable rects. - NEVER skip a borderless window option — Offer
WINDOW_MODE_FULLSCREEN(borderless) for multi-monitor focus.
Input & Persistence
- NEVER use
keycodefor movement rebinds — Usephysical_keycodefor AZERTY/Dvorak. - NEVER save settings or user data to
res://— Alwaysuser://. - NEVER skip
NOTIFICATION_WM_CLOSE_REQUEST— Flush ConfigFile beforeget_tree().quit().
Performance & Integration
- NEVER run utility tools at max framerate — Enable
OS.low_processor_usage_modefor static tools. - NEVER call proprietary SDKs (Steam/Epic) directly — Wrap with
Engine.has_singleton()guards. - NEVER block the main thread with massive I/O — Offload to
WorkerThreadPool.
Godot 4.7: Desktop
- HDR output on Windows, macOS, and Linux (Wayland) — enable in Rendering → Viewport settings.
Available Scripts
MANDATORY: Read the appropriate script before implementing the corresponding pattern. Do not paste inline settings/rebind/Steam tutorials — the scripts are the golden path.
desktop_window_manager.gd
Expert DPI-aware multi-monitor window positioning using DisplayServer.
desktop_settings_persistent.gd
Production settings persistence using ConfigFile for persistent INI data.
physical_input_rebinder.gd
Expert positional rebind system using physical_keycode for AZERTY/Dvorak.
platform_sdk_wrapper.gd
Safe PC SDK singleton wrapper (Steamworks/Epic) with crash guards.
native_dialog_helper.gd
Expert native OS file dialogs and system alerts logic.
secondary_window_spawner.gd
True multi-window management for secondary Viewports/Windows.
graceful_shutdown_handler.gd
Safe close-request interceptor for data flushing and exit guards.
low_processor_eco_mode.gd
Eco mode optimization for desktop tools and launchers.
desktop_performance_monitor.gd
OS-level hardware detection for dynamic graphics presets.
native_shell_executor.gd
Expert native shell command execution and output capture.
Desktop Golden Path (MANDATORY scripts)
- Resolution / stretch — use the mini-tree below, then MANDATORY desktop_window_manager.gd.
- Window / DPI — MANDATORY desktop_window_manager.gd: multi-monitor position, scale, mode restore.
- ConfigFile settings — MANDATORY desktop_settings_persistent.gd: graphics/audio/window under
user://. - Physical rebinds — MANDATORY physical_input_rebinder.gd:
physical_keycodeonly. - Close flush — MANDATORY graceful_shutdown_handler.gd:
NOTIFICATION_WM_CLOSE_REQUEST→ save → quit. - Store SDK — MANDATORY platform_sdk_wrapper.gd before any store call:
if Engine.has_singleton("Steam")→ Steam API;elif Engine.has_singleton("EOS")→ Epic; else no-op stub. Gate features with export feature tags (steam/epic).
Resolution / stretch mini-tree
| Player need | Window mode | Script hook |
|---|---|---|
| Fullscreen game, alt-tab friendly | WINDOW_MODE_FULLSCREEN (borderless) | desktop_window_manager.gd |
| Exclusive fullscreen (lowest latency) | WINDOW_MODE_EXCLUSIVE_FULLSCREEN | Same — persist choice in ConfigFile |
| Windowed / multi-monitor drag | WINDOW_MODE_WINDOWED + usable rect / DPI scale | Same + desktop_settings_persistent.gd |
CI smoke: headless --path . --quit-after 1 with settings round-trip write/read under user:// before merge (pairs with godot-export-builds).
Expert Callouts (keep short — not full tutorials)
1. Alt-Tab stuck-input guard
On NOTIFICATION_APPLICATION_FOCUS_OUT, pause and Input.action_release held movement actions so OS-swallowed key-ups do not strand velocity.
2. Desktop launcher note
Lightweight launcher projects may OS.create_process the main pack after writing user://settings.cfg; pair with low_processor_eco_mode.gd while idle in menus.
Deep dives (on demand)
- Settings menu, rebind, Steam, alt-tab guard, launcher → desktop-expert-patterns.md
Reference
Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing work to a peer domain — do not preload the whole lattice.
Official Documentation
- DisplayServer — Window modes,
screen_get_scale/ usable rects, and native file-dialog features behind multi-monitor and HiDPI desktop settings. - Multiple resolutions — Stretch modes, aspect, and content scale so resolution dropdowns stay sharp across 1080p–4K displays.
- Handling quit requests —
NOTIFICATION_WM_CLOSE_REQUEST/set_auto_accept_quit(false)so Alt+F4 and window-close flush ConfigFile before exit. - ConfigFile — INI-style persistence for graphics, audio, and window state under
user://. - File paths in Godot projects — Why settings and saves must use
user://(exportedres://is read-only). - InputEventKey —
physical_keycodevskeycodeso WASD rebinds survive AZERTY/Dvorak layouts. - InputMap — Runtime
action_erase_events/action_add_eventfor desktop rebind UIs. - Using InputEvent — Focus-loss stuck-key pitfalls (
NOTIFICATION_APPLICATION_FOCUS_OUT) when Alt-Tabbing on PC. - Window — Secondary/tool windows and mode/size/position restore for true multi-window desktop apps.
- OS —
low_processor_usage_mode,create_process/execute, andalertfor launchers and native shell hooks. - Creating applications — Desktop-style app chrome, dialogs, and quit UX beyond game-only loops.
- Engine —
has_singleton/get_singletonguards so Steam/Epic GDExtensions never crash standalone builds.
Related Skills
Prerequisites
- godot-project-foundations — Display stretch, feature tags (
windows/linux/macos), and project defaults every desktop settings menu depends on. - godot-input-handling — InputEvent buffering and action design before wiring
physical_keycoderebind UIs. - godot-ui-containers — Settings screens, dropdowns, and remapper rows that stay layout-correct across resolutions.
Complements
- godot-save-load-systems — Game-save ownership that pairs with ConfigFile settings and graceful close-request flushes.
- godot-autoload-architecture — Singleton homes for window managers, SDK wrappers, and shutdown handlers.
- godot-audio-systems — Bus volume persistence that desktop graphics/audio options menus usually expose together.
- godot-adapt-desktop-to-mobile — Touch/safe-area remaps when the same project keeps desktop kb/mouse paths after a mobile port.
- godot-adapt-mobile-to-desktop — Bringing touch-first titles up to window modes, keybinds, and multi-monitor expectations.
- godot-composition-apps — Tooling/launcher composition patterns that lean on eco mode, native dialogs, and secondary windows.
- godot-performance-optimization — Profiling and quality presets after OS-level hardware detection suggests Ultra vs Balanced.
Downstream / consumers
- godot-export-builds — Windows/Linux/macOS export presets, icons, and store packaging once desktop settings and SDK wrappers are stable.
- godot-platform-mobile — Sibling platform skill for dual-target projects that must not assume desktop quit/window APIs on phones.
- godot-platform-web — Browser constraints (no multi-window / limited shell) when shipping the same settings stack to HTML5.
Master
- godot-master — Library router and mirrored module entry for discovering this platform skill beside sibling domains.
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: platform-desktop](https://darkplay.ru/ai/skills/thedivergentai-gd-agentic-skills-platform-desktop)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
A11y Architectaffaan-m · Архитектор доступности, специализирующийся на соответствии WCAG 2.2 для веба и нативных…
ruflo-rvfruvnet · Формат RVF для переносимой памяти агентов, сохранения сессий и кросс-платформенного…
agentic-bundle-aas-api-platform-buildersickn33 · Установите набор редакционных навыков «AAS API Platform Builder» для Claude Code.
agentic-bundle-aas-data-engineering-platformsickn33 · Установите набор редакционных навыков «AAS Data Engineering Platform» для Claude Code.
agentic-bundle-apple-platform-designsickn33 · Установите набор редакционных навыков "Apple Platform Design" для Claude Code.
asanaanthropics · Интеграция с Asana для управления проектами. Создание и управление задачами, поиск…
cloudflareanthropics · Навыки для платформы разработки Cloudflare: Workers, Durable Objects, Agents SDK…
crowdstrike-falcon-foundryanthropics · Навыки разработки CrowdStrike Falcon Foundry для создания приложений кибербезопасности на…
desktop-commanderanthropics · MCP-сервер для терминальных команд, управления процессами и файловых операций с текстом…
dominodatalabanthropics · Полная поддержка платформы Domino Data Lab: рабочие пространства, задания, развёртывание…Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton