[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EQXNJ181GACQ7139KBVXEC":3,"skill-same:01M7EQXNJ181GACQ7139KBVXEC":48},{"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":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7EQXNJ181GACQ7139KBVXEC","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.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Frecsys-pipeline-architect-ECC\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Frecsys-pipeline-architect-ECC",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill recsys-pipeline-architect",{"tool":40,"command":41},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill recsys-pipeline-architect",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill recsys-pipeline-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Frecsys-pipeline-architect-ECC\u002FSKILL.md",true,[],[49,57,62,69,76,83],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":58,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":56},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":56},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":56},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":56},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":56},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]