scoring-engine — for Claude Code scoring-engine, geo-workflow, community, for Claude Code, ide skills, questions.json, responses.json, official_urls, official_domains, GEO_COMMUNITY

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need responses.json in the run directory (output from platform-chat skill). 本地化技能摘要: # Scoring Engine Evaluate AI platform responses against official content availability. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

responses.json in the run directory (output from platform-chat skill)
Step 1: Load and Validate Inputs
Read responses.json from the run directory.
Read questions.json from assessments/{community}/. Build a lookup map {id → {official urls, notes}}.
The script checks:

# 核心主题

opensourceways opensourceways
[1]
[0]
更新于: 4/21/2026

技能概览

先看适用场景、限制条件和安装路径,再决定是否继续深入。

适用场景: Ideal for AI agents that need responses.json in the run directory (output from platform-chat skill). 本地化技能摘要: # Scoring Engine Evaluate AI platform responses against official content availability. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: scoring-engine helps agents responses.json in the run directory (output from platform-chat skill). Scoring Engine Evaluate AI platform responses against official content availability. This AI agent skill supports

适用 Agent 类型

适用场景: Ideal for AI agents that need responses.json in the run directory (output from platform-chat skill).

赋予的主要能力 · scoring-engine

适用任务: Applying responses.json in the run directory (output from platform-chat skill)
适用任务: Applying Step 1: Load and Validate Inputs
适用任务: Applying Read responses.json from the run directory

