360 Secure SkillHub
360 安全技能中心

QR

面向二维码制作与部署的参考指南:涵盖动态短链、纠错级别(L/M/Q/H)、按扫描距离推算尺寸、对比度与配色规则、常见故障排查对照表,以及用多台手机在目标环境测试的清单;数据类型与商业部署分别引用 types.md、deployment.md,材料中未提供可执行的生成代码。

ivangdavila
ivangdavila
热度 85.07
最近更新 2026-05-11 16:51:50
分类:知识依赖:纯提示词应用场景:品牌素材 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add qr
Metadata
name
QR
description
Generate, customize, and deploy QR codes with proper sizing, error correction, and use-case optimization.

Before Generating

  1. Choose correct type — URL is not the only option. See types.md for vCard, WiFi, email, SMS, geo, etc.
  2. Shorten dynamic URLs — Long URLs = dense codes = harder to scan. Use short links for tracking too.
  3. 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