Skip to content
affaan-m avatar

Recsys Pipeline Architect

Design composable ranking and feed pipelines using the six-stage Source-to-SideEffect framework for any top-K selection.

CCM score
63 of 100
skills.sh installs
8.2K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the six-stage flow: Source, Hydrator, Filter, Scorer, Selector, and SideEffect, with parallel and sequential ordering rules for each
  • Walks through eight steps from use-case clarification to a generated scaffold, with trade-offs surfaced for single versus multi-action scoring and online versus offline serving
  • Ships runnable scaffolds in TypeScript, Go, and Python, plus a 12-pattern filter cookbook and scorer cookbook covering weighted sums, MMR, and position debiasing
  • Designed for feeds, content management systems, RAG rerankers, notification triage, and search or ad ranking, not for model architecture or training

Install

$ npx -y skills add affaan-m/ecc --skill recsys-pipeline-architect -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

recsys-pipeline-architect

A spec-and-scaffold skill for building composable recommendation, ranking, and feed pipelines. It encodes the six-stage pattern — Source → Hydrator → Filter → Scorer → Selector → SideEffect — popularized by xAI's open-sourced For You algorithm (Apache 2.0). This skill is an independent reimplementation of the pattern (MIT) — no code copied from the original.

Upstream: https://github.com/mturac/recsys-pipeline-architect

When to Use

  • User wants to build any system that picks "the top K items for a user/context"
  • User asks "how should I rank X" or describes a feed/personalization problem
  • User has a scoring function and needs the pipeline plumbing around it
  • User wants to migrate from a single relevance score to multi-action prediction with tunable weights
  • User is wrapping an LLM/ML scorer and needs filters, hydrators, side-effects, and a runnable scaffold in their stack (TypeScript / Go / Python)
  • Triggers: "recommendation system", "feed algorithm", "ranking pipeline", "for you feed", "candidate pipeline", "content recommender", "pipeline architecture for recsys", "RAG retrieval reranker"

Details

Repository
github.com/affaan-m/ecc
Categories
Backend & APIs, Data Science & Analytics
First seen
Jul 14, 2026

More from affaan-m/ecc

All 257

Similar to Recsys Pipeline Architect

More Backend & APIs