Godot Ui Theming
Automates Godot Engine UI theming creation and modification based on provided style guides and asset libraries.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add godot-ui-theming npx -- -y @trustedskills/godot-ui-theming
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"godot-ui-theming": {
"command": "npx",
"args": [
"-y",
"@trustedskills/godot-ui-theming"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the creation and modification of user interfaces (UI) in Godot Engine, ensuring a consistent visual identity across your project. It leverages theme resources, stylebox styling, font management, and an override system to streamline the theming process. The included scripts provide solutions for dynamic switching between themes, dark/light mode implementation, resolution scaling, and safe runtime StyleBox modification.
When to use it
- Creating a consistent visual style across your Godot game or application.
- Implementing dynamic theme switching (e.g., light/dark mode).
- Managing UI scaling for different screen resolutions and DPI settings.
- Styling UI elements semantically without duplicating scenes.
- Ensuring HUD consistency across different nodes in your project.
Key capabilities
- Dynamic theme switching using
global_theme_manager.gd. - Runtime theme switching and DPI/Resolution scale management with
ui_scale_manager.gd. - Dark/Light mode implementation via cascading theme root propagation (
theme_swapper.gd). - Safe runtime StyleBox modification using the
duplicate()pattern (dynamic_stylebox_color.gd). - Theming for generated UI elements using
NOTIFICATION_THEME_CHANGED(procedural_theme_safe.gd). - Bi-directional (RTL/LTR) UI support with dynamic theme variant swapping (
rtl_theme_mirroring.gd). - Resolution-independent scaling using content scale factor (
crisp_ui_scaler.gd).
Example prompts
While this skill doesn't directly respond to natural language prompts, you would use it by incorporating the provided Godot scripts into your project and configuring them within the Godot editor. For example: "Implement a dark/light mode toggle" or "Scale UI elements for high-resolution displays."
Tips & gotchas
- Avoid creating StyleBoxes in
_ready(): Use Theme resources for shared styling to prevent excessive object creation. - Remember theme inheritance: Parent themes are ignored if a child has its own theme; apply themes at the root and use
theme_type_variationfor overrides. - Don't modify theme resources during
_draw()or_process(): This can severely impact performance due to frequent layout recalculations.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.