📱
简介
专业级二维码生成与部署指南,覆盖编码规范、尺寸计算、色彩对比度及多场景测试标准。
原始描述
Generate, customize, and deploy QR codes with proper sizing, error correction, and use-case optimization.
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
Claude Codeunzip -o skill.zip -d ~/.claude/skills/qr/
其它 Agent解压到它自己的 skills 目录,目录名用 qr
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: QR description: Generate, customize, and deploy QR codes with proper sizing, error correction, and use-case optimization.
Before Generating
- Choose correct type — URL is not the only option. See
types.mdfor vCard, WiFi, email, SMS, geo, etc. - Shorten dynamic URLs — Long URLs = dense codes = harder to scan. Use short links for tracking too.
- Set error correction — L (7%) for clean environments, M (15%) default, Q (25%) with logos, H (30%) for harsh conditions
Sizing Rules
Minimum sizes by scan distance:
- Phone at arm's length (~30cm): 2x2 cm minimum
- Table tent (~50cm): 3x3 cm
- Poster (~1m): 5x5 cm
- Billboard (~5m): 25x25 cm
Formula: QR size = scan distance ÷ 10
Color & Contrast
- Minimum 70% contrast between foreground and background
- Dark on light ONLY — scanners expect dark modules
- Never invert (white on black fails on many readers)
- Avoid gradients on modules — solid colors only
- Background can have subtle texture if contrast maintained
Testing Checklist
Before printing/deploying:
- Scan with 3+ different phones (iOS, Android old/new)
- Test in target lighting conditions
- Verify destination loads correctly
- Check at actual print size, not screen preview
- Test after any logo/customization applied
Common Failures
| Symptom | Cause | Fix |
|---|---|---|
| Won't scan | Too small / low contrast | Increase size, check colors |
| Scans but wrong content | URL changed after print | Use dynamic QR / redirect |
| Works on some phones | Over-customized, low error correction | Reduce customization, increase EC |
| Slow to recognize | Too dense | Shorten URL, reduce data |
Use Case Guides
| Context | See |
|---|---|
| Data types (WiFi, vCard, etc.) | types.md |
| Business deployment patterns | deployment.md |
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。