Genera conModelos que esta habilidad utiliza para generar el resultado. Debes aportar tu propio acceso.
LLM del agente anfitrión
Requisitos
Node.js 22+Google Chrome, Chromium o Edge
Así es el prompt
# Gig Poster and Ticket
A poster and a ticket that look printed on the same press. The 1080 x 1440 poster puts the event name in tall condensed capitals, printed twice in two inks that miss each other by a few pixels, over a large circle and a block of stripes; below come the headliner, the support acts and a ruled strip with date, time, venue, city and price. The 1600 x 800 ticket repeats the event name and lineup, carries date, time and venue on a ruled line, and ends in a stub behind a dashed perforation with "Admit one", section, row, seat, price and a barcode drawn from the ticket's own text. Everything comes from thirteen text slots; the user changes text, theme and the main ink color.
## First-run setup
This skill runs on the user's own computer and needs two free tools: **Node.js 22+** and **Google Chrome, Chromium or Microsoft Edge**. Check them before the first image in a conversation. Talk to the user in the language they are writing in, in plain words, with no jargon they did not use first.
1. **Check.** Run `node -v`. If it prints v22 or newer, run `node scripts/check-setup.mjs`. It prints one line per tool (`OK` / `MISSING` / `OPTIONAL`) and ends with `RESULT: ready` (exit 0) or `RESULT: N missing` (exit 1). If `node` is not found or is older than 22, treat Node.js as missing and still look for the browser at the paths in `scripts/check-setup.mjs`.
2. **All OK:** say nothing about setup and go straight to "Before you start". Do not re-run the check later in the same conversation; run it again only if a later command fails with "not found", "too old" or a missing-tool error.
3. **Something missing:** stop and explain before doing anything else. Use this shape, translated into the user's language:
> To make these images on your computer I need a few free tools that are not installed yet:
> - **Node.js** (version 22 or newer) - runs this skill's scripts.
> - **Google Chrome** (or Chromium / Edge) - lays out, checks and saves the images.
> I can install them for you now ([the exact commands for this computer]). It takes a few minutes and your computer may ask for your login password. Shall I go ahead?
List only what is actually missing. Do not install anything until the user clearly says yes.
4. **Install, after a yes**, using the user's system (detect with `uname` on macOS / Linux, or `$env:OS` in PowerShell on Windows):
- **macOS:** check `brew --version`. If Homebrew exists: `brew install node` and `brew install --cask google-chrome` (skip what is already there). If Homebrew is missing, explain that Homebrew is the free standard installer for Mac tools and ask a second time before installing it. Its official installer asks for the Mac login password, so give the user this one line to paste into Terminal themselves: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"`, then follow the "Next steps" lines it prints (they add `brew` to the PATH). If the user prefers not to use Homebrew, use the official installers from the links in step 6.
- **Windows:** `winget install -e --id OpenJS.NodeJS.LTS`, `winget install -e --id Google.Chrome` (Edge is usually preinstalled, so the browser is often already OK). Open a new terminal afterwards so the PATH updates.
- **Linux (Debian / Ubuntu):** `sudo apt-get install -y chromium` (on Ubuntu the browser package may be `chromium-browser`). Distribution Node.js is often older than 22: install Node 22+ from the official instructions at nodejs.org instead.
- Ask for nothing except the system's own password prompt; never ask for account names, tokens or keys. If your sandbox blocks the install, request permission to run that command, or show the user the command to paste into their own terminal.
5. **Verify** with the same check: `node -v` (22 or newer), then `node scripts/check-setup.mjs` until it prints `RESULT: ready`. Tell the user in one sentence that setup is done, then continue the task they originally asked for without making them repeat it.
6. **If an install fails** or the user wants to do it by hand, give the official download page and the shortest steps, then re-run step 5 when they say it is done:
- Node.js: https://nodejs.org/en/download (pick the LTS installer, run it, open a new terminal).
- Google Chrome: https://www.google.com/chrome/ (or pass `--chrome <path>` to `page.mjs` for an existing Chromium / Edge).
Once setup is done, continue with "Before you start": ask for the items the user has not given yet; do not start from the example values unless the user asks for a sample.
<!-- fill-in:start -->
<!-- Generated by packing/scripts/fillin.py from references/fill-in.json. Edit the JSON and re-run gen; do not edit this block by hand. -->
## Before you start
The user fills in the items below; `references/fill-in.json` holds the same list in machine-readable form. Talk to the user in the language they are writing in.
| Item | What it is | Example | Required | Limit |
| --- | --- | --- | --- | --- |
| Use and size (`canvas`) | A 1080x1440 poster (3:4, for feeds, Xiaohongshu or print) and a 1600x800 e-ticket (2:1), or both | both | no, default: all | one of: poster 3:4 / e-ticket 2:1 / both |
| Event name (`slot:event`) | The show or night name, printed huge in two inks; each word 8 letters or fewer | Salt Coast | yes | up to 16 characters |
| Headliner (`slot:act1`) | The main act, the biggest name under the event | The Low Tides | yes | up to 20 characters |
| Support act 1 (`slot:act2`) | First support act; leave empty to hide | Mira Vance | no, default: empty (hidden) | up to 18 characters |
| Support act 2 (`slot:act3`) | Second support act; leave empty to hide | Paper Lanterns | no, default: empty (hidden) | up to 18 characters |
| Date (`slot:date`) | Show date, on the poster strip and the ticket | Sat 14 Mar 2026 | yes | up to 18 characters |
| Doors time (`slot:doors`) | When doors open or the show starts | Doors 19:30 | yes | up to 12 characters |
| Venue (`slot:venue`) | Venue name | The Boiler Room | yes | up to 20 characters |
| City (`slot:city`) | City or area of the venue | Harbor City | yes | up to 18 characters |
| Price (`slot:price`) | Ticket price as you want it written | $28 | yes | up to 7 characters |
| Kicker (`slot:kicker`) | Small line above the event name | Live, one night only | no, default: Live, one night only | up to 30 characters |
| Section (`slot:section`) | Section on the ticket stub | GA | no, default: GA | up to 5 characters |
| Row (`slot:row`) | Row on the ticket stub | - | no, default: - | up to 4 characters |
| Seat (`slot:seat`) | Seat on the ticket stub | Floor | no, default: Floor | up to 6 characters |
| Style (`option:--theme`) | Paper and inks: riso is cream paper with pink and blue inks; midnight is black with orange-red and teal; newsprint is grey newsprint with red and grey | cream riso | no, default: riso | one of: cream riso / black midnight / grey newsprint |
| Main ink color (`option:--accent`) | Only if the user wants their own brand color as the main ink | #1E3A8A | no, default: none | #RRGGBB |
**Ask first, then make.**
1. Take every item the user already gave, from this message or earlier in the conversation.
2. If a **required** item is still missing (Event name, Headliner, Date, Doors time, Venue, City, Price), stop and ask before creating anything. Use one short message in the user's language: list only the missing items, each with its plain name, the one-line explanation and the example, and mention the defaults of the optional items in the same message so the user can change them in one reply.
3. Never make up the user's content: no invented names, places, dates, prices, claims, people or photos. The examples in the table are only examples.
4. Use the example values only when the user explicitly asks for a sample (for instance "show me an example first", in any language); then say in one sentence that the result uses sample content to be replaced.
5. If an answer breaks a limit, propose a shorter version or a valid option and ask; never cut or change it silently.
6. Read the final values back in one line, then go on to Steps.
- Build the full brief before filling: the show (event name, headliner, support acts, date, doors, venue, city, price, seat), what the images are for (poster, ticket or both, which sets the size) and the style (theme or main ink color). Read it back as one line, for example: "Poster and ticket for Night Swim with Velvet Static, support Glass Arcade and June Okoro, Fri 6 Feb 2026, doors 20:00, The Lantern Hall, Eastport, $24, GA / - / Floor, midnight style", and wait for a yes before step 1.
- The barcode and serial number on the ticket are decoration; say so if the user wants a real admission ticket, and never present them as a working code.
- The bundled typefaces cover Latin letters only. If the user gives the text in Chinese or another non-Latin script, say so and ask for an English version; do not translate it yourself.
- This pack draws every image with code and calls no image model or paid service. Never generate an image, use a stock picture or take one from the web in place of the user's own material. The poster and ticket use type and shapes only, no photos.
Fill-in prompt shown to the user after install (copy, replace the brackets, send):
> Use gig-poster-ticket to make a gig poster and ticket: use = [poster 3:4 / e-ticket 2:1 / both], event = [your show or night name], headliner = [main act], date = [e.g. Fri 6 Feb 2026], doors = [e.g. Doors 20:00], venue = [venue name], city = [city], price = [e.g. $24], style = [cream riso / black midnight / grey newsprint]
Show it in the user's language (`references/fill-in.json` also holds a Chinese version), with the brackets left for the user to fill.
Not sure what to put? The user can say "show me an example first" and you use the example values.
<!-- fill-in:end -->
## Visual system
`references/visual-system.md` holds the whole style in one paragraph plus its anchors, the canvas table, limits, identity rules and theme inks. Read it before writing any text. `references/template.html` draws both canvases; its `slots` block lists every slot with its limit and default.
## Steps
1. **Message** - write `content.json` with the exact text: `{"theme": "riso", "slots": {"kicker": "...", "event": "...", "act1": "...", "act2": "...", "act3": "...", "date": "...", "doors": "...", "venue": "...", "city": "...", "price": "...", "section": "...", "row": "...", "seat": "..."}}`. Add `"accent": "#RRGGBB"` for the main ink. `act2` and `act3` are optional: set them to `""` when there are fewer support acts, and the poster drops the "with" line and the ticket drops the separators by itself. `node scripts/page.mjs slots references/template.html` lists slots, limits, optional slots and themes.
2. **Fill** - `node scripts/page.mjs fill references/template.html --content content.json --out out/index.html`. The script refuses unknown slots, text over the limit, unknown themes and bad colors, and copies the fonts. Result: prints `PASS`.
3. **Check** - `node scripts/page.mjs check out/index.html --canvas`. It measures both canvases: exact size, text leaving the safe margin, single-line text running past its column, overlapping blocks, text under 22 px, missing fonts. Fix by shortening text and rerun until `PASS`.
4. **Render** - `node scripts/page.mjs shoot out/index.html --canvas --out out/images` writes `poster-3x4.jpg` and `ticket-2x1.jpg` at full size; add `--quality 100` for PNG.
5. **Verify** - open both images and compare every word, date, time and price with `content.json` (see Check).
6. **Narrow fix** - change only the slot that is wrong in `content.json`, or pass `--theme` / `--accent` alone to re-color a filled file without touching its text, then repeat steps 2-5.
7. **Deliver** - the two images, `out/index.html` for later edits, and a note that the barcode is decorative.
## Rules
- Two inks only: ink A (brand color) and ink B from the theme; no third color, gradients or photos.
- The event name always appears as the misregistered pair; do not add more offset copies or outlines.
- The poster and ticket carry the same event, date, venue and price.
- The barcode and serial number are decorative and must not be presented as a real admission code.
- Never invent artists, venues, dates or prices; use only what the user gave you.
## Check
- `node scripts/page.mjs check out/index.html --canvas` prints `PASS` for both canvases.
- The files are exactly 1080 x 1440 and 1600 x 800.
- Every word matches `content.json`; the event name breaks between words, never inside one.
- On the ticket, nothing but the dashed line and background crosses the perforation, and the stub text stays inside the stub.
## Not for
- Festival posters with long lineups of more than three acts
- Tickets that need a real, scannable barcode or QR code
- Photo posters built around a band picture or artist portrait
## References
- `scripts/check-setup.mjs` - first-run tool check (read-only; same browser lookup as `page.mjs`).
- `references/visual-system.md` - style paragraph, anchors, canvas table, limits, identity rules, inks.
- `references/template.html` - both canvases and the `slots` block; filled by `page.mjs fill`.
- `references/assets/` - Anton and DM Mono font files (copied automatically by `fill`).
- `references/third-party-notices.md` and `references/*-OFL.txt` - font licenses.
- `scripts/page.mjs` - slots, fill, check and shoot tool (Node 22+, Chrome); run with `--help`.
Variables Contenido · Uso y tamaño · Estilo
Cómo usarlo
Elige tu camino
Edita en el navegador con Studio o instala en tu IA para mayor libertad.
Studio Editar cambia los campos Exportar. Los packs gratuitos con editor no requieren sesión; los de pago requieren compra o membresía.
Prompt / CLI / MCP / ZIP · API: Próximamente
Elige cómo instalar
Toda instalación en IA requiere una cuenta. Los packs gratuitos solo necesitan sesión; los de pago, compra o membresía.
Prompt
Copia a tu IA el prompt con instrucciones de descarga y verificación.
CLI
Inicia sesión, elige tu IA y ejecuta el comando. Requiere Node.js 22+.
MCP
Añade la configuración, reinicia tu IA y pídele conectar tu cuenta, buscar e instalar packs. Requiere Node.js 22+.
ZIP
Descarga y extrae el ZIP. Coloca la carpeta del pack en el directorio de skills de tu IA, con SKILL.md dentro.
Usa gig-poster-ticket con mi contenido. Pregúntame qué materiales necesitas.
Qué incluye
12 archivos en el ZIP
Un póster de concierto de 1080x1440 y un boleto electrónico correspondiente de 1600x800 con un talón de asiento
Tres temas de impresión (riso, medianoche, papel periódico) más cualquier color de tinta principal
Límites de texto aplicados y un verificador que mantiene cada línea en la hoja y fuera de la siguiente columna
Qué necesitas
Navegador para Studio; IA compatible con skills (Claude Code, Codex, Cursor u OpenClaw) para instalar. Solo CLI / MCP requiere Node.js 22+. Consulta abajo los requisitos de producción del pack.
Obligatorio · Node.js 22 o más reciente
Obligatorio · Google Chrome, Chromium o Edge
Qué incluye
Un póster de concierto de 1080x1440 y un boleto electrónico correspondiente de 1600x800 con un talón de asiento
Tres temas de impresión (riso, medianoche, papel periódico) más cualquier color de tinta principal
Límites de texto aplicados y un verificador que mantiene cada línea en la hoja y fuera de la siguiente columna
Ideal para
Bandas, DJs y promotores anunciando un show
Pequeños locales y bares que publican una noche semanal.
Eventos comunitarios que quieren un cartel y un boleto coincidente rápidamente
No es para
Carteles del festival con un largo cartel de más de tres actos
Boletos que necesitan un código de barras o código QR real y escaneable
Pósteres fotográficos creados alrededor de la imagen de una banda o un retrato de un artista.
Sustituye los corchetes por tu contenido; puedes omitir lo opcional.
/gig-poster-ticket
Use and size = 〔Use and size — poster 3:4 / e-ticket 2:1 / ambos tamaños — opcional〕
Event name = 〔Event name — máximo 16 caracteres〕
Headliner = 〔Headliner — máximo 20 caracteres〕
Support act 1 = 〔Support act 1 — máximo 18 caracteres — opcional〕
Support act 2 = 〔Support act 2 — máximo 18 caracteres — opcional〕
Fecha y hora = 〔Fecha y hora — máximo 18 caracteres〕
Doors time = 〔Doors time — máximo 12 caracteres〕
Venue = 〔Venue — máximo 20 caracteres〕
City = 〔City — máximo 18 caracteres〕
Price = 〔Price — máximo 7 caracteres〕
Frase superior = 〔Frase superior — máximo 30 caracteres — opcional〕
Section = 〔Section — máximo 5 caracteres — opcional〕
Row = 〔Row — máximo 4 caracteres — opcional〕
Seat = 〔Seat — máximo 6 caracteres — opcional〕
Color = 〔Color — cream riso / azul marino / grey newsprint — opcional〕
Color de marca = 〔Color de marca — opcional〕
¿No sabes qué poner? Di: muéstrame un ejemplo primero
Ejemplo
/gig-poster-ticket
Use and size = both
Event name = Salt Coast
Headliner = The Low Tides
Support act 1 = Mira Vance
Support act 2 = Paper Lanterns
Fecha y hora = Sat 14 Mar 2026
Doors time = Doors 19:30
Venue = The Boiler Room
City = Harbor City
Price = $28
Frase superior = Live, one night only
Section = GA
Row = -
Seat = Floor
Color = cream riso
Color de marca = #1E3A8A
Cartel y entrada de concierto
Genera un cartel 3:4 y una entrada 2:1 con tipografía condensada en dos tintas desajustadas, artistas, fecha, sala, precio y talón de asiento. Rellena trece campos, elige riso, medianoche, periódico o tu tinta y comprueba que ningún texto salga del papel.
Un póster de concierto de 1080x1440 y un boleto electrónico correspondiente de 1600x800 con un talón de asiento
Tres temas de impresión (riso, medianoche, papel periódico) más cualquier color de tinta principal
Límites de texto aplicados y un verificador que mantiene cada línea en la hoja y fuera de la siguiente columna
Requisitos
Obligatorio · Node.js 22 o más reciente
Obligatorio · Google Chrome, Chromium o Edge
Blue Hour big band seated ticket and poster
Consejos
Haz la versión riso con el color de mi marca suministrado.
Cambia el boleto a la sección B, fila 4, asiento 12 y exporta PNG archivos.
Antes de empezar
Tú aportas
Nombre del evento, cabeza de cartel, fecha y lugar
Dependencias
Obligatorio · Node.js 22 o más reciente
Obligatorio · Google Chrome, Chromium o Edge
Costes externos
Sin coste de servicio externo
Última actualización
v1.0.3 ·
El alcance se limita al flujo incluido.
Valoraciones y reseñas
Aún sin valoraciones
Valorar este pack
Reseñas
Aún no hay reseñas
Preguntas frecuentes
¿Puedo cambiar el texto y los colores?
Sí. Trece espacios de texto cubren el evento, programación, fecha, hora, lugar, ciudad, precio y asiento, y puedes elegir uno de los tres temas de impresión o cualquier color de tinta principal; Los límites mantienen cada línea en la hoja.
¿Necesito mis propios activos o una clave API?
No. Un modelo de imagen no genera nada y no se necesita ninguna clave; necesitas Node.js 22+ y Chrome para renderizar las imágenes.
¿Puedo cambiar el estilo o el movimiento?
La sobreimpresión a dos tintas, el tipo condensado y el diseño definen el aspecto y permanecen fijos; El tema, la tinta principal y cada palabra son tuyos para cambiar. Las imágenes están fijas, no animadas.