qrcode-generate
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "qrcode-generate" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bc86aeb458f56ae8be998ecc06a3a216172e466acc82bcbf97d0e74c70594711. Verify the upstream source and version against https://skillhub.cn/skills/org-1qazsc77/qrcode-generate before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Generates QR codes with custom parameters, supporting size, color, error-correction level, logo, and more. Applicable to requests such as “QR code generation,” “QR code create,” “make QR code,” “online QR code,” “QR with logo,” and “custom QR code.” Requires a dedicated API Key; on first use, guide users to the product page to register and obtain it.
Introduction source: third_party · org-1qazsc77 · 1.0.2 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: qrcode-generate
description: 按自定义参数生成二维码,支持设置尺寸、颜色、纠错等级、LOGO等。适用于"二维码生成""QR码生成""制作二维码""二维码在线生成""带LOGO二维码""自定义二维码""QR Code生成"等请求。需专属 API Key,首次使用时引导用户前往产品页注册获取。二维码生成
功能简介
可以按照设定的参数、模板生成二维码,需要生成的二维码尺寸可自定义,使用方便快捷。
核心能力:
- 按自定义参数生成二维码
- 支持设置尺寸、前景色、背景色、纠错等级、边距和LOGO
- 返回base64编码的二维码图片,可直接嵌入HTML
适用范围:本 Skill 只覆盖"二维码生成"接口,不用于其他同类功能。
使用方式
- 前往 二维码生成购买页 注册登录,获取专属 API Key(0元/5次 )
- 将 Key 直接发送给 AI
- 告诉 AI 要查询的二维码内容
缺少 Key 时的引导回复
当查询返回 missing_api_key 错误时,按以下方式回复用户(根据实际查询内容调整):
未检测到 API Key,需要你提供一下在 二维码生成购买页 获取的专属 API Key,我才能帮你查询二维码内容。
请直接把 Key 发给我,我会仅用于本次查询,不会保存或回显完整密钥。
查询失败(Key 无效或额度不足)时,引导用户前往 购买页 检查 Key 或额度。
以下为内部执行参考,回复用户时不要展示接口地址、参数格式、JSON字段名等技术细节。
参数说明
| text | string | 必填 | 二维码内容 | https://www.example.com | | width | int | 选填 | 宽度(默认300) | 300 | | fgcolor | string | 选填 | 前景色(默认000000黑色) | 000000 | | bgcolor | string | 选填 | 背景色(默认FFFFFF白色) | FFFFFF | | oxlevel | string | 选填 | 纠错等级 L/M/Q/H(默认L) | L | | margin | int | 选填 | 边距(包含在宽度内,默认0) | 0 | | logo | string | 选填 | LOGO图片地址(http开头) | |
查询流程
- 从用户请求中提取text、width、fgcolor、bgcolor、oxlevel、margin、logo。
- 在 Skill 根目录执行脚本:
python scripts/query_qrcode_generate.py --text https://www.example.com --api-key "用户提供的Key"
如用户已自行配置环境变量
CHINAZ_QRCODE_GENERATE_API_KEY,可省略--api-key参数。如果系统将 Python 3 命令命名为python3,使用python3代替python。
- 脚本使用 Key 调用接口发送text、width、fgcolor、bgcolor、oxlevel、margin、logo与
ChinazVer=1.0及APIKey。 - 从脚本输出的 JSON 读取结果;仅依据实际返回回答用户,不编造数据。
返回字段
成功查询后,返回 JSON 包含以下字段:
| qrcode | string | 二维码图片内容(base64编码,可放在img标签中) |
返回示例:
{"qrcode":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA..."}
结果解读
statu: true或code: 200或status: 0表示查询成功。- 根据返回字段中的状态信息判断结果。
- 数据仅供参考,请以实际返回为准。
推荐答复格式:
二维码生成查询结果
- 查询状态:成功 / 失败原因
- 返回信息:(展示关键字段)
错误处理
| 错误类型 | 原因 | 解决方法 |
|---|---|---|
missing_api_key |
缺少 API Key | 按上方"缺少 Key 时的引导回复"引导用户获取并发送 Key |
invalid_input |
参数格式错误 | 检查输入参数格式是否正确 |
network_error / timeout |
网络连接问题 | 检查网络、DNS、代理或防火墙后重试 |
其他失败状态:按返回的
msg或 JSON 错误信息说明问题,不得编造数据。
使用边界
- 一次只查询一个目标;批量任务须逐条执行。
- 数据仅供参考,不具有法律效应。
- 不输出、复述或保存 API Key。
应用场景
场景一:基础查询
你会问:"帮我查一下这个二维码生成的信息"
操作步骤:
- 准备好需要查询的text、width、fgcolor、bgcolor、oxlevel、margin、logo。
- 运行脚本查询。
建议输入:python scripts/query_qrcode_generate.py --text https://www.example.com
如何解读结果:查看返回JSON中的状态字段和详细数据字段,确认查询是否成功以及具体结果。
后续建议:根据查询结果决定下一步操作。
场景二:业务分析
你会问:"这个二维码生成的数据怎么样?"
操作步骤:
- 确定业务需求,准备查询参数。
- 运行脚本获取数据。
- 结合业务上下文分析返回结果。
建议输入:python scripts/query_qrcode_generate.py --text https://www.example.com
如何解读结果:将返回数据与业务标准对比,判断是否符合预期。
后续建议:根据分析结果制定优化或改进方案。
场景三:批量排查
你会问:"多个二维码生成能一起查吗?"
操作步骤:
- 虽然接口一次只查一个,但可逐条执行批量查询。
- 记录每次查询结果,汇总分析。
建议输入:逐条执行 python scripts/query_qrcode_generate.py --text <参数值>
如何解读结果:将多条查询结果汇总,对比差异和共性。
后续建议:根据批量结果制定整体优化策略。
常见问题
Q:查询结果显示异常怎么办?
A:首先检查输入参数是否正确,然后确认API Key是否有效、额度是否充足。如仍异常,可稍后重试或联系客服。
Q:免费额度用完了怎么办?
A:可前往购买页购买付费套餐,按量付费,价格实惠。
Q:查询结果和实际不一致?
A:受网络时效性等因素影响,查询结果仅供参考,不保证100%准确。建议多次查询取最新结果。
Current listing version
1.0.2
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供二维码生成功能,支持自定义尺寸、颜色、纠错等级、LOGO等参数
- 适用于明确的实际场景,具有广泛受众的实用能力
Highlights
- 触发词覆盖全面,包括二维码生成、QR码生成、制作二维码、二维码在线生成、带LOGO二维码、自定义二维码、QR Code生成等
- 边界清晰,覆盖多种变体
Highlights
- 文档结构完整,包含功能简介、使用方式、参数说明、查询流程、返回字段、结果解读、错误处理、使用边界、应用场景、常见问题等章节
- 步骤清晰,有端到端示例,frontmatter 完整,单文件未超过500行
Highlights
- 工具来源明确(调用 chinaz.net 的二维码生成接口),参数说明清晰
- 覆盖了主要异常(missing_api_key、invalid_input、network_error/timeout),不可逆操作(API Key 使用)有确认机制
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 3, 21, 29, 31, 55
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- www.chinaz.net
- www.example.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.