Skip to content

charlieviettq/awesome-agent-skill / .claude/skills/algo-rank-wilson

"algo-rank-wilson"

Verified

"Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction. Use this skill when the user needs to rank products by ratings, sort content by approval rate, or build a 'best rated' list that accounts for sample size — even if they say 'rank by star rating', 'best rated with few reviews', or 'confidence-adjusted rating'.".

FileKindSize
SKILL.mdskill md4.2 KB
examples/sample_input.jsonconfig1.3 KB
references/bayesian-average.mdmarkdown8.0 KB
references/reddit-ranking.mdmarkdown7.1 KB
scripts/wilson_score.pyscript5.1 KB

examples/sample_input.json

View on GitHub
{
  "_comment": "電商商品評分排名測試:涵蓋高評論量高評分、高評論量中評分、低評論量完美比例(cold-start penalization 驗證)、零好評、超高評論量等邊界情境,確認 Wilson lower bound 正確懲罰樣本數不足的項目",
  "confidence": 0.95,
  "items": [
    {"item": "Sony WH-1000XM5 降噪耳機",     "positive": 4821, "total": 5102},
    {"item": "Apple AirPods Pro 2",           "positive": 9234, "total": 9987},
    {"item": "ASUS ROG Flow Z13 筆電",        "positive": 1183, "total": 1350},
    {"item": "Logitech MX Master 3S 滑鼠",    "positive": 3302, "total": 3571},
    {"item": "Samsung 990 Pro 2TB SSD",       "positive": 2105, "total": 2400},
    {"item": "新品上架藍牙喇叭(測試款)",      "positive": 3,    "total": 3},
    {"item": "剛到貨的機械鍵盤",               "positive": 2,    "total": 2},
    {"item": "Anker 充電器 A2342",            "positive": 587,  "total": 720},
    {"item": "某品牌劣評耳機",                "positive": 0,    "total": 48},
    {"item": "Keychron K2 Pro 鍵盤",          "positive": 6741, "total": 7200},
    {"item": "Razer DeathAdder V3 Pro",       "positive": 888,  "total": 960},
    {"item": "Belkin MagSafe 充電盤",         "positive": 412,  "total": 500}
  ]
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall