card-template-format

Defines the card template schema for creating event card layouts across 1-4 day templates.

4|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/minexo79/coser-card-maker --skill card-template-format-minexo79
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: card-template-format
Source: https://github.com/minexo79/coser-card-maker/tree/main/.kilo/skills/card-template-format
Command: npx skills add https://github.com/minexo79/coser-card-maker --skill card-template-format-minexo79

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When building or modifying event card templates for the Anicon DIVA CardMaker, developers need a precise reference for every key in the template JSON—canvas dimensions, image slots, text positions, and rendering rules—so cards render consistently across 1 to 4 day layouts. ## Core Features & Use Cases - Template Schema Reference: Documents every top-level key (baseImagePath, canvas, upload, imageSlots, titleImage, textPositions, fontColor, categorySelection) with types and meanings. - Composition Rules: Explains the layered rendering order—base image, activity images with cover-crop and rounded-corner clipping, offscreen canvas compositing, then text and title layers. - Use Case: When creating a new 3-day event card template, consult this Skill to correctly position each imageSlot, configure dateRole boxes for date/cosplay-role text, and set textPositions for nickname, category, and message fields. ## Quick Start Ask the AI to create or modify a card template JSON for a specific number of event days using the card template format.

Frequently Asked Questions about card-template-format

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

FAQPage Schema
How do I create a card template for a multi-day event?

Define one element in the imageSlots array per day, each with a unique key (d1, d2, ...), label, position (x, y), size (width, height), and optional corner radius. Set the canvas dimensions and baseImagePath, then configure textPositions for nickname, category, and message areas.

What keys are required in a card template JSON?

A template includes baseImagePath, canvas (width, height, downloadWidth, downloadHeight), upload (maxFileSizeBytes), imageSlots array, titleImage, and textPositions. Optional keys are fontColor for text color override and categorySelection for identity circle-selection boxes.

How are uploaded images fitted into image slots?

Images are cover-cropped and clipped to each slot, with optional rounded corners via the radius key. If the image aspect ratio is wider than the slot, height fills and the image centers horizontally with an offset from imageOffsets; otherwise width fills and it centers vertically.

How does the date and cosplay role text display on each day?

Each imageSlot can have a dateRole box where text renders as '<date> <role name>'. The date uses MM-DD format from dayDetails, and the role comes from the cosrole field; empty values are omitted, and if both are empty nothing displays.

What happens when a user uploads a custom base image?

The uploaded base image (baseImageData) takes priority over the template's baseImagePath and is drawn with cover scaling to fill the canvas. If no upload exists, the template's built-in base image is stretched to its original dimensions.