card-kit

Generate reusable card game UI art sources and native Godot StyleBoxTexture, AtlasTexture, and Theme resources.

531|45|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/RandallLiuXin/GodotMaker --skill card-kit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: card-kit
Source: https://github.com/RandallLiuXin/GodotMaker/tree/main/skills/assets/card-kit
Command: npx skills add https://github.com/RandallLiuXin/GodotMaker --skill card-kit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building card game interfaces in Godot requires producing card frames, rarity borders, state overlays, and badges as art sources, then manually compiling them into nine-slice StyleBoxTexture and AtlasTexture resources. This Skill automates that pipeline from a structured request to validated native Godot resources.

Core Features & Use Cases

  • Provider-based art generation: Generates card frames, portrait frames, rarity frames, and overlays through declared image providers (native, codex, gemini, openai) with reference image attachment support.
  • Deterministic processing pipeline: Finalizes images, slices component sheets, curates selections, and assembles transparent atlases using repository tools.
  • Native Godot resource compilation: Compiles StyleBoxTexture resources with nine-slice borders, AtlasTexture components, and optional Theme resources, then validates them through L0-L4 checks including headless Godot loading.
  • Use Case: A developer building a roguelike deckbuilder requests a card kit with front frames, three rarity variants, and hover/disabled state overlays, and receives ready-to-bind .tres resources validated in headless Godot.

Quick Start

Ask the agent to generate a card-kit asset with a JSON request specifying asset_type card-kit, the needed frame and state pairs, and your chosen image provider.

Frequently Asked Questions about card-kit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate card game UI assets for Godot?

Submit a request JSON with asset_type card-kit listing the frames, states, and components you need, then run the contract check tool. The Skill generates provider art, processes it into atlases, and compiles StyleBoxTexture and AtlasTexture resources.

What Godot resources does the card-kit skill produce?

It produces one StyleBoxTexture per declared frame/state pair with nine-slice borders, one AtlasTexture per named fixed component, and an optional Theme resource at <asset_id>_theme.tres. Each output is a separate .tres file so consumers can bind them independently.

Which image generation providers are supported?

Four providers are supported: native, codex, gemini, and openai. Codex uses image_gen with referenced_image_paths, while openai and gemini use the asset_source_generate.py tool which records hashes and attachment provenance.

Can the card-kit skill generate pixel art card assets?

No, pixel art requests are explicitly unsupported and must stop immediately. The Skill produces non-pixel-art card UI such as frames, rarity borders, badges, and overlays, not card rules, deck logic, or full composite screens.

Why does card-kit validation fail at L3?

L3 loads the compiled artifacts in headless Godot, so failures usually indicate malformed .tres resources or missing source references. Inspect the diagnostic, repair the resource or metadata, and re-run the affected checks followed by the full validation.