This skill formulates an effective search query from structured product criteria. It is used when initiating a product search on an e-commerce platform, converting attributes into a concise, relevant keyword string. The input is a set of parsed criteria (e.g., 'jewelry box', '10 slots', 'easy to clean', 'price < $60'), and the output is a formatted search action string (e.g., 'search[jewelry box, 10 slots, less than $60, easy to clean]') optimized for the platform's search engine.
When tasked with finding a product on an e-commerce platform, use this skill to construct the initial search query.
construct_search_query.py script to transform the criteria into a single, optimized search string. The script handles formatting and keyword ordering.search[<constructed_query>].Input Criteria: {'product': 'jewelry box', 'attributes': ['10 slots', 'easy to clean'], 'price_limit': 60.00}
Skill Execution:
python scripts/construct_search_query.py --product "jewelry box" --attributes "10 slots" "easy to clean" --price-limit 60.00jewelry box, 10 slots, less than $60, easy to cleansearch[jewelry box, 10 slots, less than $60, easy to clean]search[<query>] syntax.5c472b3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.