π« The Pain Point
You need 1,000 QR stickers for your product inventory. Each QR leads to myshop.com/product_id.
Generating them one by one online is slow and tiresome.
π Agentic Solution
Batch Generator: Reads your product list and prints out 1,000 named QR images.
Key Features:
- Logo Embed: Puts your brand logo in the center.
- High Res: 1000x1000px suitable for printing.
βοΈ Phase 1: Commander (Quick Fix)
For a single code.
Prompt:
βGenerate a QR code for βhttps://vibecoding.comβ. Embed βlogo.pngβ in the center. Save as
qr.png.β
Result: A branded QR code.
ποΈ Phase 2: Architect (Permanent Tool)
For Inventory/Marketing.
Engineering Prompt:
**Role:** Python Tool Developer
**Task:** Create a "Batch QR Code Generator".
**Requirements:**
1. **GUI:**
* Select Excel Data.
* Dropdown: Content Column.
* Dropdown: Filename Column.
* Select Logo (Optional).
* "Generate" button.
2. **Logic:**
* Use `qrcode` with `error_correction=H` (High) to allow for logo obstruction.
* Paste logo in center.
* Save files.
3. **Deliverables:** `qr_gen.py`, `run.bat` (Windows), `run.sh` (Mac).
π§ Prompt Decoding
- Error Correction: QR codes have redundancy. Setting it to βHighβ allows 30% of the code to be covered (by your logo) and still be readable. This is technical knowledge the AI needs to handle branded QRs.
π οΈ Instructions
- Copy Prompt -> Paste -> Run.
- Load Data -> Generate.