esl-price-sync
Skill này làm gì
Công cụ này đảm bảo giá hiển thị trên nhãn kệ điện tử trong cửa hàng khớp chính xác với giá trong hệ thống quản lý của cửa hàng (ERP/POS). Nó làm điều này hiệu quả bằng cách chỉ gửi những cập nhật cần thiết và quản lý tuổi thọ pin của nhãn.
Khi nào nên dùng
- ✓Khi bạn thiết lập kết nối giữa hệ thống giá của cửa hàng và nhãn điện tử.
- ✓Khi giá trên nhãn không khớp với hệ thống của cửa hàng.
- ✓Khi bạn lên kế hoạch khuyến mãi làm thay đổi giá rồi tự động trở lại.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/esl-price-sync/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Làm sao để đồng bộ giá lên nhãn kệ điện tử mà không làm hao pin nhanh?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ so sánh giá từ hệ thống với giá trên nhãn và chỉ gửi những thay đổi. Nó dùng cơ chế thông minh để cập nhật đến nơi đúng, ngay cả khi mạng bị lỗi, và giới hạn số lần cập nhật để tiết kiệm pin.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
ESL Price Sync: Deterministic Retail Shelf-Edge Pricing Architecture
Ensure strict real-time parity between ERP/POS price masters and Electronic Shelf Label (ESL) fleets (SES-imagotag, ZKONG, Pricer, Hanshow, SOLUM) via bounded delta streams, monotonic idempotency tokens, and Sub-GHz RF battery preservation models.
When to Use This Skill
Activate this skill when:
- Designing, implementing, or auditing integration pipelines between enterprise retail masters (SAP, Oracle Retail, Dynamics 365, Lightspeed) and ESL server platforms.
- The user asks: "How do I sync price updates to ESL tags without draining batteries?", "Debug ghost pricing where POS doesn't match the shelf tag", "Design an idempotent delta feed for ZKONG or SES-imagotag", or "Schedule promotional pricing with automatic rollback".
- Reconciling price discrepancy logs between central ERP databases, ESL middleware, and wireless base station ACK telemetry.
- Calculating battery life depletion curves for e-paper tags running on CR2450 coin cells under varying refresh frequencies.
Do NOT use this skill when:
- Managing e-commerce web store frontends or dynamic pricing algorithms (this skill governs faithful delivery of decided prices to physical tags).
- Troubleshooting individual dead hardware tags before gateway RF coverage and RSSI signal propagation have been verified.
- Performing live write operations on production store fleets without a preceding read-only audit verification pass.
Core Mental Models & Non-Negotiable Rules
The 5-Layer ESL Architecture Pipeline:
- Every price synchronization event traverses five distinct operational tiers: $$\mathbf{Price\ Master\ (ERP/POS)} \xrightarrow{\text{Extract}} \mathbf{Transform\ Middleware} \xrightarrow{\text{API/Message}} \mathbf{ESL\ Server} \xrightarrow{\text{Sub-GHz/2.4GHz}} \mathbf{Base\ Station\ (AP)} \xrightarrow{\text{RF\ Packet}} \mathbf{Physical\ Tag}$$
- Traceability Invariant: Every price payload MUST carry a deterministic
trace_idrecording timestamps and status codes across all five layers. A "200 OK" from the ESL central server API is NEVER treated as proof that the physical shelf display has updated.
Strict Delta Discipline & Cryptographic Watermarking:
- Pushing a full 50,000-SKU store catalog on a scheduled cron is strictly forbidden.
- Updates MUST be generated by calculating a cryptographic row hash: $$\text{RowHash} = \text{SHA256}(\text{SKU} + \text{BasePrice} + \text{PromoPrice} + \text{Currency} + \text{UnitOfMeasure} + \text{Barcode} + \text{TemplateID})$$
- Only records where $\text{RowHash}{new} \neq \text{RowHash}{pushed}$ are queued for transmission.
- Full pushes are strictly restricted to initial store commissioning and disaster recovery restores.
Monotonic Idempotency & Out-of-Order Packet Defense:
- High-volume retail message brokers inevitably deliver packets out of order during network re-balancing.
- Every transmission packet MUST include an
idempotency_keyand a monotonically increasingversion_timestamp(ISO 8601 UTC). - If an incoming price payload has $\text{version_timestamp} \le \text{last_applied_version}$, the ESL middleware MUST discard the payload to eliminate race condition reversions.
RF Gateway Rate-Limiting & Battery Longevity Budget:
- Each physical e-paper display refresh costs between $12\ \mu\text{Ah}$ and $25\ \mu\text{Ah}$.
- A dual-CR2450 battery pack provides $1,200\text{ mAh}$ nominal capacity ($960\text{ mAh}$ usable considering passivation and low-temperature shelf environments).
- The 3-Update Daily Rule: Limiting tag updates to $\le 3$ refreshes per day guarantees a $5.5\text{--}7\text{ year}$ operational lifespan.
- Base Station Queue Throttling: Gateways operate over shared Sub-GHz (868/915 MHz) or proprietary 2.4 GHz RF channels. Batch transmissions must not exceed 150 tag updates per gateway per minute to prevent RF collision retries from draining batteries.
Read-Only Audit Mode by Default:
- Diagnostic and reconciliation tasks MUST execute in read-only audit mode.
- Output discrepancy reports containing SKU, ERP Price, Gateway ACK Price, and Divergence Layer.
- State-changing write updates require explicit operator consent.
Named Sins & Anti-Patterns (Что категорически ЗАПРЕЩЕНО)
| Anti-Pattern | Manifestation in Code/Workflow | Mandatory Production Counter-Rule |
|---|
…
Câu hỏi thường gặp
Vì sao không nên gửi toàn bộ giá cùng một lúc?
Gửi toàn bộ giá mỗi lần làm lãng phí pin và gây quá tải mạng. Tốt hơn là chỉ gửi những gì đã thay đổi.
'Ghost prices' là gì?
Đó là khi giá hiển thị trên nhãn khác với giá trong hệ thống của cửa hàng. Công cụ này giúp ngăn chặn điều đó.
Công cụ tiết kiệm pin như thế nào?
Bằng cách giới hạn số lần cập nhật mỗi ngày và gửi cập nhật hiệu quả, pin có thể dùng được trong nhiều năm.
Chi tiết
Mô tả gốc của tác giả
Synchronizes retail prices between ERP/POS systems and Electronic Shelf Labels (SES-imagotag, ZKONG, Pricer, Hanshow, SOLUM) with delta watermarking, idempotency, and battery modeling. Trigger phrases: esl price sync, electronic shelf labels, zkong sync, ses imagotag price, ghost pricing audit.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #4549
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
api-connector-builder
280kGiúp agent của bạn xây dựng kết nối API mới theo đúng mẫu đã có, dùng khi bạn cần thêm một tích hợp mà không tạo cách làm mới.
api-design
280kGiúp agent của bạn thiết kế REST API theo các thực hành tốt nhất, hữu ích để định nghĩa cách API giao tiếp, hiển thị lỗi và tổ chức dữ liệu.
backend-patterns
280kGiúp agent của bạn với các mẫu kiến trúc phía máy chủ và tối ưu cơ sở dữ liệu, hữu ích khi xây dựng hoặc rà soát code chạy trên máy chủ.