/web-mini-game-kit:styling-web-game-typographyfrom Web Mini-Game Kit
Implements readable, licensed typography for distributed games. Guides font adoption, role-based text styling, license compliance, and HUD readability checks. Engine-agnostic with Godot 4.2+ patterns.
Ships in Web Mini-Game Kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when a game needs intentional text styling, font adoption, or license-compliant font bundling for distribution.
Default artifacts:
<PROJECT_DIR>/TYPOGRAPHY_DECISION.md — typography decisions, role mapping, fallback/adoption state, license status.<PROJECT_DIR>/VISUAL_DESIGN.md — short visual-policy summary (roles, size hierarchy, colors, event text effects); do not duplicate font provenance or license detail here.<PROJECT_DIR>/assets/fonts/ — bundle ONLY adopted font weights, not bulk candidate dumps.<PROJECT_DIR>/licenses/fonts/ — full license texts for adopted fonts.<PROJECT_DIR>/THIRD_PARTY_LICENSES.md — adopted external font source and license summary.When updating an existing project, inspect its current theme/style directory, typography docs, font directory, and license directory before choosing file paths. If the named project path is absent, produce a standard path-based plan and state that project inventory was skipped.
During fallback-font implementation, explicitly record that no external font is adopted yet and do not create font license files or third-party font entries.
During font adoption, bundle only the selected weights. If fonts came from a scratch/download folder, verify the exact source release and license before copying; if provenance cannot be established, re-acquire only the selected weights from an authoritative source.
Core rules:
_draw / immediate-mode draw API), handle baseline positioning, horizontal centering, and outline/shadow composite offsets explicitly; verify the rendered result in the actual export target.Workflow:
References:
references/typography-implementation-guide.md — engine-agnostic guide: design principles, phased flow, theme tokens, implementation patterns, license operation, deliverables, review checklist, web visual check, anti-patterns.references/godot-patterns.md — Godot 4.2+ specifics: Theme / ThemeDB.fallback_font / FontFile setup, Label vs _draw() choice, draw_string() baseline + composite offset (with GDScript pattern), res:// paths, Godot Web export font-drop check.What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/developing-with-crisp-game-libCreates or repairs browser mini-games specifically using crisp-game-lib. Use only when the user explicitly asks for crisp-game-lib or the existing project already uses it; skip for Godot, Unity, Phaser, canvas-only, or unspecified engine requests./probing-web-game-mechanicsVerifies that implemented game mechanics match their spec by injecting game state into a live headless browser and asserting the resulting transitions (phase changes, scoring formulas, gates, resets). Use when a change actually reaches a mechanic whose spec conformance is unverified — a smoke test (runtime health) passes but the mechanic's own behavior has not been checked, or when a mechanic is too rare or slow to reach through organic play. Not for crash detection (use smoke-testing-web-games) or play-quality judgment (use evaluating-gameplay-balance)./smoke-testing-web-gamesSmoke-tests a browser game build in a headless browser through load, idle, and input phases, failing on console errors, uncaught exceptions, or crashes. Use after changes that can reach browser runtime, especially game-loop, input, dependency, entry-point, or build-output changes. Skip changes the running build cannot reach. This checks runtime health, not gameplay quality, balance, visuals, or mechanic correctness. Requires Node 18+ and Playwright with Chromium in the target project.npx claudepluginhub abagames/agentic-gamedev-skills --plugin web-mini-game-kitOther plugins' skills for the same job