跳到正文
TakoAPI
返回技能列表

qrcode

由 hexavi8 提供

Web & Frontend Development
488下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Generate styled QR codes (SVG/PNG/JPG) with custom colors, shapes, and error correction.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Generate a styled QR code for https://example.com with circular dots and blue color, suitable for a business card

智能体
  1. 1

    Runs generate.mjs with the URL, --dot circle, --eye rounded, --color #2563eb, --format svg, and --ec Q flags

  2. 2

    Saves the output SVG to the workspace root

  3. 3

    Displays the generated file using markdown image syntax

  4. 4

    Confirms the file path and format to the user

  5. 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

安装

clawhub install hexavi8/qrcode

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接