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

webshop-search-constructor

This skill formulates an effective search query from structured product criteria. It is used when initiating a product search on an e-commerce platf…

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

它会碰到什么

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

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

技能内容

Instructions

When tasked with finding a product on an e-commerce platform, use this skill to construct the initial search query.

Core Process

  1. Receive Criteria: You will be given a set of structured product criteria (e.g., product type, attributes, price limit).
  2. Construct Query: Use the construct_search_query.py script to transform the criteria into a single, optimized search string. The script handles formatting and keyword ordering.
  3. Execute Action: Format the script's output into the required platform action: search[<constructed_query>].

Workflow Example

Input Criteria: {'product': 'jewelry box', 'attributes': ['10 slots', 'easy to clean'], 'price_limit': 60.00}

Skill Execution:

  1. Run the script: python scripts/construct_search_query.py --product "jewelry box" --attributes "10 slots" "easy to clean" --price-limit 60.00
  2. The script returns: jewelry box, 10 slots, less than $60, easy to clean
  3. You output the final action: search[jewelry box, 10 slots, less than $60, easy to clean]

Important Notes

  • Use the Script: Always delegate query construction to the bundled script. Do not attempt to manually format the search string.
  • Input Format: Ensure criteria are passed to the script as discrete arguments (product, list of attributes, price limit). Parse the user's instruction into this structure before calling the script.
  • Output Format: The final action must strictly follow the search[<query>] syntax.

想直接用这个技能?

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