qr-code-generator 标准
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.
安装方式
cp -r skills/qr-code-generator ~/.claude/skills/qr-code-generator把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
/plugin marketplace add manojbajaj95/claude-gtm-plugin⚠️ 该命令形态随客户端版本变化,仅在检测到 .claude-plugin/marketplace.json 时展示;不可用时请用「目录复制」。
https://raw.githubusercontent.com/manojbajaj95/claude-gtm-plugin/0830a46f4cfbbc8642c07b5c3748afd8efd24571/skills/qr-code-generator/SKILL.md下载后另存为 ~/.claude/skills/qr-code-generator/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/manojbajaj95/claude-gtm-plugin.git
依赖与权限
- 无需 API Key
- 无需联网
- 无外部命令依赖
- 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
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:
- URL
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
1) Validate the URL (scheme + domain).
2) Optionally append UTM parameters (using assets/templates/utm_template.json).
3) Generate QR:
- Error correction: M (default), H for print/complex usage
- Border: 4 (default)
4) Export:
- PNG (good for web)
- SVG (best for print)
5) If caption enabled:
- PNG: add label and/or URL under the QR
- SVG: add a text element under the QR
6) 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.jsonassets/templates/print_notes.mdassets/templates/prompt_snippets.md
质量与来源
- 所属仓库
- manojbajaj95/claude-gtm-plugin
- 仓库星标
- 106
- 最近更新
- 25 天前
- 采集时间
- 今天
- commit
- 0830a46f4cfb
- 内容指纹
- sha256:5298b0310cc3fe3
- 文件路径
- skills/qr-code-generator/SKILL.md