QR Code Generator
Workspace Context
Read bootstrap context before asking questions: strategy/brand.md for brand, audience, offer, channels, tools, constraints, and metrics; about/me.md for personal voice; content/ideas.md and content/calendar.md for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md, and route durable learnings back to strategy/brand.md, about/me.md, or content/ideas.md.
Operating Contract
This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.
What this skill does
Given a URL, this skill generates:
- a QR code that encodes the URL
- optional captions (human-readable URL or short label)
- exports in PNG and/or SVG
- optional batch runs from a CSV
Guardrails
- Don’t generate QR codes for suspicious links (phishing, credential prompts, malware). If unsure, ask for confirmation or suggest a safer destination page.
- Prefer HTTPS URLs.
- If the QR is for print, prefer SVG (scales cleanly) and high error correction.
Inputs
Required:
Optional:
- label/caption text (e.g., “Scan to book a call”)
- whether to show the URL under the QR (yes/no)
- output formats: PNG, SVG
- UTM params (source, medium, campaign, content, term)
- size intent: screen / print / sticker
Workflow
- Validate the URL (scheme + domain).
- Optionally append UTM parameters (using
assets/templates/utm_template.json).
- Generate QR:
- Error correction: M (default), H for print/complex usage
- Border: 4 (default)
- Export:
- PNG (good for web)
- SVG (best for print)
- If caption enabled:
- PNG: add label and/or URL under the QR
- SVG: add a text element under the QR
- Return links + a quick “usage notes” block (recommended minimum size, print tips).
Output format (required)
- Encoded URL (final URL after UTM, if used)
- Files generated (with links)
- Recommendations (error correction, min size, when to use SVG vs PNG)
Scripts in this pack
scripts/generate_qr.py — single QR (PNG/SVG, optional caption)
scripts/batch_generate.py — batch from CSV (id,url,label)
Templates
assets/templates/utm_template.json
assets/templates/print_notes.md
assets/templates/prompt_snippets.md
1---2name: qr-code-generator3description: Generate QR codes with URLs and UTM tracking. Exports PNG/SVG with captions. Use for single codes, batch generation, or marketing campaigns with tracking parameters.4---56# QR Code Generator78## Workspace Context910Read bootstrap context before asking questions: `strategy/brand.md` for brand, audience, offer, channels, tools, constraints, and metrics; `about/me.md` for personal voice; `content/ideas.md` and `content/calendar.md` for content planning. Use legacy product-marketing context files only as fallback. Save generated drafts to `content/<platform>/drafts/YYYY-MM-DD_short-topic-slug.md`, and route durable learnings back to `strategy/brand.md`, `about/me.md`, or `content/ideas.md`.1112## Operating Contract1314This skill is self-contained for its frontmatter scope: use its local instructions, references, scripts, and assets as the playbook; ask only for missing task-specific inputs; hand off to adjacent skills instead of expanding scope; and return an actionable artifact, decision, plan, draft, or diagnostic.15161718## What this skill does19Given a URL, this skill generates:20- a QR code that **encodes the URL**21- optional captions (human-readable URL or short label)22- exports in PNG and/or SVG23- optional batch runs from a CSV2425## Guardrails26- Don’t generate QR codes for suspicious links (phishing, credential prompts, malware). If unsure, ask for confirmation or suggest a safer destination page.27- Prefer HTTPS URLs.28- If the QR is for print, prefer **SVG** (scales cleanly) and **high error correction**.2930## Inputs31Required:32- URL3334Optional:35- label/caption text (e.g., “Scan to book a call”)36- whether to show the URL under the QR (yes/no)37- output formats: PNG, SVG38- UTM params (source, medium, campaign, content, term)39- size intent: screen / print / sticker4041## Workflow421) Validate the URL (scheme + domain).432) Optionally append UTM parameters (using `assets/templates/utm_template.json`).443) Generate QR:45 - Error correction: M (default), H for print/complex usage46 - Border: 4 (default)474) Export:48 - PNG (good for web)49 - SVG (best for print)505) If caption enabled:51 - PNG: add label and/or URL under the QR52 - SVG: add a text element under the QR536) Return links + a quick “usage notes” block (recommended minimum size, print tips).5455## Output format (required)56- Encoded URL (final URL after UTM, if used)57- Files generated (with links)58- Recommendations (error correction, min size, when to use SVG vs PNG)5960## Scripts in this pack61- `scripts/generate_qr.py` — single QR (PNG/SVG, optional caption)62- `scripts/batch_generate.py` — batch from CSV (id,url,label)6364## Templates65- `assets/templates/utm_template.json`66- `assets/templates/print_notes.md`67- `assets/templates/prompt_snippets.md`