Agent Skills › didi/helixharness › d2c-fidelity-evaluator

d2c-fidelity-evaluator

GitHub

评估设计稿到代码生成的保真度,通过对比设计与实现输出,计算还原百分比并生成优化报告。

helixharness/hosts/codex/skills/d2c-fidelity-evaluator/SKILL.md didi/helixharness

Trigger Scenarios

用户要求评估 D2C 生成页面的质量 用户提供设计截图、DSL 或源码进行对比分析

Install

npx skills add didi/helixharness --skill d2c-fidelity-evaluator -g -y
More Options

Non-standard path

npx skills add https://github.com/didi/helixharness/tree/main/helixharness/hosts/codex/skills/d2c-fidelity-evaluator -g -y

Use without installing

npx skills use didi/helixharness@d2c-fidelity-evaluator

指定 Agent (Claude Code)

npx skills add didi/helixharness --skill d2c-fidelity-evaluator -a claude-code -g -y

安装 repo 全部 skill

npx skills add didi/helixharness --all -g -y

预览 repo 内 skill

npx skills add didi/helixharness --list

SKILL.md

Frontmatter
{
    "name": "d2c-fidelity-evaluator",
    "description": "Evaluate design-to-code fidelity for a generated page by comparing design inputs and implementation outputs. Use when the user provides or references a design screenshot, design DSL, source code, rendered page screenshot, and optionally a transparent design-over-render overlay image, and wants a restoration\/fidelity percentage plus an actionable report that can drive the next D2C optimization pass."
}

Codex method projection: d2c-fidelity-evaluator

插件根固定为当前文件的 ../../../..。先完整读取 hosts/codex/host.json、reference/host-runtime-protocol.md、reference/tool-semantics.md 和 manifest 绑定的 resources.runtime。canonical 正文首次需要 Agent/Task 时,再完整读取 reference/subagent-runtime-protocol.md 与 resources.subagent_protocol,按 Codex 适配器注入 leaf/afk 边界。然后完整读取并执行唯一 canonical 方法 Skill skills/d2c-fidelity-evaluator/SKILL.md;不得复制、改写或补充其业务语义,也不得扫描 plugin cache。canonical frontmatter 不是 Codex 运行时元数据;Codex 只消费其正文,宿主能力按 Host Context 映射。

Version History

  • 1.0.0 Current 2026-11-02 08:46

Same Skill Collection

helixharness/hosts/codex/skills/code-review/SKILL.md
helixharness/hosts/codex/skills/d-d2c/SKILL.md
helixharness/hosts/codex/skills/feedback/SKILL.md
helixharness/hosts/codex/skills/git-diff-impact/SKILL.md
helixharness/hosts/codex/skills/init/SKILL.md
helixharness/hosts/codex/skills/systematic-debugging/SKILL.md
helixharness/hosts/codex/skills/tdd/SKILL.md
helixharness/hosts/codex/skills/update/SKILL.md
helixharness/hosts/codex/skills/ut/SKILL.md
helixharness/skills/code-review/SKILL.md
helixharness/skills/d-d2c/SKILL.md
helixharness/skills/d2c-fidelity-evaluator/SKILL.md
helixharness/skills/feedback/SKILL.md
helixharness/skills/git-diff-impact/SKILL.md
helixharness/skills/systematic-debugging/SKILL.md
helixharness/skills/tdd/SKILL.md
helixharness/hosts/codex/skills/apply/SKILL.md
helixharness/hosts/codex/skills/archive/SKILL.md
helixharness/hosts/codex/skills/brainstorming/SKILL.md
helixharness/hosts/codex/skills/bug-fix/SKILL.md
helixharness/hosts/codex/skills/config/SKILL.md
helixharness/hosts/codex/skills/propose/SKILL.md
helixharness/hosts/codex/skills/status/SKILL.md
helixharness/skills/brainstorming/SKILL.md
helixharness/SKILL.md

Metadata

Files
0
Version
1.0.0
Hash
8a3c727f
Indexed
2026-11-02 08:46

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-11-02 17:56
浙ICP备14020137号-1