MCP HubMCP Hub
스킬 목록으로 돌아가기

recommendations

tasteray
업데이트됨 2 days ago
8 조회
18
18
GitHub에서 보기
메타aiapidesign

정보

이 스킬은 TasteRay API를 통합하여 영화, 음식점, 제품 등 다양한 분야에 걸쳐 맞춤형 추천을 제공합니다. 개발자가 항목 순위를 매기고, 취향 일치를 설명하며, 사용자 대화에서 추천 컨텍스트를 구축할 수 있도록 지원합니다. "내가 무엇을 좋아할까?"와 같은 질문에 답하거나 심리 프로파일을 추천 시스템에 통합해야 할 때 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add tasteray/skills -a claude-code
플러그인 명령대체
/plugin add https://github.com/tasteray/skills
Git 클론대체
git clone https://github.com/tasteray/skills.git ~/.claude/skills/recommendations

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

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

EndpointMethodDescription
/v1/recommendPOSTGet personalized recommendations
/v1/explainPOSTGet detailed explanation for a single item
/v1/usageGETCheck 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

ScoreMeaningAction
0.9+Strong matchLead with this recommendation
0.7-0.9Good matchPresent with confidence
0.5-0.7Moderate matchInclude caveats, explain why it might not fit
<0.5Weak matchOmit 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:

VerticalCommon Constraints
Moviesmax_length_minutes, release_year_min, exclude_genres
Restaurantscuisine, price_range, location, dietary
Productsmax_price, category, brand_exclude
Travelbudget, dates, accessibility, interests
Jobslocation, salary_min, remote, experience_level

History Array

Past items with ratings (1-5 scale):

"history": [
  {"item": "The Grand Budapest Hotel", "rating": 5},
  {"item": "Transformers", "rating": 1},
  {"item": "Moonlight", "rating": 4}
]

Guidelines:

  • Include both positive and negative examples
  • Maximum 50 items (API limit)
  • More recent items are weighted higher
  • Include item identifiers when available (IMDB ID, etc.)

See: Context Patterns Reference


Vertical-Specific Patterns

Movies & TV

Key context signals:

  • Genre preferences (and anti-preferences)
  • Pacing preferences (slow burn vs. action-packed)
  • Era preferences (classic, modern, contemporary)
  • Language/subtitle comfort
  • Mood they're seeking

Constraint examples:

{
  "max_length_minutes": 120,
  "release_year_min": 2010,
  "exclude_genres": ["horror", "musical"],
  "languages": ["en", "fr"],
  "streaming_services": ["netflix", "hulu"]
}

Restaurants

Key context signals:

  • Cuisine preferences and adventurousness
  • Price sensitivity
  • Dietary restrictions (must capture accurately)
  • Occasion context (date night, business, casual)
  • Ambiance preferences

Constraint examples:

{
  "location": {"lat": 37.7749, "lng": -122.4194, "radius_miles": 5},
  "price_range": [2, 3],
  "dietary": ["vegetarian-options"],
  "open_now": true
}

Products

Key context signals:

  • Use case and context
  • Quality vs. price tradeoff
  • Brand affinities and aversions
  • Feature priorities
  • Aesthetic preferences

Constraint examples:

{
  "max_price": 500,
  "category": "headphones",
  "brand_exclude": ["beats"],
  "features_required": ["noise-cancelling", "wireless"]
}

Travel

Key context signals:

  • Travel style (adventure, relaxation, cultural)
  • Comfort level with unfamiliarity
  • Activity preferences
  • Social context (solo, couple, family)
  • Previous destinations (loved and disliked)

Constraint examples:

{
  "budget_per_day": 200,
  "dates": {"start": "2024-06-01", "end": "2024-06-14"},
  "accessibility": ["wheelchair-accessible"],
  "climate": "warm",
  "visa_free_for": "US"
}

Jobs

Key context signals:

  • Career values and priorities
  • Work style preferences
  • Growth vs. stability orientation
  • Culture fit signals
  • Skills and experience level

Constraint examples:

{
  "location": "San Francisco",
  "remote": "hybrid",
  "salary_min": 150000,
  "experience_level": "senior",
  "company_size": ["startup", "mid"]
}

Presentation Patterns

How you present recommendations matters as much as what you recommend.

Confidence-Based Presentation

High confidence (0.9+):

"This is a strong match for you. [Item] aligns well with your preference for [specific trait]."

Good confidence (0.7-0.9):

"[Item] should work well. It has [positive trait], though it's [caveat] which might not be exactly what you're looking for."

Moderate confidence (0.5-0.7):

"This one's a bit of a stretch, but [Item] might surprise you. It's [trait], which you haven't explicitly mentioned, but based on [pattern] you might appreciate it."

