validate

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Run the repo validator with the freshness gate enabled:
bash
python3 evals/scripts/validate_skill_repo.py --repo-root . --require-fresh-results-sync
If validation fails, read the error output carefully and fix each reported issue:
  • Metadata sync errors: Update the
    agents/openai.yaml
    file to match the SKILL.md frontmatter for the affected skill.
  • Missing eval fixtures: Create
    evals/<skill-name>-skill-eval.json
    for any skill that lacks one.
  • Stale results: Re-run the relevant eval and update checked-in results.
After fixing, re-run validation to confirm all checks pass.
启用新鲜度检查门限运行仓库验证器:
bash
python3 evals/scripts/validate_skill_repo.py --repo-root . --require-fresh-results-sync
如果验证失败,请仔细阅读错误输出并修复每个报告的问题:
  • 元数据同步错误:更新
    agents/openai.yaml
    文件,使其与受影响Skill的SKILL.md前置内容匹配。
  • 缺失评估用例:为所有缺少评估用例的Skill创建
    evals/<skill-name>-skill-eval.json
    文件。
  • 结果过期:重新运行相关评估并更新已提交的结果。
修复完成后,重新运行验证以确认所有检查通过。