! 使用限制与门槛

  • 限制说明: No domain-level matching : checking only the domain (e.g
  • 限制说明: Requires repository-specific context from the skill documentation
  • 限制说明: Works best when the underlying tools and dependencies are already configured

关于来源内容

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

scoring-engine 是什么?

适用场景: Ideal for AI agents that need responses.json in the run directory (output from platform-chat skill). 本地化技能摘要: # Scoring Engine Evaluate AI platform responses against official content availability. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 scoring-engine?

运行命令:npx killer-skills add opensourceways/geo-workflow/scoring-engine。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

scoring-engine 适用于哪些场景?

典型场景包括:适用任务: Applying responses.json in the run directory (output from platform-chat skill)、适用任务: Applying Step 1: Load and Validate Inputs、适用任务: Applying Read responses.json from the run directory。

scoring-engine 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

scoring-engine 有哪些限制?

限制说明: No domain-level matching : checking only the domain (e.g;限制说明: Requires repository-specific context from the skill documentation;限制说明: Works best when the underlying tools and dependencies are already configured。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add opensourceways/geo-workflow/scoring-engine。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    scoring-engine 已启用,可立即在当前项目中调用。

! 来源说明

此页面仍可作为安装与查阅参考。继续使用前,请结合上方适用场景、限制条件和上游仓库说明一起判断。

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

scoring-engine

# Scoring Engine Evaluate AI platform responses against official content availability. This AI agent skill supports Claude Code, Cursor, and Windsurf

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Scoring Engine

Evaluate AI platform responses against official content availability. Pure URL string matching — checks whether each platform's response cites any official URL listed in questions.json. Final status is determined per question by aggregating across platforms using a 75% citation threshold.

Prerequisites

  • responses.json in the run directory (output from platform-chat skill)
  • questions.json in assessments/{community}/ (output from get-question skill, with official_urls and official_domains fields populated by human)

Procedures

Step 1: Load and Validate Inputs

  1. Read responses.json from the run directory.
  2. Resolve community: read from responses.json metadata field communityGEO_COMMUNITY from .env → infer from file path. Build questions_json_path = assessments/{community}/questions.json.
  3. Read questions.json from assessments/{community}/. Build a lookup map {id → {official_urls, notes}}.
  4. Run python3 scripts/validate-inputs.py responses.json {questions_json_path} to verify both files exist and are structurally valid.
  5. The script checks:
    • responses.json contains a responses array with question_id, platform, response_text fields.
    • questions.json contains a questions array with id, official_urls fields.
    • Every question_id in responses has a matching entry in questions.json.
  6. If validation fails, abort with the specific error from stderr.
  7. If a question in responses.json has no matching entry in questions.json:
    • Log a warning: "question {question_id} has no entry in questions.json, skipping".
    • Exclude from scoring.
  8. Print input summary to stdout:
    Inputs loaded:
      Questions: {n}
      Platforms: {platforms list}
      Response pairs: {n}
      Questions with official URLs: {n}
      Questions without official URLs: {n}
    

Step 2: Per-Platform URL Matching

For each (question, platform) pair, run a binary URL match check:

  1. Look up the question's official_urls from questions.json.

  2. If official_urls is empty ([]): mark the pair as no_official_content. Skip URL matching.

  3. If official_urls is non-empty, check both the platform's response_text and citations fields:

    Normalization: strip trailing slashes, treat http:// and https:// as equivalent, strip www. prefix.

    Check 1 — response_text substring match: For each URL in official_urls, check if its normalized form appears anywhere in response_text (case-insensitive substring search).

    • Example: "https://www.mindspore.cn/install" → normalized to mindspore.cn/install → search in response text.
    • No domain-level matching: checking only the domain (e.g. mindspore.cn) produces false positives when all official URLs share a single domain.

    Check 2 — citations field exact match: The citations field is a list of URLs extracted from the platform's web UI (e.g. by platform-chat). For each URL in official_urls, check if any entry in citations normalizes to an equal or longer prefix match.

    • Normalize both sides before comparing.
    • A citation URL matches if normalize(citation_url) == normalize(official_url) or normalize(citation_url).startswith(normalize(official_url)).
    • Example: official URL forum.openeuler.org/t/topic/6872 → citation https://forum.openeuler.org/t/topic/6872 ✅ matches. Citation https://forum.openeuler.org/ ❌ does not match (root domain only, too short).
    • No domain-only citations: a citation that is just a root domain (no path beyond /) must NOT match a specific-path official URL, for the same false-positive reason as domain-level matching.

    Result: If any match found via either check, mark pair as cited. Record matched_urls and match_source (response_text or citations). If no match, mark as not_cited.

  4. Build a per-platform record for each pair:

    json
    1{ 2 "platform": "qwen", 3 "cited": true, 4 "match_source": "citations", 5 "matched_urls": ["https://forum.openeuler.org/t/topic/6872"] 6}

Step 3: Question-Level Aggregation and Status Assignment

For each question, aggregate the per-platform results from Step 2 to determine the final question-level status:

  1. If official_urls is empty: The question has no official content regardless of platform responses.

    • Status: no_official_content
    • Description: 官方内容缺失
    • Severity: P1
  2. If official_urls is non-empty: Compute the citation rate across platforms.

    • cited_count = number of platforms where cited = true

    • total_platforms = total number of platforms with a response for this question

    • citation_rate = cited_count / total_platforms

    • If citation_rate >= 0.75 (75% or more platforms cited official URLs):

      • Status: satisfied
      • Description: 引用了官方内容
      • Severity: OK
    • If citation_rate < 0.75:

      • Status: not_cited
      • Description: 有内容未被引用
      • Severity: P0
  3. Build the question-level result object:

    json
    1{ 2 "question_id": "q_001", 3 "question": "MindSpore 支持哪些安装方式?", 4 "official_urls": ["https://www.mindspore.cn/install"], 5 "status": "satisfied", 6 "description": "引用了官方内容", 7 "severity": "OK", 8 "citation_rate": 1.0, 9 "cited_count": 4, 10 "total_platforms": 4, 11 "platforms": [ 12 {"platform": "qwen", "cited": true, "match_type": "exact_url", "match_source": "citations", "matched_urls": ["https://www.mindspore.cn/install"]}, 13 {"platform": "chatgpt", "cited": false, "match_type": null, "match_source": null, "matched_urls": []}, 14 {"platform": "deepseek", "cited": true, "match_type": "exact_url", "match_source": "response_text", "matched_urls": ["https://www.mindspore.cn/install"]}, 15 {"platform": "doubao", "cited": true, "match_type": "exact_url", "match_source": "citations", "matched_urls": ["https://www.mindspore.cn/install"]} 16 ] 17}
  4. Print a Step 3 summary:

    Question-Level Scoring (threshold: 75%):
      Total questions: {n}
      引用了官方内容 (OK):  {n}  — citation_rate ≥ 75%
      有内容未被引用 (P0):  {n}  — citation_rate < 75%
      官方内容缺失 (P1):    {n}  — no official URLs
    

Step 4: Match Suggestions from GEO Catalog

  1. Read references/geo-suggestions-catalog.md — the 72-item GEO optimization suggestion catalog.
  2. Read references/suggestion-rules.md for matching rules.
  3. For each question with not_cited or no_official_content status: a. Use the status to look up candidate suggestions:
    • not_cited → SEO/discoverability suggestions (e.g., structured data, schema markup, content optimization)
    • no_official_content → Content creation suggestions (e.g., create FAQ, add documentation) b. Use citation_rate to refine priority:
    • citation_rate = 0 (no platform cited) → highest priority, content-origin issue
    • citation_rate > 0 (some platforms cited) → platform-specific issue c. Select the top 5 most relevant suggestions per question.
  4. For each matched suggestion, generate:
    json
    1{ 2 "suggestion_id": "s_001", 3 "question_ids": ["q_001"], 4 "status": "not_cited", 5 "description": "有内容未被引用", 6 "severity": "P0", 7 "citation_rate": 0.25, 8 "cited_platforms": ["qwen"], 9 "not_cited_platforms": ["chatgpt", "deepseek", "doubao"], 10 "catalog_refs": ["CTX-02", "ORG-05"], 11 "suggestion_text": "..." 12}

Step 5: Compile Output

  1. Run python3 scripts/compile-report.py with scoring results piped as JSON to stdin. The script:

    • Deduplicates suggestions with >80% text similarity
    • Sorts by severity (P0 → P1 → OK)
    • Assigns unique suggestion IDs
    • Outputs compiled JSON to stdout
  2. Write scoring-results.json to the working directory:

    json
    1{ 2 "metadata": { 3 "scored_at": "2026-03-30T...", 4 "total_questions": 47, 5 "total_platforms": 4, 6 "citation_threshold": 0.75, 7 "match_mode": "exact_url" 8 }, 9 "results": [ 10 { 11 "question_id": "q_001", 12 "question": "MindSpore 支持哪些安装方式?", 13 "official_urls": ["https://www.mindspore.cn/install"], 14 "status": "satisfied", 15 "description": "引用了官方内容", 16 "severity": "OK", 17 "citation_rate": 1.0, 18 "cited_count": 4, 19 "total_platforms": 4, 20 "platforms": [ 21 {"platform": "qwen", "cited": true, "match_type": "exact_url", "matched_urls": ["https://www.mindspore.cn/install"]}, 22 {"platform": "chatgpt", "cited": false, "match_type": null, "matched_urls": []}, 23 {"platform": "deepseek", "cited": true, "match_type": "domain", "matched_urls": []}, 24 {"platform": "doubao", "cited": true, "match_type": "exact_url", "matched_urls": ["https://www.mindspore.cn/install"]} 25 ] 26 } 27 ], 28 "summary": { 29 "by_status": { 30 "satisfied": 23, 31 "not_cited": 20, 32 "no_official_content": 4 33 }, 34 "by_severity": { 35 "P0": 20, 36 "P1": 4, 37 "OK": 23 38 }, 39 "citation_rate_distribution": { 40 "1.0": 10, 41 "0.75": 8, 42 "0.5": 5, 43 "0.25": 4, 44 "0.0": 3 45 } 46 }, 47 "suggestions": [...] 48}
  3. Print a final summary to stdout:

    Scoring complete:
      Questions scored: {scored}/{total}
      引用了官方内容 (OK):  {n} ({pct}%)  — citation_rate ≥ 75%
      有内容未被引用 (P0):  {n} ({pct}%)  — citation_rate < 75%
      官方内容缺失 (P1):    {n} ({pct}%)
    
      Output: scoring-results.json
    

Step 6: Sync official_urls into questions.md

After scoring is complete, regenerate assessments/{community}/questions.md so each question row displays its official_urls from questions.json.

  1. Read assessments/{community}/questions.json to get {id → official_urls} mapping.
  2. Read assessments/{community}/questions.md.
  3. For every Markdown table in questions.md where columns are | # | 问题 | 来源 |:
    • Replace the header row with | # | 问题 | 来源 | 官方链接 | and update the separator row accordingly.
    • For each data row (not | — | — | — |), append an official_urls cell:
      • If the question has one or more URLs: render as comma-separated Markdown links, e.g. [link1](url1), [link2](url2).
      • If official_urls is empty: cell value is .
    • Leave | — | — | — | placeholder rows as | — | — | — | — |.
  4. If the header already has 4 columns (previously synced), update the 官方链接 cell in place without adding a duplicate column.
  5. Write the updated content back to assessments/{community}/questions.md.
  6. Print: questions.md updated — {n_with_urls} questions now have official URL links.

Error Handling

  • If responses.json is missing, abort with: "responses.json not found. Run platform-chat skill first."
  • If questions.json is missing, abort with: "questions.json not found. Run get-question skill first."
  • If questions.json has an empty questions array, abort with: "questions.json has no questions."
  • If all questions have empty official_urls, warn: "No official_urls found in questions.json. Populate them before scoring for meaningful results."
  • If a question in responses.json has no matching entry in questions.json, log a warning and skip (do not abort).
  • If responses.json contains zero valid pairs after filtering, abort with: "No valid question-platform pairs to score."
  • If a question has only 1 platform response, the 75% threshold still applies (1/1 = 100% ≥ 75% → satisfied; 0/1 = 0% < 75% → not_cited).

相关技能

寻找 scoring-engine 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

本地化技能摘要: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
AI

widget-generator

Logo of f
f

本地化技能摘要: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf

149.6k
0
AI

flags

Logo of vercel
vercel

本地化技能摘要: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

本地化技能摘要: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
开发者工具