recommendations
TasteRay API integration for personalized recommendations across verticals (movies, restaurants, products, travel, jobs). Use when you need to: (1) recommend…
от eric861129★ 52 звезды на GitHub
Установить recommendations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Recommendations
Personalized recommendations through the TasteRay API.
Goal
When making recommendations or reviewing recommendation-related code—whether API integrations, context building, or presentation logic—your goal is to achieve a 10/10 score.
Score all work on a 0-10 scale based on adherence to the principles and techniques in this skill. Provide your assessment as X/10 with specific feedback on what's working and what needs improvement to reach 10/10.
A 10/10 means the work:
- Embodies the core principle (understanding precedes recommendation)
- Builds rich context before calling the API
- Presents recommendations with personalized explanations
- Handles edge cases gracefully (low confidence, rate limits, errors)
- Avoids all anti-patterns
Iterate until you reach 10/10.
Core Principle
Understanding precedes recommendation.
Great recommendations come from deep understanding of the person—their preferences, constraints, history, and context. Never call the API without first building meaningful context from the conversation.
Key insight: A recommendation is only as good as the context that informed it.
API Overview
The TasteRay Recommendation API provides personalized recommendations across multiple verticals.
Base URL
https://api.tasteray.com
Authentication
All requests require an API key in the header:
X-API-Key: your-api-key
Core Endpoints
| Endpoint | Method | Description |
|---|---|---|
/v1/recommend |
POST | Get personalized recommendations |
/v1/explain |
POST | Get detailed explanation for a single item |
/v1/usage |
GET | Check quota and usage statistics |
See: API Reference
The Recommendation Flow
Every recommendation follows this pattern:
1. Build context from conversation
↓
2. Call POST /v1/recommend
↓
3. Interpret confidence scores
↓
4. Present with personalized explanations
↓
5. Iterate based on feedback
Step 1: Build Context
Extract from the conversation:
- preferences: Explicit likes/dislikes and taste patterns
- profile: Psychological profile text (from elicitation skill)
- constraints: Hard requirements (budget, dietary, location, etc.)
- history: Past items they've liked or disliked
Step 2: Call the API
POST /v1/recommend
{
"vertical": "movies",
"context": {
"preferences": ["dark comedies", "complex characters"],
"profile": "Values authenticity and depth. Drawn to stories about outsiders...",
"constraints": {"max_length_minutes": 120},
"history": [
{"item": "Parasite", "rating": 5},
{"item": "The Lobster", "rating": 4}
]
},
"count": 5
}
Step 3: Interpret Confidence
| Score | Meaning | Action |
|---|---|---|
| 0.9+ | Strong match | Lead with this recommendation |
| 0.7-0.9 | Good match | Present with confidence |
| 0.5-0.7 | Moderate match | Include caveats, explain why it might not fit |
| <0.5 | Weak match | Omit or explain significant uncertainty |
Step 4: Present Recommendations
Don't just list items. Personalize the explanation:
Bad:
"Based on your preferences, I recommend Parasite."
Good:
"Given your appreciation for dark comedies with complex characters, Parasite would be a strong match. It has that same outsider perspective you responded to in The Lobster, but with sharper social commentary."
Step 5: Iterate
Use feedback to refine:
- "That's not quite right" → Ask what's missing
- "Tell me more about X" → Call
/v1/explain - "Something different" → Adjust constraints and re-query
Context Building
The quality of recommendations depends entirely on context quality.
Preferences Array
Explicit taste statements extracted from conversation:
"preferences": [
"dark comedies",
"complex anti-heroes",
"slow-burn narratives",
"dislikes: jump scares",
"dislikes: predictable endings"
]
Extraction patterns:
- "I love X" → positive preference
- "I can't stand X" → negative preference (prefix with "dislikes:")
- "Something like X" → reference point
- "Not too X" → constraint or negative preference
Profile Text
Free-form psychological profile. If using the elicitation skill, summarize findings:
"profile": "Values authenticity over polish. Drawn to outsider narratives
and stories about people who don't fit in. Appreciates moral ambiguity
and complex characters who aren't clearly good or bad. Responds strongly
to themes of class and social hierarchy. Prefers films that trust the
audience's intelligence."
Constraints Object
Hard requirements that filter recommendations:
| Vertical | Common Constraints |
|---|---|
| Movies | max_length_minutes, release_year_min, exclude_genres |
| Restaurants | cuisine, price_range, location, dietary |
| Products | max_price, category, brand_exclude |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/api-reference.md
- references/context-patterns.md
- references/presentation-patterns.md
FAQ
Что делает скилл recommendations?
TasteRay API integration for personalized recommendations across verticals (movies, restaurants, products, travel, jobs). Use when you need to: (1) recommend movies, restaurants, products, travel, or jobs, (2) answer "what would I like" questions, (3) provide personalized recommendations based on preferences, (4) rank or score items for a user, (5) explain why something matches a user's taste, (6) build recommendation context from conversation, (7) integrate psychological profiles with recommendation systems.
Как установить скилл recommendations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл recommendations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…