Low confidence (<0.5):

Generally omit, or: "If you're feeling adventurous, [Item] is quite different from your usual preferences, but [reason for including]."

Explanation Structure

For each recommendation, explain:

  1. The match - Why this fits their stated preferences
  2. The connection - How it relates to items they've liked
  3. The caveat - Any potential misalignment (if applicable)

Handling Feedback

"Tell me more" → Use /v1/explain endpoint:

POST /v1/explain
{
  "vertical": "movies",
  "item": "Parasite",
  "context": { /* same context */ }
}

"Not quite right" → Ask clarifying questions:

"What about that recommendation missed the mark? Too [X]? Not enough [Y]?"

"Something completely different" → Adjust approach:

"Let me try a different angle. If we set aside [previous focus], what are you actually in the mood for?"

See: Presentation Patterns Reference


Integration with Elicitation

The elicitation skill builds psychological profiles. Use these for richer recommendations.

From Elicitation to Profile

Self-defining memories reveal:

  • Formative experiences that shape taste
  • Emotional patterns that resonate in content
  • Identity themes (agency, communion, redemption)

Values elicitation reveals:

  • Core priorities that should be reflected in recommendations
  • What makes something feel "right"

Schema detection reveals:

  • Patterns that might influence reception
  • Topics or themes to handle carefully

Profile Construction

After elicitation, construct a profile string:

"profile": "Core value: authenticity. Drawn to narratives about
self-reinvention (redemption themes in life story). Responds to
understated emotion over melodrama. Achievement-oriented but values
creative expression over status markers. Formative memory involves
finding belonging through shared creative work—look for collaborative
or community themes."

Example Integration

  1. Use elicitation skill to understand the person
  2. Summarize findings in profile text
  3. Call recommendation API with rich context
  4. Present recommendations that connect to their story

Error Handling

Rate Limits

The API returns 429 Too Many Requests when limits are exceeded.

TierRequests/minRequests/day
Free10100
Pro605,000
Enterprise300Unlimited

Handling:

  • Check Retry-After header for wait time
  • Queue requests if hitting limits
  • Consider caching frequent queries

Authentication Errors

401 Unauthorized - Invalid or missing API key.

Handling:

  • Verify API key is set correctly
  • Check key hasn't expired
  • Ensure key has appropriate permissions

Server Errors

500+ - Server-side issues.

Handling:

  • Implement exponential backoff
  • Have fallback behavior (graceful degradation)
  • Log for debugging

See: API Reference for complete error codes.


Anti-Patterns

What NOT to do:

The Empty Context Call

Calling the API without building context first.

Instead: Always gather preferences, constraints, and history before requesting recommendations.

The Raw Dump

Presenting API response directly without personalization.

Instead: Interpret confidence scores and craft explanations that connect to the person's stated preferences.

The Overconfident Low-Score

Presenting weak matches (confidence < 0.5) with the same confidence as strong ones.

Instead: Either omit low-confidence recommendations or clearly caveat them.

The Ignored Constraint

Missing or misremembering stated constraints (budget, dietary, etc.).

Instead: Capture constraints explicitly and verify before each API call.

The Context Amnesia

Not maintaining context across conversation turns.

Instead: Accumulate preferences, history, and constraints throughout the conversation.

The Explanation Vacuum

Recommending without explaining why.

Instead: Every recommendation should include a personalized explanation connecting to stated preferences.

The Feedback Ignore

Not using negative feedback to improve subsequent recommendations.

Instead: When something misses, ask what went wrong and adjust context accordingly.


References

Detailed guides:


Quick Reference

Minimum Viable Request

POST /v1/recommend
Headers: X-API-Key: your-key

{
  "vertical": "movies",
  "context": {
    "preferences": ["at least one preference"]
  },
  "count": 5
}

Full Request

POST /v1/recommend
{
  "vertical": "movies",
  "context": {
    "preferences": ["dark comedies", "complex characters"],
    "profile": "Values authenticity. Drawn to outsider narratives...",
    "constraints": {
      "max_length_minutes": 120,
      "release_year_min": 2010
    },
    "history": [
      {"item": "Parasite", "rating": 5, "id": "tt6751668"},
      {"item": "The Lobster", "rating": 4, "id": "tt3464902"}
    ]
  },
  "count": 5,
  "explain": true
}

Confidence Quick Guide

ScoreAction
≥0.9Lead recommendation, strong match
0.7-0.9Include confidently
0.5-0.7Include with caveats
<0.5Omit or heavily caveat

GitHub 저장소

tasteray/skills
경로: recommendations
0
elicitationrecommendationrecommendationssystem

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기