ecommerce-reviews
Skill này làm gì
Skill đọc đánh giá của khách hàng từ trang sản phẩm hoặc trang đánh giá và trả về từng đánh giá kèm điểm, tiêu đề, nội dung và ngày. Dành cho người bán và nhà phân tích nghiên cứu phản hồi của khách hàng.
Khi nào nên dùng
- ✓Khi người bán muốn đọc đánh giá của khách hàng về một sản phẩm qua nhiều trang.
- ✓Khi nhà phân tích muốn xem có bao nhiêu đánh giá là giao dịch đã xác minh.
- ✓Khi một đội muốn tìm lời khen hoặc phàn nàn chung trong các đánh giá sản phẩm.
Liên kết skill
https://github.com/browser-act/skills/blob/main/solutions/ecommerce/ecommerce-reviews/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
“Thu thập 20 đánh giá gần nhất từ trang sản phẩm này, kèm điểm và trạng thái đã xác minh.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chuyển đến phần đánh giá, đọc điểm, tên người đánh giá, ngày, tiêu đề, nội dung và lượt bình chọn hữu ích của từng đánh giá, rồi trả về dưới dạng danh sách có phân trang.
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.
E-commerce — Product Reviews
Product URL → paginated customer reviews (reviewer, rating, date, title, body, verified, helpful votes)
Language
All process output to user (progress updates, process notifications) follows the user's language.
Objective
Extract customer reviews from any publicly accessible e-commerce product or reviews page using a multi-strategy approach (JSON-LD Review → Amazon DOM → WooCommerce DOM → generic microdata → generic CSS patterns).
Prerequisites
- Target browser is open and connected
- No login required for public review pages
Pre-execution Checks
1. Tool Readiness
If browser-act has been confirmed available in the current session → skip this step.
Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.
Capability Components
This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page. JS code is encapsulated in Python files under the
scripts/directory, invoked viaeval "$(python scripts/xxx.py {params})". Use the bash tool for execution.
DOM: Extract reviews from current page
Navigate to the product/reviews page first, then extract:
eval "$(python scripts/extract-reviews.py --max-reviews 20)"
Parameters:
--max-reviews: max reviews to return per page, default 20
Output example:
{
"count": 20,
"reviews": [
{
"reviewer": "John D.",
"rating": 5.0,
"date": "Reviewed in the United States on May 15, 2026",
"title": "Great product, exactly as described",
"body": "I've been using this for two weeks and it works perfectly...",
"verified": true,
"helpful_votes": 42
}
]
}
Composite: Product URL → reviews with sort and pagination
Step 1 — Navigate to reviews page:
| Platform | Reviews URL pattern |
|---|---|
| Amazon | https://www.amazon.com/product-reviews/{ASIN}?sortBy=recent (most recent) or sortBy=helpful |
| Amazon (from product page) | Scroll to reviews section or click "See all reviews" link, wait stable |
| WooCommerce | Product page URL with #reviews anchor; reviews are inline on the page |
| Shopify | Reviews are typically inline on the product page |
| Generic | Navigate to product URL; reviews section is usually below product info |
Step 2 — Extract reviews:
eval "$(python scripts/extract-reviews.py --max-reviews 20)"
Step 3 — Paginate (Amazon): Amazon review pages support URL pagination:
- Most recent sort:
https://www.amazon.com/product-reviews/{ASIN}?sortBy=recent&pageNumber={page} - Helpful sort:
https://www.amazon.com/product-reviews/{ASIN}?sortBy=helpful&pageNumber={page}
For each page: navigate {reviews_url_with_page} → wait stable → re-run extract-reviews.py
Termination: when count returns 0, or no new reviews appear compared to prior page.
Pagination
URL Pagination (Amazon): Increment pageNumber parameter in the reviews URL. Start from 1.
DOM Pagination (WooCommerce/generic): Look for a "Next" pagination link on the reviews section. Use eval "$(python ../ecommerce-listing/scripts/extract-listing-next-page.py)" to detect it, then navigate.
Termination: has_next is false, or count is 0.
Success Criteria
result.count >= 1 AND reviews[0].body != null
Known Limitations
- Amazon: navigate from
https://www.amazon.comfirst on fresh sessions to avoid bot detection - JSON-LD reviews are often limited to a small subset (3–5 reviews) even when hundreds exist; use the Amazon-specific URL for full review extraction
- WooCommerce and Shopify review data depends on which review plugin is installed; body extraction may be null if a non-standard plugin is used
- Review dates may be locale-formatted strings rather than ISO dates depending on the site's configuration
Execution Efficiency
- Batch orchestration: Loop through review pages serially; add 1–2 second intervals between navigations
- Test before batch execution: Test with page 1 before running multi-page extraction
- Error resumption: Record page number; on failure, resume from last successful page
Experience Notes
Path: {working-directory}/browser-act-skill-forge-memories/ecommerce-scraper-ecommerce-reviews.memory.md
Before execution: If the file exists, read it first — it records unexpected situation
Câu hỏi thường gặp
Có cần đăng nhập không?
Không. Nó đọc các trang đánh giá công khai.
Nó có đi qua nhiều trang đánh giá không?
Có. Nó hỗ trợ phân trang trong phần đánh giá.
Mỗi đánh giá gồm những gì?
Mỗi đánh giá gồm tên người đánh giá, số sao, ngày, tiêu đề, nội dung, trạng thái đã xác minh và lượt bình chọn hữu ích.
Chi tiết
Mô tả gốc của tác giả
Extract customer reviews from any e-commerce product page or reviews page. Returns reviewer name, star rating, date, review title, review body, verified purchase status, and helpful votes per review. Works on Amazon, WooCommerce, Shopify, and any site with standard review markup. Supports pagination for multi-page review sections. Use when: product reviews, customer feedback, review scraping, get reviews, sentiment analysis data, review extraction, customer ratings, extract customer opinions, product feedback, user reviews, review mining, bulk review collection, review analysis, scrape ratings
repo: browser-act/skills
Độ phổ biến
- Sao GitHub
- 6.3k
- Vị trí xếp hạng
- #14266
- Giấy phép
- MIT
- Cập nhật
- 24/8/2026
Bình luận
- …
Thêm skill từ kho mã này
browser-act-skill-forge
6.3kGiúp agent của bạn khám phá một website một lần rồi lưu thành một skill tái sử dụng với các script, để lấy dữ liệu từ site đó sau này nhanh hơn.
browser-act
6.3kGiúp agent của bạn chạy công cụ tự động hóa trình duyệt để mở trang, đọc nội dung đã render, điền biểu mẫu, chụp ảnh màn hình và quản lý phiên đã đăng nhập.
1688-product-detail
6.3kGiúp agent của bạn lấy chi tiết sản phẩm từ một trang bán buôn 1688.com, như bậc giá, biến thể, thống kê người bán và thuộc tính.
airbnb-listing-detail
6.3kGiúp agent của bạn lấy chi tiết công khai của một tin đăng Airbnb theo ID, như ảnh, tiện nghi, đánh giá và nội quy nhà.
Skill tương tự
gitcrawl
394kCho phép agent của bạn tìm trong kho lưu trữ issue và pull request GitHub, gom các mục trùng lặp và kiểm tra trạng thái hiện tại trên GitHub.
slacrawl
394kCho phép agent của bạn tìm và đếm tin nhắn trong kho lưu trữ Slack cục bộ, kiểm tra kho đó mới đến mức nào và làm mới khi cần.
goplaces
394kGiúp agent của bạn tìm địa điểm, lấy chi tiết và đánh giá, và xác định tên địa điểm bằng Google Places, với đầu ra JSON cho script.