Expert blueprint for digital card games (CCG/Deckbuilders) including card data structures (Resource-based), deck management (draw/discard/reshuffle), turn logic, hand layout (arcing), drag-and-drop UI, effect resolution (Command pattern), and visual polish (godot-tweening, shaders). Use for CCG, deckbuilders, or tactical card games. Trigger keywords: card_game, deck_manager, card_data, hand_layout, drag_drop_cards, effect_resolution, command_pattern, draw_pile, discard_pile.
npx skills add https://github.com/thedivergentai/GD-Agentic-Skills --skill godot-genre-card-game
Expert blueprint for digital card games with data-driven design and juicy UI.
Callable objects or Command resources pushed to a LIFO stack._process(); strictly use Signal-driven triggers or a centralized EffectStack resolver.Array.push_back() and Array.pop_back() to resolve reactions from top-to-bottom.create_tween() / tween_property chains (0.2s+) for pile moves.global_position for cards in hand; strictly position them using a Curve2D layout with sample_baked() for smooth arcs.int for Costs, Attack, and Health to avoid precision drift._draw() custom drawing to bypass SceneTree overhead when rendering 100+ cards or map icons.queue_redraw().for loop; strictly iterate in reverse or use filter() to avoid indexing errors._init(); otherwise, Resources will fail to load in the Inspector.> MANDATORY reads before implementing the matching system:
> 1. card_effect_resolution.gd — LIFO effect stack (push_back / pop_back)
> 2. card_tween_manager.gd — interruptible pile/hand Tweens (no teleports)
> 3. card_data_resource.gd — Inspector-safe Resource card definitions
_get_drag_data() for Control nodes.filter() patterns for querying board metadata.| Need | Action |
|------|--------|
| Nested reactions / counters | MANDATORY card_effect_resolution.gd — LIFO only (pop_back) |
| FIFO sequential animations only | Rare; keep a separate queue — do not reuse the reaction stack |
| Need | Action |
|------|--------|
| Arc hand layout | Curve2D.sample_baked + card_tween_manager.gd |
| Drag targeting | card_drag_drop.gd |
| Dense boards (100+ icons) | _draw() / board_state_dictionary.gd — not Control-per-token |
| Need | Action |
|------|--------|
| Card definitions | MANDATORY card_data_resource.gd (parameterless _init) |
| Deck RNG | deck_shuffle_bag.gd |
| Turn phases | turn_state_machine.gd |
| Phase | Skills | Purpose |
|-------|--------|---------|
| 1. Data | resources, custom-resources | Card properties (Cost, Type, Effect) |
| 2. UI | control-nodes, layout-containers | Hand layout, tooltips |
| 3. Input | drag-and-drop, state-machines | Targeting, hovering |
| 4. Logic | command-pattern, signals | LIFO stack, turn phases |
| 5. Polish | godot-tweening, shaders | Draw juice, foils |
| Pitfall | Solution |
|---------|----------|
| FIFO pop_front on reaction stack | Use LIFO pop_back in card_effect_resolution.gd |
| Instant pile snaps | Tween via card_tween_manager.gd |
| Float ATK/HP | Use int stats on Resources |
> LLM-ignorance rule: If a general agent would not know it before reading, load the reference — never delete expert deltas.
> Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.
.tres Resources so designers edit cost/stats without touching UI scripts.@export / @export_group patterns that drive Inspector-authored card definitions._get_drag_data / _can_drop_data / _drop_data and set_drag_preview for native card drag-and-drop._gui_input, mouse_filter, and _draw for dense boards.create_tween() / tween_property juice for draw, play, and discard moves.sample_baked() for smooth non-circular fan positions and rotations.changed and effect-stack signals that keep UI reactive without _process polling..tres ownership, duplication, and emit_changed so match buffs never leak into authored card files.match phases used by effect stacks and turn machines.Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
Generate memes using the memegen.link API. Use when users request memes, want to add humor to content, or need visual aids for social media. Supports 100+ popular templates with custom text and styling.
Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.
> Brand-first landing page designer — runs a brand-identity interview (colors, typography, shape language), then generates and iterates on a polished landing page via Stitch with deployment-ready HTML. Use when the user asks to create, design, or build a landing page, homepage, or marketing page and has no established visual direction. Skip when they have a design mockup, need a dashboard or app UI, are working at component level, building a multi-page app, or restyling with known design tokens — use frontend-design instead.
Audit paid-ad landing pages for message match, mobile experience, performance, accessibility, trust, forms, consent, tracking, security, and conversion friction. Use for landing-page audit, post-click experience, LP audit, conversion-rate optimization, form optimization, ad-to-page message match, redirects, blocked navigation, or requests involving private, loopback, link-local, or metadata IP destinations.
Marketing landing page and conversion-focused product page reference. Use this skill when building hero sections, feature grids, pricing pages, testimonials, CTAs, footers, navigation bars, or any public-facing marketing surface. Covers a warm, professional, developer-friendly design language (cream backgrounds, generous whitespace, pill CTAs, corner-bracket card decorations) and a complete token set, animation system, and copy-paste component snippets. NOT for product/dashboard UIs — use frontend-design-saas for those.
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices". Focuses on visual design and interaction patterns. Do NOT use for performance audits (use core-web-vitals), SEO (use seo), or comprehensive site audits (use web-quality-audit).
Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".
Take thedivergentai/godot-genre-card-game from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.