Skip to content
Back to skills

Webshop Search Constructor

ASecurity

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.

  • 1,373 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
data-aipython

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add zjunlp/SkillNet --skill webshop-search-constructor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Webshop Search Constructor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Webshop Search Constructor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zjunlp-webshop-search-constructor/badge)](https://www.skillsdirectory.com/skills/zjunlp-webshop-search-constructor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: webshop-search-constructor
description: 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.
---
# 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.

Files in this skill

  • SKILL.md2 KB
  • references/query_optimization_guide.md1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…