Skip to content
Back to skills

Qr Branding

ASecurity

Standardize the visual branding of QR codes (colors, logos) while ensuring maximum scan reliability across various lighting conditions and hardware in Workspace Factory v9.0.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 24, 2026
developmenttypescriptgoreact

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 24, 2026

npx -y skills add iDorgham/Workspace-Factory --skill qr_branding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qr Branding?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Qr Branding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/idorgham-qr-branding/badge)](https://www.skillsdirectory.com/skills/idorgham-qr-branding)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
type: Skill
subagents: [core-validator, integrity-bot]
agents: [master-guide, swarm-router]
dependencies: [core-orchestration, global-sync]
version: 1.0.0
---



# SKILL: QR Branding & Scanning Optimization

## Purpose
Standardize the visual branding of QR codes (colors, logos) while ensuring maximum scan reliability across various lighting conditions and hardware in Workspace Factory v9.0.

## Core Principles
1.  **Contrast is King**: Maintain at least a 3:1 contrast ratio between the QR modules (dots) and the background.
2.  **Error Correction Level**: Always use Level `H` (High, 30%) or `Q` (Quartile, 25%) when embedding logos to ensure the code remains scannable.
3.  **Logo Safe-Zone**: Logos must not exceed 15-20% of the total QR area and should be centered to avoid critical alignment patterns.

## Implementation Rules
- **Branding**:
  - Module Color: Use `color.background.accent-bold` or `black`.
  - Quiet Zone: Minimum 4 modules width (white space around the QR).
- **Hardness**: Round modules (dots) are acceptable but ensure square "finder patterns" (the big squares in corners) remain sharp for faster targeting.

## Anti-Patterns
- Using brand colors that are too light (e.g., yellow modules on white background).
- Placing logos over the three large corner "finders".
- Using transparent backgrounds for QRs (renders them unscannable on many surfaces).

## Code Examples

### Branded QR Generation (React/SVG)
```tsx
import { QRCodeSVG } from 'qrcode.react';

export const BrandedQR = ({ value }) => (
  <div className="p-200 bg-white rounded-medium shadow-raised inline-block">
    <QRCodeSVG
      value={value}
      size={256}
      level="H"
      includeMargin={true}
      imageSettings={{
        src: "/assets/branding/logo-mini.png",
        height: 48,
        width: 48,
        excavate: true,
      }}
      fgColor="var(--ds-background-accent-bold)"
    />
  </div>
);
```

### Scan Buffer Optimization
```typescript
// Optimization for hardware scanners: ensure no glare on modules
const qrContainerStyle = {
  filter: 'contrast(1.2) brightness(1.0)',
  padding: '16px'
};
```

Files in this skill

  • SKILL.md2.1 KB
  • SKILL.md.meta.json797 B
  • core.py342 B
  • manifest.yaml170 B
  • tests/test_core.py284 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.