ワンクリックで
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","sources":["Contractual Skills, arXiv:2605.22634","What Keeps Agent Skills from Being Reusable?, Agent Skills 2026","SkillSmith, arXiv:2605.15215"]} |
Use this skill to design, audit, or repair Agent Skills as reusable capability packages. v2 is based on three current findings:
Every serious skill has three surfaces:
Routing Surface
name + description + frontmatter
Decides whether the skill is loaded.
Contract Surface
goal + inputs + permissions + evidence + output + verification + handoff
Decides what correct behavior means.
Runtime Boundary Surface
docs + examples + scripts + operators + fallback paths
Decides what gets loaded or executed after selection.
These surfaces must not contradict each other. If the description routes one task, the contract must govern that task, and runtime resources must support that task.
Load when... or an equivalent trigger phrase, describe when to load the skill, and stay short enough for startup routing.docs/, examples/, templates/, or scripts/.For low-risk skills, use the compact contract:
Goal: what the skill helps finish.
Load when: exact trigger conditions.
Inputs: required and optional user/context inputs.
Workflow: only the steps that change behavior.
Output: expected final artifact or response.
Verification: how to know the skill worked.
Boundaries: what the skill must not do.
Runtime resources: which docs/examples/scripts to load only when needed.
Use the full contract for enterprise, tool-calling, high-risk, multi-agent, publication, finance, legal, privacy, deployment, or external-send skills:
Goal
Audience
Inputs
Context sources
Workflow
Permissions
Human gates
Constraints
Evidence policy
Output contract
Quality bar
Verification
Handoff / pause rules
Runtime boundary
Fallback path
Do not use the full template for one-off, low-risk, no-tool skills. That creates body bloat.
Score out of 100:
| Area | Points | Checks |
|---|---|---|
| Routing | 15 | name, description, trigger clarity, no body-only routing |
| Contract | 20 | goal, inputs, output, verification, boundaries |
| Runtime Boundary | 15 | progressive docs/examples/scripts, minimal context, fallback |
| Reusability | 15 | portable paths, organized resources, no stale boilerplate |
| Safety | 15 | permissions, human gates, prohibited content, persona/scope |
| Signal Density | 10 | no model-known filler, no process theater |
| Versioning | 5 | SemVer, last_updated, changelog or release note |
| Self-Consistency | 5 | no conflicts across description/body/docs/scripts |
Critical failures cap the score at 60:
Use risk-based repair:
Low risk: frontmatter normalization, file moves, version sync, broken links
-> repair directly, then report.
Medium risk: description rewrite, contract-field rewrite, runtime boundary rewrite
-> show before/after and rationale.
High risk: deleting content, changing safety gates, changing permissions, changing external-send behavior
-> list exact changes and require confirmation.
After repair, run a second audit and report:
Before score:
After score:
Changed:
Remaining risks:
Verification evidence:
When auditing a skill, respond with:
## Audit: <skill-name>
Score: <n>/100
Findings
- [FAIL/WARN/PASS] <area>: <concrete issue>
Required repairs
- <highest impact first>
Self-consistency check
- Routing vs contract:
- Contract vs runtime resources:
- Safety language vs enforcement:
Suggested next version
- version:
- changed files:
- verification:
Load only what is needed:
docs/v2-design-spec.md for full design rationale and paper synthesis.docs/audit-rubric.md for detailed scoring checks.docs/repair-playbook.md for repair patterns.examples/v2-audit-report.md for report shape.