SKILL·32FE25

ru-score

talkstream
更新于 14 days ago
190
21
190
在 GitHub 上查看
其他general

关于

The ru-score skill evaluates Russian text quality by scoring it from 0.0 to 10.0 across five specific dimensions. It automatically reads from a bundled reference corpus within the ru-text skill directory but cannot write or modify files. Developers should use it for automated quality assessment of Russian text outputs within Claude Code, as it runs in a forked context without model invocation.

快速安装

Claude Code

推荐
主要方式
npx skills add talkstream/ru-text -a claude-code
插件命令备选方式
/plugin add https://github.com/talkstream/ru-text
Git 克隆备选方式
git clone https://github.com/talkstream/ru-text.git ~/.claude/skills/ru-score

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Russian Text Quality Score

Score the text provided in $ARGUMENTS (or the most recent Russian text output if no arguments) using the ru-text scoring rubric.

Procedure

Where the reference files live

This skill reads the corpus that ships with the ru-text skill, which is installed alongside it. Locate that folder once, then read the named files from it:

  • Look for a directory named references whose parent directory is named ru-text, and which contains info-style.md. Every file named below sits in that folder.
  • In Claude Code the plugin root is also available directly, which saves the search.
  • Do not guess a path. If the folder cannot be found, say so and stop — a check run against remembered rules instead of the corpus is not this command, and reporting one as the other is the failure this whole product exists to prevent.
  1. Load rubric — read scoring.md for the full rubric with anchors.

  2. Determine domain — identify whether the text is UI/interface, business email, article, or general:

    • UI text → also load ux-writing.md for the Reader Precision dimension
    • Business email → also load business-writing.md for the Reader Precision dimension
    • General → use info-style.md only
  3. Evaluate each dimension separately — score in this order:

    • T — Типографика (weight 0.15): quotes, dashes, spaces, special characters per typography.md
    • Ч — Чистота языка (weight 0.25): stop-words, bureaucratic language, clichés, passive voice per info-style.md + anti-patterns.md
    • Г — Грамотность (weight 0.20): punctuation, agreement, tautology per editorial-grammar.md + editorial-punctuation.md
    • С — Структура (weight 0.20): logical flow, paragraphs, transitions, heading use per info-style.md structure section + addenda.md
    • Ц — Точность для читателя (weight 0.20): facts, evidence, reader benefit, actionability per domain rules
  4. For each dimension — assign a score (0.0–10.0) using the rubric anchors in scoring.md. List 1–3 specific issues, quoting the problematic text fragment.

  5. Apply non-compensatory rules:

    • Any dimension < 3.0 → cap total at 5.0
    • Typography < 4.0 → cap total at 7.0
    • Grammar < 4.0 → cap total at 7.0
    • Use the most restrictive cap when multiple conditions trigger
  6. Compute composite score:

    S = round₁(T × 0.15 + Ч × 0.25 + Г × 0.20 + С × 0.20 + Ц × 0.20)
    
  7. Short text warning — if text is under 50 words, prepend a reliability caveat.

Score labels

ScoreLabel
9.0–10.0Эталонный
7.0–8.9Хороший
5.0–6.9Средний
3.0–4.9Слабый
0.0–2.9Критический

Output format

Read-only — do NOT modify the source files. ru-score reports a score and issues; it must not write to, edit, or overwrite the analysed file(s).

In Claude Code this is hardened by disallowed-tools, which removes the listed tools while the command is active — verified on 2.1.220. The list removes the direct file-writers Write, Edit and NotebookEdit, plus the command-executing tools we identified and tested: Bash, PowerShell and Monitor. It names the paths we closed, not every path that exists. allowed-tools pre-approves tools; it does not restrict them.

Four limits, stated plainly. A connected MCP server can expose write tools that a per-tool denial list cannot know about. A named subagent whose own definition grants it tools: Write is governed by that definition, not by this list. A later Claude Code release can add a tool this file does not name. And on hosts without disallowed-tools support the rule is an instruction rather than a platform guarantee.

The contract itself is behavioural and does not depend on the list: this command returns a score and never writes.

The report shape is not written twice. Read section «Output format» of scoring.md — the mandated heading, the five Russian dimension labels, the per-cell limit of one to three issues with quoted fragments, the weighted formula, the cap note, and the closing «Что оценка не измеряет» section — and follow it exactly.

That file is the single source of it. A copy lived here until v2.0 and sat outside the no-loss gate, so the two could drift and only a reader comparing them would notice.

If a dimension has no issues, write «Замечаний нет» in the remarks column.

GitHub 仓库

talkstream/ru-text
路径: skills/ru-score
0
agent-skillsai-agentsai-text-detectionclaude-codeclaude-coworkcodex-cli
FAQ

常见问题

什么是 ru-score Skill?

ru-score 是一个 Claude Skill,作者为 talkstream。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 ru-score 相关的任务。

如何安装 ru-score?

使用本页的安装命令:将 ru-score 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。

ru-score 属于哪个分类?

ru-score 属于其他分类。

ru-score 可以免费使用吗?

可以。ru-score 已收录在 AIMCP,可免费安装。

相关推荐技能

llamaguard
其他

LlamaGuard是Meta推出的7-8B参数内容审核模型,专门用于过滤LLM的输入和输出内容。它能检测六大安全风险类别(暴力/仇恨、性内容、武器、违禁品、自残、犯罪计划),准确率达94-95%。开发者可通过HuggingFace、vLLM或Sagemaker快速部署,并能与NeMo Guardrails集成实现自动化安全防护。

查看技能
cost-optimization
其他

这个Claude Skill帮助开发者优化云成本,通过资源调整、标记策略和预留实例来降低AWS、Azure和GCP的开支。它适用于减少云支出、分析基础设施成本或实施成本治理策略的场景。关键功能包括提供成本可视化、资源规模调整指导和定价模型优化建议。

查看技能
sports-betting-analyzer
其他

该Skill为开发者提供体育博彩数据分析工具,可分析盘口、大小球和特殊投注,识别价值投注机会。它整合历史数据和情景统计,生成包含时间戳的结构化Markdown报告。适用于需要快速获取博彩市场洞察的娱乐或教育类应用开发。

查看技能
quantizing-models-bitsandbytes
其他

这个Skill使用bitsandbytes库量化大语言模型,能在GPU内存有限时通过8位或4位量化减少50-75%内存占用,同时保持精度损失最小。它支持INT8、NF4、FP4等多种量化格式,可与HuggingFace Transformers无缝集成,适用于需要部署更大模型或加速推理的场景。还提供QLoRA训练和8位优化器支持,让开发者能轻松实现高效模型压缩。

查看技能