godot-platform-desktop
БесплатноЗапускает вложенные скриптыНе проверенExpert blueprint for desktop platforms (Windows/Linux/macOS) covering keyboard/mouse controls, settings menus, window management (fullscreen, resolution)…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
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.
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, St
Установить godot-platform-desktop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-platform-desktop?
Expert blueprint for desktop platforms (Windows/Linux/macOS) covering keyboard/mouse controls, settings menus, window management (fullscreen, resolution), keybind remapping, and Steam integration. Use when targeting PC platforms or implementing desktop-specific features. Keywords desktop, Windows, Linux, macOS, settings, keybinds, ConfigFile, DisplayServer, Steam, fullscreen.
Как установить скилл godot-platform-desktop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-platform-desktop запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic