Card Pack Studio
Deliver a working, themed website, not only prompts or a storyboard. A few words and one subject image are sufficient: infer coherent art direction, four complementary ordinary cards, one hero card, and a destination page. Explicit user choices override defaults.
Inspect and design
Inspect the reference image. Identify silhouette, face/markings, proportions, medium and identity anchors. A cat keeps paws and feline anatomy; a product keeps its construction; a person need not become a chibi. Never transplant an earlier subject's identity or fixed body proportions into a new project.
Default to an independent local static site. For an existing app, inspect its stack and integrate only the requested opening. Publishing requires authorization for that destination; do not update an unrelated production site. Ask only for truly blocking missing input, not a novice art-direction questionnaire. State the inferred direction, then work.
Read art-direction.md. Write design/brief.md: input, identity locks, permitted variation, palette/materials, five distinct scenes, ordinary/rare distinction and destination purpose. Do not invent a user's biography or achievements.
Write design/storyboard.md: trigger, focus, preparation, action, aftermath, duration and next condition for each beat. Read motion.md. The runtime is a starting point, not a rule that every theme needs the same colors/timings.
Generate production art
Read prompts.md. Default: nine independent images—pack, four ordinary faces, one rare face, ordinary back, rare back, foil. Adapt both runtime and art plan if the requested card count differs.
Use an available image-generation tool, preferably the environment's native tool. Follow its actual schema; if using the imagegen skill, follow its output rules. One call per asset, not a contact sheet cropped into cards. Inspect local references first. Request genuine alpha for the pack. Save originals in the project, plus actual prompts, reference roles, returned source locations, export parameters and inspection notes in design/. Do not substitute SVG/CSS placeholders or another user's art for requested generation.
If no generation tool exists, report the limitation and deliver prompts/scaffold as incomplete; do not claim placeholders are final art or silently call a paid external API.
Validate one representative face against the subject at full and display size before extending the set. Independent pack/material work may proceed in parallel. Inspect every output. Correct identity drift, anatomy, wrong rare lettering, accidental crop or false alpha through targeted generation edits; effects must not conceal defects.
Build
Read runtime.md. assets/site-template/ is the portable scaffold; scripts/create_site.py copies it without overwriting existing work. Use project-relative assets and local/system fonts. Generated personal art belongs in the project, not in this reusable installed skill.
Default: quiet sealed pack → continuous tear → rupture/ejection → four prepared reveals → distinct rare reveal → coherent themed landing. The destination needs real content, a visual and replay, not an unexplained blank page.
Preserve these invariants:
- Required art downloads and decodes before tear. Progress measures bytes or explicitly completed resources, not elapsed time. Failure is retryable.
- Tear follows displacement. Partial release rolls back; threshold crossing starts once. Touch, keyboard and native cursor work.
- Ordinary cards share a readable rhythm; rare anticipation/hierarchy/release differ. Visual screen shake is not actual haptics or audio.
- Explicitly switch visible faces at the flip midpoint to avoid WebKit mirrored backs. Avoid flattening the 3D parent with clipping/filter effects.
- Pause visible-time sequence in background tabs, cancel stale drags, and clean timers/listeners on replay/unmount. Skip cancels all remaining callbacks.
- Reduced motion preserves content without vigorous transforms or flashes. Provide keyboard-operable skip/replay and restore destination focus; never strand an inert page.
- Narrow layouts bring the active card to a readable center; do not simply shrink the desktop fan.
Export by actual display demand. Preserve originals. scripts/prepare_asset.py performs non-destructive resize/encoding and alpha checks. Estimate maximum settled CSS size × expected DPR; inspect transient zoom separately. Ordinary 768×1024, backs 960×1280 and foil 512² are examples, not universal limits. Preserve rare close-up detail. Budget decisions require visual checks, not arbitrary compression.
Verify and improve
Read qa.md. Run structural checks and real browser interactions; inspect screenshots, not just console output. Use an available browser tool with isolated sessions and no production mutations.
Cover real drag/partial release, keyboard, mobile touch, loading failure/retry, ordinary/rare face visibility, reduced motion, skip, replay and destination usability. Compare sealed/tear/ejection/ordinary/rare/destination beats to a provided reference. Record gaps honestly; passing tests does not prove equivalent aesthetics.
Fix the highest-impact observed gap, recheck affected behavior, and update the relevant template/reference when the issue generalizes. Limit generation fixes to two targeted attempts per defect before reporting a persistent limitation; don't silently generate indefinitely. This is not a limit on normal code repairs.
For new/substantially changed skills, run one independent clean-context invocation using only this skill, a short brief and raw input. Review the resulting plan/site/QA; fix demonstrated ambiguity rather than collecting generic rules.
Deliver a local URL or authorized deployment, portable site folder/ZIP, original art and prompt provenance, concise QA results and unverified-device limits. Separate implemented behavior from suggestions. Do not claim awards, identical quality or user-research results without evidence.