跳到主要内容
知仓学习社ZHICANG

webshop-product-detail-check

>-

不碰外部(只输出文字)无严重或高危命中zjunlp/SkillNet

它会碰到什么

扫了多少2 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Skill: Product Detail Verification

Trigger

Activate this skill when the agent has navigated to a specific product's detailed page from a search results list. The agent should have a user query containing specific requirements (e.g., product type, attributes, price constraints).

Core Objective

Analyze the product detail page to confirm if the product meets all user-specified constraints. Provide a clear "Proceed" or "Reject" recommendation.

Execution Workflow

  1. Parse User Requirements: Extract key constraints from the user's instruction. Primary constraints are typically Price and Key Attributes (e.g., "long", "clip-in", "natural looking"). Store these in a structured format.
  1. Scrape Product Page Data: Systematically extract the following information from the current page observation:
  • Product Title
  • Price
  • Key Description Snippets (from Description/Features sections)
  • Rating (if available)
  • Availability of "Buy Now" action.
  1. Constraint Verification: Compare the scraped data against the user's requirements.
  • Price Check: Is the product price strictly less than the user's maximum? (e.g., < $40.00).
  • Attribute Check: Do the title and description contain terms matching the user's key attributes? (e.g., confirm "clip-in" and "natural looking" are present).
  • Suitability Flag: Product is suitable only if ALL hard constraints (price, mandatory attributes) are satisfied.
  1. Decision & Action:
  • If SUITABLE: Conclude the product matches requirements. The recommended action is click[buy now].
  • If NOT SUITABLE: Conclude the product fails one or more constraints. The recommended action is to return to search (click[back to search]) to find another candidate.

Output Format

Your response must use the following format:

Thought: [Your reasoning, summarizing the user's constraints, the product details found, and the result of the verification check.]

Action: [The single, valid action to take: click[buy now] or click[back to search]]

Example

Instruction: "i need a long clip-in hair extension which is natural looking, and price lower than 40.00 dollars"

Observation: Product page for "22 Inch Long Natural Looking Clip-In Hair Extension" — Price: $34.99, Description mentions "clip-in", "natural looking", "synthetic fiber".

Thought: The user needs a long, natural-looking, clip-in hair extension under $40. This product is priced at $34.99 (< $40.00), the title confirms "long" and "natural looking", and the description confirms "clip-in". All constraints are satisfied.

Action: click[buy now]


Observation: Product page for "Premium Human Hair Extension" — Price: $45.99, Description mentions "clip-in", "natural".

Thought: The user's budget is under $40. This product is priced at $45.99, which exceeds the $40 limit. Price constraint fails.

Action: click[back to search]

Notes

  • Prioritize information explicitly on the product page. Assume missing information (like a Rating of "N.A.") does not disqualify a product unless specified by the user.
  • The "Buy Now" button must be present in the available actions list for the purchase action to be valid.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。