Agent Skills
› didi/helixharness
› d2c-fidelity-evaluator
d2c-fidelity-evaluator
GitHub评估设计稿到代码生成的保真度,通过对比设计与实现输出,计算还原百分比并生成优化报告。
Trigger Scenarios
用户要求评估 D2C 生成页面的质量
用户提供设计截图、DSL 或源码进行对比分析
Install
npx skills add didi/helixharness --skill d2c-fidelity-evaluator -g -y
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


