一键导入
skill-schema-v2
Load when creating, auditing, refactoring, or repairing an Agent Skill for reuse, governance, and runtime efficiency.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Load when creating, auditing, refactoring, or repairing an Agent Skill for reuse, governance, and runtime efficiency.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | skill-schema-v2 |
| description | Load when creating, auditing, refactoring, or repairing an Agent Skill for reuse, governance, and runtime efficiency. |
| version | 2.0.0 |
| last_updated | 2026-06-02 |
| depends | [] |
| metadata | {"author":"yinyo","category":"skill-engineering","package":"skill-schema-v2.skill"} |
This is the compatibility entrypoint for the v2 skill schema. The installable v2 package is in skill-schema-v2.skill/.
Use it when a user is designing, auditing, refactoring, or repairing an Agent Skill.
A skill has three surfaces:
Routing Surface: name + description + frontmatter
Contract Surface: goal + inputs + permissions + evidence + output + verification + handoff
Runtime Boundary Surface: docs + examples + scripts + operators + fallback paths
The three surfaces must be aligned. If the description routes one task, the contract must govern that task, and runtime resources must support that task without forcing irrelevant context into the model.
v2 adds three 2026 findings:
When auditing, score out of 100:
| Area | Points |
|---|---|
| Routing | 15 |
| Contract | 20 |
| Runtime Boundary | 15 |
| Reusability | 15 |
| Safety | 15 |
| Signal Density | 10 |
| Versioning | 5 |
| Self-Consistency | 5 |
Load only as needed:
skill-schema-v2.skill/SKILL.md for the complete v2 contract.skill-schema-v2.skill/docs/v2-design-spec.md for design rationale.skill-schema-v2.skill/docs/audit-rubric.md for scoring details.skill-schema-v2.skill/docs/repair-playbook.md for repair patterns.docs/paper-digests.md for paper evidence.