game-ui-patterns SKILL.md skillA
game-ui-patterns from hermeticormus/claude-code-game-development is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add hermeticormus/claude-code-game-development/game-ui-patterns@git:20260930.4aecd99Pins git:20260930.4aecd99 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- hermeticormus/claude-code-game-development
- Path
plugins/ui-game-design/skills/game-ui-patterns/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260930.4aecd99, committed Sep 30, 2026
- Size
- 8,837 bytes
- Repository stars
- 72
- License
- MIT
Game UI code patterns: a HUD health bar, a menu state stack, an inventory grid with drag and drop, a typewriter dialogue box, a screen-edge-aware tooltip, and a settings menu with live preview. Use when implementing game interface screens in Godot.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Game UI Patterns
## HUD Health Bar
```gdscript
# Health bar with smooth tween animation and damage flash
class_name HealthBar extends Control
@onready var fill_bar: ProgressBar = $FillBar
@onready var ghost_bar: ProgressBar = $GhostBar # Lags behind for damage visualization
@onready var flash_overlay: ColorRect = $FlashOverlay
@export var ghost_tween_duration: float = 0.4
@export var flash_duration: float = 0.1
var _ghost_tween: Tween
func _ready() -> void:
flash_overlay.modulate.a = 0.0
func set_health(current: float, maximum: float) -> void:
var ratio := current / maximum
fill_bar.value = ratio * 100.0
# Flash red overlay
var flash_tween := create_tween()
flash_overlay.modulate.a = 0.5
flash_tween.tween_property(flash_overlay, "modulate:a", 0.0, flash_duration)
# Ghost bar lags behind with tween
if _ghost_tween:
_ghost_tween.kill()
_ghost_tween = create_tween()
_ghost_tween.tween_property(ghost_bar, "value", ratio * 100.0, ghost_tween_duration)\
.set_delay(0.2)\
.set_ease(Tween.EASE_IN)\
.set_trans(Tween.TRANS_QUAD)
```
## Menu State Stack
```gdscript
…Read the whole file at its exact version.
How to install
mdr add hermeticormus/claude-code-game-development/game-ui-patterns@sha256:6bbcd6192b0a4d71The line at the top of this page pins the label git:20260930.4aecd99, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_hzac4pobavk3ookq)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 30, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8837 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
hermeticormus/claude-code-game-development · 72 stars · license MIT · pushed 2026-10-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_hzac4pobavk3ookq GET https://markdownregistry.com/api/v1/resolve?ref=hermeticormus/claude-code-game-development/game-ui-patterns GET https://markdownregistry.com/api/v1/blob/6bbcd6192b0a4d71d011b03640124e875c2106239413b0a84e7262a4cbe2b6f9
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.