Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

event-flyer-pack

БесплатноЗапускает вложенные скриптыНе проверен

Create event flyers with real, scannable QR codes. Use for single flyers, coordinated promo packs, A6 fronts and backs, A4 four-up sheets, tent cards, and…

okou-aiот okou-ai★ 81 звезда на GitHub

Об этом скилле

Event Flyer Pack

Turn event details into a coordinated set of promotional assets. Use the image tool for artwork and typography, then local scripts to generate, overlay, and verify real QR codes. Never ask the image tool to draw a working QR.

Scope and preparation

  • Use the available image tool for artwork; see references/image-generation.md for invocation steps.
  • Default to large, high-contrast serif titles, dark atmospheric lighting, and cobalt, cream, and charcoal. Read references/style.md and inspect the bundled reference image. Borrow its visual language, not its fictional event details. The user's current style or brand requirements take precedence.
  • For a single-flyer request, make only that flyer. A full pack includes A6 fronts and backs, A4 four-up front/back PDFs, a folded tent card, and a 1080×1920 Story. If scope is unclear, ask only whether the user wants a single flyer or a full pack. Start with one version per independent design; add another only if QA fails or the user requests alternatives.
  • Invoke manually only. Do not create automations, automatically post, send bulk messages, publish publicly, place print orders, or create short links. Files are private by default. Follow current authorization and platform rules for third-party accounts and costs.

Set SKILL_DIR to this skill's absolute directory and OUT to the current task's output directory. Treat skill resources as read-only and write all outputs to the task directory. The reference image is stored as lossless base64. Restore it, verify its checksum, then inspect it with the image-reading tool:

mkdir -p "$OUT"
python3 "$SKILL_DIR/scripts/restore_reference.py" "$OUT/style-reference.png"

If verification fails, stop using that reference; do not silently skip the failure. Preparation does not call an image service.

1. Confirm event details

Record the current inputs using the structure in templates/event-spec.json; do not modify the bundled template. Confirm the title, date, start/end times and timezone, venue or online entry point, admission, CTA, QR URL, language, asset scope, and dimensions. Optional fields include a tagline, agenda, highlights, host, and authorized images or logos.

Ask only for missing essential details. Do not reuse demo dates, addresses, or URLs, or assume free entry. Concept drafts may use TBA. Without a real destination URL, do not fabricate a QR or describe the result as ready to publish. Clearly label fictional demos. Resolve date/weekday conflicts before proceeding.

Use HTTPS by default and preserve the user-confirmed URL exactly. Do not add UTM parameters, remove parameters, or substitute a third-party short link without approval. For long URLs, suggest a user-owned short link or a larger QR. Reject phishing or malicious uses. Never encode secrets, sessions, or one-time login tokens in promotional QR codes.

2. Generate the complete base artwork

Read the relevant template in templates/prompts.md. Fill in the exact copy, scene, palette, and placeholder coordinates, and remove optional fields that were not supplied. Request a complete design with an empty QR area. Do not let placeholder braces appear in the artwork.

Generate each independent design separately: front, back, two upright tent-card halves, and Story. Local scripts handle four-up assembly and tent-card rotation; do not generate extra artwork for those operations.

Require a solid pure-white square QR placeholder with a fixed position and side length. It must contain no patterns, text, shadows, or rounded corners, and must not overlap the copy. Even if the artwork includes a fake QR, completely cover it with opaque white before replacing it with a real code.

Wait for generation to finish. Save the job ID, prompt, original file, and actual returned dimensions; do not resubmit to check progress. Before printing, normalize dimensions as described in references/print-and-qa.md, then overlay the QR. A6 is 105×148 mm, approximately 1240×1748 px at 300 DPI, not 2:3. Do not stretch artwork or silently crop text. Visually inspect any canvas extensions. Upsampling does not add detail.

3. Generate and overlay a real QR

Install scripts/requirements.txt in a task-specific virtual environment. Keep the same SKILL_DIR and OUT, and set EVENT_URL to the user-confirmed final URL.

python3 -m venv ./generated/flyer-env
./generated/flyer-env/bin/python -m pip install -r "$SKILL_DIR/scripts/requirements.txt"
PY=./generated/flyer-env/bin/python

"$PY" "$SKILL_DIR/scripts/generate_qr.py" --url "$EVENT_URL" \
  --error H --border 4 --box-size 16 --png "$OUT/qr.png" --svg "$OUT/qr.svg"

"$PY" "$SKILL_DIR/scripts/overlay_qr.py" "$OUT/front-base.png" \
  "$OUT/qr.png" "$OUT/front.png" --auto-detect --verify "$EVENT_URL"

If automatic detection finds multiple candidates, finds none, or selects the wrong position, inspect the image and use --x X --y Y --size S. Do not blindly select the largest white re

Полный SKILL.md на GitHub

Установить event-flyer-pack в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

LICENSE.upstream.mdNOTICE.mdassets/style-reference.png.b64references/image-generation.mdreferences/print-and-qa.mdreferences/style.mdscripts/formats.pyscripts/generate_qr.pyscripts/overlay_qr.pyscripts/requirements.txtscripts/restore_reference.pytemplates/event-spec.jsontemplates/prompts.md

FAQ

Что делает скилл event-flyer-pack?

Create event flyers with real, scannable QR codes. Use for single flyers, coordinated promo packs, A6 fronts and backs, A4 four-up sheets, tent cards, and Story assets. Generate artwork with the available image tool, then overlay a real QR and verify every final asset.

Как установить скилл event-flyer-pack?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл event-flyer-pack запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить event-flyer-pack с