account-research
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
\"Design multi-objective e-commerce product ranking combining relevance, conversion, and business metrics. Use this skill when the user needs to build a product ranking system beyond text relevance, balance relevance with commercial objectives, or implement learning-to-rank —
Claude Code
$ npx -y skills add charlieviettq/awesome-agent-skill --skill algo-ecom-ranking --agent claude-code
Codex
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-ecom-ranking -a codex -y
Cursor
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-ecom-ranking -a cursor -y
Gemini CLI
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-ecom-ranking -a gemini-cli -y
GitHub Copilot
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-ecom-ranking -a github-copilot -y
OpenCode
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-ecom-ranking -a opencode -y
Windsurf
$ npx skills add charlieviettq/awesome-agent-skill --skill algo-ecom-ranking -a windsurf -y
name: "\"algo-ecom-ranking\"" description: "\"Design multi-objective e-commerce product ranking combining relevance, conversion, and business metrics. Use this skill when the user needs to build a product ranking system beyond text relevance, balance relevance with commercial objectives, or implement learning-to-rank — even if they say 'product sorting', 'search result ranking', or 'how to rank products'.\"." allowed-tools: Read, Glob, Grep
E-commerce ranking combines text relevance (BM25) with commercial signals (CTR, conversion rate, revenue, margin) into a unified ranking score. Uses learning-to-rank (LTR) models trained on click and conversion data to optimize for business-relevant outcomes.
**Trigger conditions:**
**When NOT to use:**
IRON LAW: Relevance Is Necessary But NOT Sufficient for E-Commerce Ranking A result that is textually relevant but has zero sales history, no reviews, and is out of stock serves no one. E-commerce ranking must balance: relevance (does it match the query?), quality (is it a good product?), and commercial value (does it generate revenue?).
Collect features per product-query pair: text relevance score (BM25), historical CTR, conversion rate, average rating, review count, price competitiveness, inventory level, margin. **Gate:** Minimum features available, click data from 30+ days.
**Rule-based baseline:** Score = w₁×relevance + w₂×popularity + w₃×rating + w₄×recency. Manually tune weights.
**LTR approach:** 1. Generate training data from click logs (clicked = positive, skipped = negative, with position debiasing) 2. Features: text match, behavioral (CTR, add-to-cart rate), product quality (rating, reviews), freshness, price 3. Train: LambdaMART or gradient-boosted ranking model optimizing NDCG 4. Blend: final_score = α × LTR_score + (1-α) × business_boost
Evaluate offline: NDCG@10, MRR. A/B test online: revenue per search, click-through rate, conversion rate. **Gate:** NDCG improves over baseline, A/B test positive on primary metric.
Return ranked product list with score decomposition.
{
"results": [{"product_id": "P123", "rank": 1, "final_score": 0.92, "components": {"relevance": 0.85, "popularity": 0.95, "quality": 0.90}}],
"metadata": {"query": "wireless earbuds", "model": "lambdamart", "ndcg_at_10": 0.72}
}**Input:** Query "laptop", 500 matching products **Expected:** Top results balance text match + high conversion + good ratings, not just keyword relevance.
| Input | Expected | Why | |-------|----------|-----| | New product, no history | Rely on text relevance + category avg | Cold start — no behavioral signal | | Out of stock item | Demote or remove | Showing unavailable products frustrates users | | Sponsored product | Blend ad rank with organic | Separate sponsored from organic clearly |
Curated skill pack for LLM agents in engineer and science workflow (Cursor & Claude ready).
Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect…
Evaluate LLM agents and tool-using workflows—task success, tool accuracy, latency/cost, safety, and regression suites. Use when…
Design agent tools and CLI surfaces—schemas, naming, errors, idempotency, and discoverability for LLM callers. Use when defining…
\"Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the…
\"Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to…
\"Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.