validate
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRun the repo validator with the freshness gate enabled:
bash
python3 evals/scripts/validate_skill_repo.py --repo-root . --require-fresh-results-syncIf validation fails, read the error output carefully and fix each reported issue:
- Metadata sync errors: Update the file to match the SKILL.md frontmatter for the affected skill.
agents/openai.yaml - Missing eval fixtures: Create for any skill that lacks one.
evals/<skill-name>-skill-eval.json - 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如果验证失败,请仔细阅读错误输出并修复每个报告的问题:
- 元数据同步错误:更新文件,使其与受影响Skill的SKILL.md前置内容匹配。
agents/openai.yaml - 缺失评估用例:为所有缺少评估用例的Skill创建文件。
evals/<skill-name>-skill-eval.json - 结果过期:重新运行相关评估并更新已提交的结果。
修复完成后,重新运行验证以确认所有检查通过。