用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/x-cmd/skill0 --skill score命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | score |
| description | 為 AI agent 設計的加權維度打分框架 —— "Don't guess. Score." 核心理念:先理解需求、先草稿再迭代,agent 是分析師。通過 `x score compute` 輸出排序後的 TSV。 |
| metadata | {"related":"rule,naming"} |
"Don't guess. Score." 為 AI agent 設計的加權維度打分框架。
先理解,再打分。 定義維度之前先問足夠多的問題。維度錯了 → 分數再準也沒用。 先草稿再迭代。 當需求不完全清晰時,做一個盡力而為的標準、打分、給出結果。用户對具體排名會反饋 —— "這個 factor 應該更高"、"你漏了 X"。那是信號。精化再重打分。一次迭代勝過十輪瞎猜。 agent 是分析師。 compute 之後,讀 TSV。解釋 X 為什麼贏 Y。突出驚喜。建議調整。排名開啓對話,不是結束對話。
① 理解需求 → ② 定義 score.yml → ③ 打分 score.tsv → ④ x score compute → ⑤ 報告 & 迭代
Output:target, total, rank, block, reason, <dim> (X%), evidence。Total 0–100,降序。rank=1 最佳。
slogan.score.yml。slogan.score.tsv。Total 與 rank 留空。x score compute slogan.score.yml slogan.score.tsv → 填 total + rank。x score iter -f slogan.score.yml slogan.score.tsv "<feedback>"
更多示例:EXAMPLE.md。*.score.yml — 可複用標準:維度、factor、描述**.score.tsv — 目標 + 分數 + 證據;第 1 列 = 目標名
x score compute <yml> <tsv> 與 python compute.py 等價。block 列)。同一模板,不同用户。total = Σ(factor × score) ÷ Σ(factor) × 10 → 0–100
factor ÷ Σ(factor) × 100。| Column | Source | Description |
|---|---|---|
target | input | 候選名 |
total | computed | 加權分數(0–100) |
rank | computed | 1 = 最佳。X 表示被 block |
block | input | 硬過濾 —— 非空 = 失格,壓到底部,rank=X |
reason | input/output | 可選:AI 關於分數細微處的備註 |
<dim> (X%) | computed | 每維度分數,表頭顯示權重 % |
evidence | input | 每個分數背後的事實 |
SKILL.cn.md — 中文版compute.py — 校驗 + 計算 total + ranktemplate/*.score.yml — 35+ 模板。x score ls 列出,x score init -t <name> 複製EXAMPLE.md — 更多用法示例rule-vs-score.md — 何時用 rule vs scorescore-template-writer.md — 如何寫打分模板