Skill: webshop-purchase-executor
Purpose
Execute the final purchase transaction for a verified product on an e-commerce platform. This skill is the terminal action in a shopping workflow, initiated only after a product has been confirmed to meet the user's criteria (e.g., price, description).
When to Use
- •Trigger: You are on a product detail page.
- •Prerequisite: The product has been verified against the user's requirements (e.g., price < $40.00, "natural looking").
- •User Intent: The user has made a decision to buy the product.
- •Available Action: A purchase button (e.g., "Buy Now") is present in the list of clickable elements.
Core Action
Perform a click action on the purchase button.
Execution Logic
- •Locate Purchase Button: Identify the purchase button from the available actions. Common identifiers include:
- •
buy now - •
add to cart(if the instruction implies immediate purchase) - •
purchase
- •
- •Validate Context: Ensure you are on a product page and the prior verification step is logically complete.
- •Execute Click: Perform the
click[purchase_button_value]action using the exact value from the available actions list.
Important Notes
- •Do not use this skill for browsing, searching, or product comparison.
- •The skill assumes price and specification validation occurred in a previous step.
- •If multiple purchase options exist (e.g., "Buy Now", "Add to Cart & Checkout"), prefer the most direct path to complete the transaction, typically "Buy Now".