Loading...
Loading...
Compare original and translation side by side
compatibilitycompatibilitySKILL.mdreferences/agents/openai.yamlSKILL.mdreferences/agents/openai.yaml| Owner | Answers | Failure mode |
|---|---|---|
| Marketplace and plugin manifests; canonical | Hard, fails CI |
| Codex catalog membership, | Hard, fails CI |
| Body size and token estimate, largest inline block, unreachable bundled files, nested reference chains, untagged fences, heading skips, host-mechanism hits, | Advisory measurements |
| This skill | The five judgment questions above | Scored 1–5 |
scripts/skill-metrics.mjsjqedloidas/skills| 负责方 | 解决的问题 | 失败模式 |
|---|---|---|
| 市场和插件清单;标准 | 硬性失败,导致CI失败 |
| Codex目录成员资格、 | 硬性失败,导致CI失败 |
| 主体内容大小和token估算、最大内联块、无法访问的打包文件、嵌套引用链、未标记的代码块、标题跳跃、主机机制命中、 | 参考性测量指标 |
| 本Skill | 上述五个判定类问题 | 1-5分评分 |
scripts/skill-metrics.mjsjqedloidas/skills| Invocation | Scope |
|---|---|
| Skills changed on this branch; falls back to all when nothing changed |
| Skills changed on this branch only |
| Every skill, excluding |
| Named skills, including |
| 调用方式 | 范围 |
|---|---|
| 本分支中变更的Skills;若无变更则默认审核全部 |
| 仅审核本分支中变更的Skills |
| 审核所有Skill,不包括 |
| 指定名称的Skills,若指定则包括 |
changedBASE=${BASE:-$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/HEAD)}
{ git diff --name-only "$(git merge-base HEAD "$BASE")"...HEAD; git status --porcelain | awk '{print $NF}'; } \
| grep -oE '^[a-z]+/skills/[a-z0-9-]+' | sort -uBASEBASE=epic-6<group>/skills/<name>/SKILL.mdchangedBASE=${BASE:-$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/HEAD)}
{ git diff --name-only "$(git merge-base HEAD "$BASE")"...HEAD; git status --porcelain | awk '{print $NF}'; } \
| grep -oE '^[a-z]+/skills/[a-z0-9-]+' | sort -uBASEepic-6BASE=epic-6<group>/skills/<name>/SKILL.mdbash .github/scripts/validate-skills.sh
bash scripts/validate-codex.sh::error::jqscripts/skills-packaging.sh sync-repobash .github/scripts/validate-skills.sh
bash scripts/validate-codex.sh::error::jqscripts/skills-packaging.sh sync-reponode <skill-dir>/scripts/skill-metrics.mjs --only <skill-path> [<skill-path> ...]--onlynode <skill-dir>/scripts/skill-metrics.mjs --only <skill-path> [<skill-path> ...]--onlyreferences/subagent-prompt.md{{SKILL_PATH}}{{REPO_ROOT}}{{METRICS}}references/evaluation-rubric.mdreferences/subagent-prompt.md{{SKILL_PATH}}{{REPO_ROOT}}{{METRICS}}references/evaluation-rubric.md| Verdict | Bar |
|---|---|
| PASS | No structural errors, and every category ≥ 4 |
| PASS WITH NOTES | No structural errors, and the lowest category is 3 |
| FAIL | Any structural error, or any category ≤ 2 |
| 结论 | 标准 |
|---|---|
| PASS | 无结构错误,且所有维度得分≥4 |
| PASS WITH NOTES | 无结构错误,最低维度得分为3 |
| FAIL | 存在任何结构错误,或任何维度得分≤2 |
changedundefinedchangedundefined| Skill | Discovery | Instructions | Context | Portability | Safety | Overall | Min | Verdict |
|---|---|---|---|---|---|---|---|---|
| path | X | X | X | X | X | X.X | X | PASS |
Then, when they apply:
```markdown| Skill | 发现能力 | 指令质量 | 内容效率 | 可移植性 | 安全性 | 总分 | 最低分 | 结论 |
|---|---|---|---|---|---|---|---|---|
| 路径 | X | X | X | X | X | X.X | X | PASS |
然后添加适用的内容:
```markdown::error::::error::
Include a full breakdown for every named skill in single-skill mode, and in the other
modes for any skill that is not a clean PASS:
```markdown
单Skill模式下需包含每个指定Skill的完整细分内容;其他模式下需包含所有非完全PASS的Skill的完整细分:
```markdown| Category | Score | Evidence |
|---|---|---|
| Discovery | X | ... |
| Instruction Quality | X | ... |
| Context Efficiency | X | ... |
| Portability & Integration | X | ... |
| Safety & Robustness | X | ... |
undefined| 维度 | 得分 | 证据 |
|---|---|---|
| 发现能力 | X | ... |
| 指令质量 | X | ... |
| 内容效率 | X | ... |
| 可移植性与集成 | X | ... |
| 安全性与鲁棒性 | X | ... |
undefinedSKILL.mdBODY_LINE_BUDGETS.github/scripts/validate-skills.shassets/scripts/codex/catalog.jsonscripts/skills-packaging.sh sync-repocompatibilitySKILL.md.github/scripts/validate-skills.shBODY_LINE_BUDGETSassets/scripts/codex/catalog.jsonscripts/skills-packaging.sh sync-repocompatibility