qrcode
by hexavi8
Web & Frontend DevelopmentBrief
Generate styled QR codes (SVG/PNG/JPG) with custom colors, shapes, and error correction.
Description
What This Skill Does
Generates QR codes from text or URLs in SVG, PNG, or JPG formats. Supports custom colors, dot shapes, finder pattern styles, and error correction levels. Output files are saved to the workspace root with path traversal protection enforced.
Combines format flexibility, styling options, and error correction tuning in a single CLI tool, avoiding the need to use separate web services or image editors for QR code customization.
When to Use It
- Generating a branded QR code for a business card with custom colors
- Creating a WiFi credential QR code for a guest network
- Producing a high-resolution QR code for a print poster
- Making a transparent PNG QR code for logo overlay use
- Generating a vCard QR code with rounded styling for social media
Example Workflow
User asks: Generate a styled QR code for https://example.com with circular dots and blue color, suitable for a business card
- 1
Runs generate.mjs with the URL, --dot circle, --eye rounded, --color #2563eb, --format svg, and --ec Q flags
- 2
Saves the output SVG to the workspace root
- 3
Displays the generated file using markdown image syntax
- 4
Confirms the file path and format to the user
- 5
Offers to regenerate with different size or styling if needed
SVG file at workspace root displaying a blue circular-dot QR code scannable to https://example.com
Installation
clawhub install hexavi8/qrcodeRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.