[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F0RXCWV2DQ4AX7W742RWF8":3,"skill-same:01M7F0RXCWV2DQ4AX7W742RWF8":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":14,"repositoryHtmlUrl":29,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7F0RXCWV2DQ4AX7W742RWF8","recsys-pipeline-architect",null,"Design composable recommendation, ranking, and feed pipelines using the six-stage Source→Hydrator→Filter→Scorer→Selector→SideEffect framework popularized by xAI's open-sourced For You algorithm. Use this skill whenever the user is building any system that picks \"the top K items for a (user, context)\" — social feeds, content CMSs, RAG rerankers, task prioritizers, notification triage, search reranking, ad ranking.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecc\u002Frecsys-pipeline-architect\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: recsys-pipeline-architect\ndescription: Design composable recommendation, ranking, and feed pipelines using the six-stage Source→Hydrator→Filter→Scorer→Selector→SideEffect framework popularized by xAI's open-sourced For You algorithm. Use this skill whenever the user is building any system that picks \"the top K items for a (user, context)\" — social feeds, content CMSs, RAG rerankers, task prioritizers, notification triage, search reranking, ad ranking.\nmetadata:\n  origin: community\n---\n\n# recsys-pipeline-architect\n\nA 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](https:\u002F\u002Fgithub.com\u002Fxai-org\u002Fx-algorithm) (Apache 2.0). This skill is an independent reimplementation of the pattern (MIT) — no code copied from the original.\n\nUpstream: \u003Chttps:\u002F\u002Fgithub.com\u002Fmturac\u002Frecsys-pipeline-architect>\n\n## When to Use\n\n- User wants to build any system that picks \"the top K items for a user\u002Fcontext\"\n- User asks \"how should I rank X\" or describes a feed\u002Fpersonalization problem\n- User has a scoring function and needs the pipeline plumbing around it\n- User wants to migrate from a single relevance score to multi-action prediction with tunable weights\n- User is wrapping an LLM\u002FML scorer and needs filters, hydrators, side-effects, and a runnable scaffold in their stack (TypeScript \u002F Go \u002F Python)\n- Triggers: \"recommendation system\", \"feed algorithm\", \"ranking pipeline\", \"for you feed\", \"candidate pipeline\", \"content recommender\", \"pipeline architecture for recsys\", \"RAG retrieval reranker\"\n\n## When NOT to Use\n\n- Model architecture work (transformer design, two-tower retrieval, embedding training) — this skill is plumbing *around* the model, not the model itself\n- Pure ML training pipelines — the scoring function is the user's responsibility\n- Operating a deployed pipeline (monitoring, autoscaling) — out of scope\n\n## The six-stage framework\n\n| # | Stage | Job | Parallel? |\n|---|---|---|---|\n| 1 | **Source** | Fetch candidates from one or more origins | Yes — multiple sources run in parallel |\n| 2 | **Hydrator** | Enrich each candidate with metadata needed for filtering and scoring | Yes — independent hydrators run in parallel |\n| 3 | **Filter** | Drop candidates that should never be shown (blocked, expired, duplicate, ineligible) | Sequential — each filter sees fewer items |\n| 4 | **Scorer** | Assign each surviving candidate one or more scores | Sequential — later scorers see earlier scores |\n| 5 | **Selector** | Sort by final score, return top K | Single op |\n| 6 | **SideEffect** | Cache served IDs, log impressions, emit events, update counters | Async — must never block the response |\n\n### Why this exact order\n\n- Sources before hydration: know what candidates exist before paying to enrich them\n- Hydration before filtering: many filters need metadata the source did not provide\n- Filtering before scoring: scoring is the expensive stage; drop the ineligible first\n- Scorer chain (not single scorer): real systems compose ML scoring + diversity reranking + business rules\n- Selector after scoring: keeps scoring deterministic and cacheable\n- SideEffects last and async: side effects must never block the user response\n\n## Workflow when invoked\n\nWalk the user through these eight steps:\n\n1. **Clarify the use case** (one round, three questions): items being ranked? input context? language\u002Fruntime?\n2. **Identify the candidate sources**: usually in-network (followed\u002Fowned\u002Fsubscribed) + out-of-network (ML retrieval \u002F trending \u002F similar-to-liked)\n3. **List required hydrations**: for each filter and scorer, what data does it need that the source did not provide?\n4. **List the filters**: duplicate, self, age, block\u002Fmute, previously-served, eligibility. Order matters — cheap before expensive.\n5. **Design the scorer chain**: primary (ML) → combiner (multi-action with weights) → diversity → business rules\n6. **Selector**: sort descending by final score, take top K (or stratified mix for in-network\u002Fout-of-network)\n7. **SideEffects**: cache served IDs, emit impression events, update counters, log analytics — all fire-and-forget\n8. **Generate the scaffold** in the user's stack\n\n## Key trade-offs to surface (don't default silently)\n\n### 1. Single score vs multi-action prediction\n\n- **Single score**: train one model to predict relevance. To change behavior → retrain.\n- **Multi-action**: predict `P(action)` for many actions (read, like, share, skip, report), combine with weights at serving time. To change behavior → change weights. No retraining.\n\nThe X For You system uses multi-action with both positive and negative weights. Recommend multi-action when the user expects to tune frequently.\n\n### 2. Candidate isolation in scoring\n\n- **Isolated**: each candidate scored independently. Deterministic, cacheable.\n- **Joint**: candidates attend to each other during scoring (e.g., transformer over batch). More expressive but non-deterministic across batches.\n\nDefault to isolation. Joint only when there's a specific reason (e.g., explicit batch-aware diversity).\n\n### 3. Online vs offline\n\n- **Request-time (online)**: pipeline runs on each request. Latency budget: 100–300ms. Default.\n- **Pre-computed (offline batch)**: pipeline runs periodically, results cached. Lower latency, lower freshness.\n- **Hybrid**: candidate retrieval offline, ranking online.\n\n## Hard rules\n\n1. **Do not invent benchmark numbers.** \"How much faster?\" → \"depends on workload, run it yourself.\"\n2. **Attribution discipline.** When the pattern is referenced, attribute as \"popularized by xAI's open-sourced For You algorithm\" \u002F `github.com\u002Fxai-org\u002Fx-algorithm` (Apache 2.0).\n3. **No trademark use.** Do not name the user's artifact \"X-like\" or use \"For You\" branding. Pattern is free; brand is not. Suggested naming: \"candidate pipeline\", \"feed pipeline\", \"ranking pipeline\", \"recsys pipeline\".\n4. **Surface trade-offs.** Multi-action vs single, isolation vs joint, online vs offline — never default silently.\n5. **The generated scaffold must run.** No pseudocode passing as code.\n6. **Filter order matters.** Cheap before expensive. Universal before user-specific.\n7. **Side effects never block.** Wrap in fire-and-forget patterns (goroutines \u002F promises without await \u002F asyncio tasks).\n\n## Anti-Patterns\n\n- Scoring before filtering (wastes compute on candidates that will be dropped anyway)\n- Synchronous side effects (cache writes \u002F impression emits blocking the response)\n- A single \"relevance\" score when the product needs to tune for multiple objectives (engagement vs safety vs diversity vs ads)\n- Joint scoring as default (non-deterministic, harder to cache, doesn't compose with reranking stages)\n- Generating pseudocode \"for illustration\" — the scaffold must actually run\n\n## Upstream contents\n\nThe upstream repository at \u003Chttps:\u002F\u002Fgithub.com\u002Fmturac\u002Frecsys-pipeline-architect> ships:\n\n- Full `SKILL.md` with the complete 8-step workflow\n- 5 load-on-demand reference docs: interfaces in 4 languages (TS\u002FGo\u002FPython\u002FRust), multi-action scoring pattern, candidate isolation, filter cookbook (12 patterns), scorer cookbook (weighted sum, MMR, diversity penalty, position debiasing)\n- 3 runnable example scaffolds, every one green on its test suite:\n  - Strapi v5 plugin (TypeScript \u002F Jest — 3\u002F3 pass)\n  - Zentra-compatible pipeline (Go with generics — 3\u002F3 pass)\n  - PMAI task prioritizer (Python \u002F FastAPI \u002F pytest — 3\u002F3 pass)\n- v0.1.0 release tagged\n- MIT license; pattern attributed to xAI X For You algorithm (Apache 2.0)\n\nInstall via skills.sh: `npx skills add mturac\u002Frecsys-pipeline-architect`\n","# recsys-pipeline-architect\n\nA 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](https:\u002F\u002Fgithub.com\u002Fxai-org\u002Fx-algorithm) (Apache 2.0). This skill is an independent reimplementation of the pattern (MIT) — no code copied from the original.\n\nUpstream: \u003Chttps:\u002F\u002Fgithub.com\u002Fmturac\u002Frecsys-pipeline-architect>\n\n## When to Use\n\n- User wants to build any system that picks \"the top K items for a user\u002Fcontext\"\n- User asks \"how should I rank X\" or describes a feed\u002Fpersonalization problem\n- User has a scoring function and needs the pipeline plumbing around it\n- User wants to migrate from a single relevance score to multi-action prediction with tunable weights\n- User is wrapping an LLM\u002FML scorer and needs filters, hydrators, side-effects, and a runnable scaffold in their stack (TypeScript \u002F Go \u002F Python)\n- Triggers: \"recommendation system\", \"feed algorithm\", \"ranking pipeline\", \"for you feed\", \"candidate pipeline\", \"content recommender\", \"pipeline architecture for recsys\", \"RAG retrieval reranker\"\n\n## When NOT to Use\n\n- Model architecture work (transformer design, two-tower retrieval, embedding training) — this skill is plumbing *around* the model, not the model itself\n- Pure ML training pipelines — the scoring function is the user's responsibility\n- Operating a deployed pipeline (monitoring, autoscaling) — out of scope\n\n## The six-stage framework\n\n| # | Stage | Job | Parallel? |\n|---|---|---|---|\n| 1 | **Source** | Fetch candidates from one or more origins | Yes — multiple sources run in parallel |\n| 2 | **Hydrator** | Enrich each candidate with metadata needed for filtering and scoring | Yes — independent hydrators run in parallel |\n| 3 | **Filter** | Drop candidates that should never be shown (blocked, expired, duplicate, ineligible) | Sequential — each filter sees fewer items |\n| 4 | **Scorer** | Assign each surviving candidate one or more scores | Sequential — later scorers see earlier scores |\n| 5 | **Selector** | Sort by final score, return top K | Single op |\n| 6 | **SideEffect** | Cache served IDs, log impressions, emit events, update counters | Async — must never block the response |\n\n### Why this exact order\n\n- Sources before hydration: know what candidates exist before paying to enrich them\n- Hydration before filtering: many filters need metadata the source did not provide\n- Filtering before scoring: scoring is the expensive stage; drop the ineligible first\n- Scorer chain (not single scorer): real systems compose ML scoring + diversity reranking + business rules\n- Selector after scoring: keeps scoring deterministic and cacheable\n- SideEffects last and async: side effects must never block the user response\n\n## Workflow when invoked\n\nWalk the user through these eight steps:\n\n1. **Clarify the use case** (one round, three questions): items being ranked? input context? language\u002Fruntime?\n2. **Identify the candidate sources**: usually in-network (followed\u002Fowned\u002Fsubscribed) + out-of-network (ML retrieval \u002F trending \u002F similar-to-liked)\n3. **List required hydrations**: for each filter and scorer, what data does it need that the source did not provide?\n4. **List the filters**: duplicate, self, age, block\u002Fmute, previously-served, eligibility. Order matters — cheap before expensive.\n5. **Design the scorer chain**: primary (ML) → combiner (multi-action with weights) → diversity → business rules\n6. **Selector**: sort descending by final score, take top K (or stratified mix for in-network\u002Fout-of-network)\n7. **SideEffects**: cache served IDs, emit impression events, update counters, log analytics — all fire-and-forget\n8. **Generate the scaffold** in the user's stack\n\n## Key trade-offs to surface (don't default silently)\n\n### 1. Single score vs multi-action prediction\n\n- **Single score**: train one model to predict relevance. To change behavior → retrain.\n- **Multi-action**: predict `P(action)` for many actions (read, like, share, skip, report), combine with weights at serving time. To change behavior → change weights. No retraining.\n\nThe X For You system uses multi-action with both positive and negative weights. Recommend multi-action when the user expects to tune frequently.\n\n### 2. Candidate isolation in scoring\n\n- **Isolated**: each candidate scored independently. Deterministic, cacheable.\n- **Joint**: candidates attend to each other during scoring (e.g., transformer over batch). More expressive but non-deterministic across batches.\n\nDefault to isolation. Joint only when there's a specific reason (e.g., explicit batch-aware diversity).\n\n### 3. Online vs offline\n\n- **Request-time (online)**: pipeline runs on each request. Latency budget: 100–300ms. Default.\n- **Pre-computed (offline batch)**: pipeline runs periodically, results cached. Lower latency, lower freshness.\n- **Hybrid**: candidate retrieval offline, ranking online.\n\n## Hard rules\n\n1. **Do not invent benchmark numbers.** \"How much faster?\" → \"depends on workload, run it yourself.\"\n2. **Attribution discipline.** When the pattern is referenced, attribute as \"popularized by xAI's open-sourced For You algorithm\" \u002F `github.com\u002Fxai-org\u002Fx-algorithm` (Apache 2.0).\n3. **No trademark use.** Do not name the user's artifact \"X-like\" or use \"For You\" branding. Pattern is free; brand is not. Suggested naming: \"candidate pipeline\", \"feed pipeline\", \"ranking pipeline\", \"recsys pipeline\".\n4. **Surface trade-offs.** Multi-action vs single, isolation vs joint, online vs offline — never default silently.\n5. **The generated scaffold must run.** No pseudocode passing as code.\n6. **Filter order matters.** Cheap before expensive. Universal before user-specific.\n7. **Side effects never block.** Wrap in fire-and-forget patterns (goroutines \u002F promises without await \u002F asyncio tasks).\n\n## Anti-Patterns\n\n- Scoring before filtering (wastes compute on candidates that will be dropped anyway)\n- Synchronous side effects (cache writes \u002F impression emits blocking the response)\n- A single \"relevance\" score when the product needs to tune for multiple objectives (engagement vs safety vs diversity vs ads)\n- Joint scoring as default (non-deterministic, harder to cache, doesn't compose with reranking stages)\n- Generating pseudocode \"for illustration\" — the scaffold must actually run\n\n## Upstream contents\n\nThe upstream repository at \u003Chttps:\u002F\u002Fgithub.com\u002Fmturac\u002Frecsys-pipeline-architect> ships:\n\n- Full `SKILL.md` with the complete 8-step workflow\n- 5 load-on-demand reference docs: interfaces in 4 languages (TS\u002FGo\u002FPython\u002FRust), multi-action scoring pattern, candidate isolation, filter cookbook (12 patterns), scorer cookbook (weighted sum, MMR, diversity penalty, position debiasing)\n- 3 runnable example scaffolds, every one green on its test suite:\n  - Strapi v5 plugin (TypeScript \u002F Jest — 3\u002F3 pass)\n  - Zentra-compatible pipeline (Go with generics — 3\u002F3 pass)\n  - PMAI task prioritizer (Python \u002F FastAPI \u002F pytest — 3\u002F3 pass)\n- v0.1.0 release tagged\n- MIT license; pattern attributed to xAI X For You algorithm (Apache 2.0)\n\nInstall via skills.sh: `npx skills add mturac\u002Frecsys-pipeline-architect`\n",{"name":5,"metadata":24,"description":7},{"origin":25},"community","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fecc\u002Frecsys-pipeline-architect","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill recsys-pipeline-architect",{"tool":38,"command":39},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill recsys-pipeline-architect",{"tool":41,"command":42},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill recsys-pipeline-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fecc\u002Frecsys-pipeline-architect\u002FSKILL.md",true,[],[47,54,61,68,75,82],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]