创建 · 评测 · 优化 · 自进化 / 官方方法 + 真实案例

Skill 工程化:从创建、评测、优化到自进化

Skill 示例:官方 skill-creator 的结构

以 Anthropic 官方仓库里的 skills/skill-creator 为例。这里不自造示例,只看它如何把 SKILL.md、评测、脚本、审查页面和子代理拆开。

官方结构不是“一个 SKILL.md 写到底”,而是:SKILL.md 负责主流程,其他目录负责评测、聚合、审查、打包和专门分析。

官方目录结构

anthropics/skills · skills/skill-creator
skill-creator/
├── SKILL.md
├── LICENSE.txt
├── agents/
│   ├── analyzer.md
│   ├── comparator.md
│   └── grader.md
├── assets/
│   └── eval_review.html
├── eval-viewer/
│   ├── generate_review.py
│   └── viewer.html
├── references/
│   └── schemas.md
└── scripts/
    ├── __init__.py
    ├── aggregate_benchmark.py
    ├── generate_report.py
    ├── improve_description.py
    ├── package_skill.py
    ├── quick_validate.py
    ├── run_eval.py
    ├── run_loop.py
    └── utils.py

SKILL.md 的官方核心标题节选

官方 skill-creator / 保留原始标题
---
name: skill-creator
description: Create new skills, modify and improve existing skills,
  and measure skill performance. Use when users want to create,
  edit, evaluate, benchmark, or optimize a skill.
---

# Skill Creator

## Communicating with the user
## Creating a skill
### Capture Intent
### Interview and Research
### Write the SKILL.md
### Skill Writing Guide
### Test Cases
## Running and evaluating test cases
## Improving the skill
## Advanced: Blind comparison
## Description Optimization
### Package and Present
## Claude.ai-specific instructions
## Cowork-Specific Instructions
## Reference files
Anthropic 官方 skill-creator · 核对日期 2026-07-13 · 标题与目录按当前 main 整理,description 为节选。

结构分工

目录 / 文件在闭环中的职责
SKILL.md定义触发描述和主工作流;创建、评测、改进都从这里进入。
agents/分别负责评分、盲测比较和失败模式分析。
assets/ + eval-viewer/把触发评测和输出结果交给人审查。
references/schemas.md固定 eval、grading、benchmark 等数据结构。
scripts/验证、运行、聚合、报告、触发描述优化和打包。