esl-price-sync
它能做什么
这个工具可以确保门店电子货架标签(ESL)上显示的价格,与门店管理系统(ERP/POS)中的价格完全一致。它只发送必要的更新,并管理标签的电池寿命,从而提高效率。
适用场景
- ✓在设置门店定价系统与电子标签之间的连接时。
- ✓当标签上的价格与门店系统不一致时。
- ✓规划会临时改价、之后自动恢复原价的促销活动时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/esl-price-sync/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“如何在不耗尽电子货架标签电池的前提下,把价格同步到标签上?”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会对比系统中的价格和标签上的价格,只发送有变化的部分。即使网络中断,它也有一套机制确保更新能正确送达,并会限制更新次数,以节省电池。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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 |
|---|
…
常见问题
为什么不能每次都把所有价格全部发送?
每次都发送全部价格会浪费电量,还会给网络带来过大负担。只发送有变化的内容会更好。
什么是“幽灵价格”?
指标签上显示的价格与门店系统中的价格不一致的情况。这个工具可以帮助避免这种问题。
它是如何省电的?
通过限制每天的更新次数,并高效地发送更新,电池可以使用好几年。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 48k
- 排名
- #4549
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。