Add SG grocery product-search domain skills (Shopee, Lazada, FairPrice)#405
Open
EclairAikome wants to merge 2 commits into
Open
Add SG grocery product-search domain skills (Shopee, Lazada, FairPrice)#405EclairAikome wants to merge 2 commits into
EclairAikome wants to merge 2 commits into
Conversation
Field-tested playbooks for searching and extracting frozen ramen/udon SKUs from the three Singapore grocery sites, captured during a competitor survey: - shopee/product-search.md: login wall, blocked search API, lazy-rendered grid, innerText price-line parser, IPC/timeout recovery ladder - lazada/product-search.md: price-anchored DOM walk, large-js()-returns-None payload cap, PDP spec-grid parser, card-price != RSP, RedMart = Lazada - fairprice/product-search.md: clean /product/ anchors, richest PDP (origin + storage fields), fuzzy-search filtering Also adds reusable Lazada/Shopee list + PDP extractors to agent_helpers.py. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The breadcrumb-scan loop body was just `pass` and did nothing; the real breadcrumb/title extraction happens lower in the function. No behavior change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Field-tested playbooks for searching and extracting frozen ramen/udon SKUs from the three Singapore grocery sites, captured during a competitor survey:
Also adds reusable Lazada/Shopee list + PDP extractors to agent_helpers.py.
Summary by cubic
Adds SG grocery product-search skills for Shopee, Lazada/RedMart, and FairPrice, plus reusable list/PDP extractors in
agent_helpers.py. Also removes a dead-code stub inlaz_detail()with no behavior change.domain-skills/shopee/product-search.md,domain-skills/lazada/product-search.md,domain-skills/fairprice/product-search.md(navigation, extraction patterns, site-specific gotchas).agent_helpers.py:laz_list(limit),shopee_list(),laz_detail(),page_text()for price-anchored list parsing and PDP spec fields (brand, pack size, origin, type, price, seller).Written for commit 9994b35. Summary will update on new commits.