uniform-enrichment-recommendations
Installation
SKILL.md
Uniform Enrichment-Boosted Recommendations
Add a feature that re-ranks a Uniform Content API query by the current visitor's enrichment scores (their interest profile from Uniform Context), so each visitor sees the same content pool ordered by what is most relevant to them. Works for any content type (products, articles, promotions, events, ...).
How it works (read first)
- Uniform Context accumulates visitor enrichment scores in the
ufvdcookie, keyed<categoryId>_<value>→ number (e.g.int_internet: 50). - On the server, those scores are converted into a Content API boost clause
passed to
orderBy:boost|fields.<field>:<value>:<weight>. EntryDeliveryClient.list({ orderBy: [clause] })re-ranks the result set.- No scores → no clause → graceful fallback to default ordering.