ワンクリックで
smart-search
Advanced intelligent product search with query deconstruction, constraint extraction, and relevance ranking
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Advanced intelligent product search with query deconstruction, constraint extraction, and relevance ranking
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.
Advanced product comparison skill with spec fetching, unit normalization, and comparison matrix generation
Framework for comparing products to help customers decide
Personalized product recommendation strategies based on customer data
Strategies for effective product catalog search and discovery
Best practices for planning and executing marketing campaigns
| name | smart-search |
| description | Advanced intelligent product search with query deconstruction, constraint extraction, and relevance ranking |
| version | 1.0 |
| authors | ["Commerce Team"] |
| tags | ["search","ai","ranking","nlp","smart","advanced"] |
An intelligent product search skill that goes beyond keyword matching. It deconstructs natural language queries into structured parameters, applies sophisticated constraints, and ranks results by relevance.
| Input | Type | Required | Description |
|---|---|---|---|
| query | string | Yes | Natural language search query |
| constraints | object | No | Explicit constraints to override extracted ones |
{
"category": "Electronics",
"subcategory": "Audio",
"minPrice": 0,
"maxPrice": 100,
"minRating": 4.0,
"features": ["wireless", "bluetooth"],
"excludeFeatures": ["wired"],
"brands": ["AudioTech", "SoundWave"],
"excludeBrands": [],
"inStockOnly": true,
"sortBy": "relevance"
}
| Tool | Purpose |
|---|---|
| search_products | Search product catalog by keyword |
| get_categories | Get available category hierarchy |
| get_product_details | Get detailed product information |
┌─────────────────────────────────────────────────────────────────────┐
│ SMART SEARCH PROCESS │
├─────────────────────────────────────────────────────────────────────┤
│ │
│ 1. DECONSTRUCT QUERY │
│ ├─ Extract intent (find, compare, recommend) │
│ ├─ Identify product type keywords │
│ ├─ Extract price constraints ("under $100", "budget") │
│ ├─ Extract feature requirements ("wireless", "waterproof") │
│ ├─ Identify use case context ("for running", "at the office") │
│ └─ Detect quality preferences ("best", "top-rated") │
│ │
│ 2. APPLY CONSTRAINTS │
│ ├─ Price range (extracted + explicit) │
│ ├─ Category filtering │
│ ├─ Feature matching (required vs nice-to-have) │
│ ├─ Brand preferences │
│ └─ Stock availability │
│ │
│ 3. SEARCH & FILTER │
│ ├─ Execute search_products with primary keywords │
│ ├─ Apply hard filters (price, stock, category) │
│ └─ Apply soft filters (features, rating) │
│ │
│ 4. RANK RESULTS │
│ ├─ Calculate relevance score │
│ ├─ Boost for feature matches │
│ ├─ Boost for rating/review quality │
│ ├─ Boost for price-to-value ratio │
│ └─ Penalize for missing "nice-to-have" features │
│ │
│ 5. FORMAT OUTPUT │
│ ├─ Return top N ranked results │
│ ├─ Include relevance explanation │
│ └─ Suggest refinements if results are poor │
│ │
└─────────────────────────────────────────────────────────────────────┘
| Pattern | Extracted Constraint |
|---|---|
| "under $X" / "below $X" / "less than $X" | maxPrice = X |
| "over $X" / "above $X" / "more than $X" | minPrice = X |
| "$X - $Y" / "between $X and $Y" | minPrice = X, maxPrice = Y |
| "budget" / "affordable" / "cheap" | maxPrice = 50 |
| "mid-range" | minPrice = 50, maxPrice = 150 |
| "premium" / "high-end" / "luxury" | minPrice = 150 |
| Pattern | Feature Tags |
|---|---|
| "wireless" / "cordless" / "bluetooth" | ["wireless", "bluetooth"] |
| "waterproof" / "water resistant" | ["waterproof", "water-resistant"] |
| "noise cancelling" / "ANC" | ["noise-cancelling", "anc"] |
| "portable" / "travel" | ["portable", "lightweight"] |
| "fitness" / "workout" / "gym" | ["fitness", "athletic"] |
| "eco-friendly" / "sustainable" / "green" | ["eco-friendly", "sustainable", "organic"] |
| Use Case | Category | Subcategory |
|---|---|---|
| "music" / "listening" / "audio" | Electronics | Audio |
| "fitness" / "workout" / "running" | Sports & Outdoors, Apparel | Fitness, Footwear |
| "office" / "work" | Electronics | Accessories |
| "travel" / "commute" | Various | (portable items) |
| "home" / "kitchen" | Home & Kitchen | Various |
| Pattern | Constraint |
|---|---|
| "best" / "top" / "highest rated" | sortBy = "rating", minRating = 4.5 |
| "popular" / "most reviewed" | sortBy = "reviews_count" |
| "new" / "latest" | sortBy = "date_added" |
| "value" / "bang for buck" | Calculate price/rating ratio |
score = baseRelevance
+ (featureMatchScore * 0.3)
+ (ratingScore * 0.2)
+ (priceValueScore * 0.2)
+ (reviewConfidenceScore * 0.1)
+ (stockBoost * 0.1)
+ (categoryMatchScore * 0.1)
| Component | Formula | Max Points |
|---|---|---|
| baseRelevance | keyword matches in name/description/tags | 40 |
| featureMatchScore | (matched features / required features) * 30 | 30 |
| ratingScore | (rating - 3.0) / 2.0 * 20 | 20 |
| priceValueScore | (category_avg_price - price) / category_avg_price * 20 | 20 |
| reviewConfidenceScore | min(reviews_count / 1000, 1) * 10 | 10 |
| stockBoost | inStock ? 10 : 0 | 10 |
| categoryMatchScore | exact category match ? 10 : 0 | 10 |
{
"success": true,
"query": "wireless headphones under $100",
"parsedConstraints": {
"keywords": ["wireless", "headphones"],
"maxPrice": 100,
"features": ["wireless", "bluetooth"],
"category": "Electronics"
},
"results": [
{
"product": { "id": "PROD-001", "name": "...", ... },
"relevanceScore": 87,
"matchedFeatures": ["wireless", "bluetooth", "noise-cancelling"],
"priceValue": "excellent",
"matchReason": "Matches all requirements with excellent rating"
}
],
"totalMatches": 3,
"refinementSuggestions": []
}
{
"success": true,
"query": "purple wireless headphones with GPS",
"parsedConstraints": {...},
"results": [...],
"totalMatches": 0,
"refinementSuggestions": [
"Try removing 'GPS' - no audio products have GPS",
"Try removing color constraint - limited purple options",
"Consider 'blue' or 'black' colors instead"
]
}
Query: "I need something for my morning runs, preferably under $150"
Deconstruction:
Search Strategy:
Query: "best wireless noise cancelling headphones"
Deconstruction:
Search Strategy:
Query: "cheap fitness gear"
Deconstruction:
Search Strategy:
This skill works best when combined with: